Skip to contentSkip to conversation

New: [r300g] mempool makes ut2004 crash

Bug 29152 [email protected] 1 participant 7 messages Jul 19, 2010 – Jul 20, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=29152

Summary: [r300g] mempool makes ut2004 crash
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

It stops with

util/u_mempool.c:92:util_mempool_malloc_st: Assertion `block->magic == 0xcafe4321' failed.
debug_get_bool_option: GALLIUM_ABORT_ON_ASSERT = TRUE
Signal: SIGTRAP [trap]
Aborting.

upon loading a level.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 29152] [r300g] mempool makes ut2004 crash

https://bugs.freedesktop.org/show_bug.cgi?id=29152

--- Comment #1 from Marek Olšák <[email protected]> 2010-07-19 12:23:35 PDT --- I can't reproduce this with current mesa master (3b189d888a99336a2df037e2b595844d4b9e05b5). Could you test it again after git pull?

Do you have an x86_64 system?

Does it crash if you set the environment variable GALLIUM_ABORT_ON_ASSERT to 0?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 29152] [r300g] mempool makes ut2004 crash

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29152

--- Comment #2 from Álmos <[email protected]> 2010-07-19 12:59:04 PDT --- I tried with 3b189d888a99336a2df037e2b595844d4b9e05b5, and it asserts. If I start with GALLIUM_ABORT_ON_ASSERT=0, then lots of these

util/u_mempool.c:88:util_mempool_malloc_st: Assertion `block->magic == 0xcafe4321' failed.
debug_get_bool_option: GALLIUM_ABORT_ON_ASSERT = FALSE continuing...
util/u_mempool.c:100:util_mempool_free_st: Assertion `block->magic == 0xcafe4321' failed.
debug_get_bool_option: GALLIUM_ABORT_ON_ASSERT = FALSE continuing...

are printed, but it doesn't crash, and I didn't notice any visual corruption (other than the ones I already reported in #28993 and #28994). Maybe I'm not eagle-eyed enough...

It's an x86_32 system with kernel 2.6.33.1.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 29152] [r300g] mempool makes ut2004 crash

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29152

--- Comment #3 from Pavel Ondračka <[email protected]> 2010-07-19 13:15:19 PDT --- Created an attachment (id=37187)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37187)
backtrace

I have the same problem with Heroes of Newerth, it crash at start. It works OK with GALLIUM_ABORT_ON_ASSERT=0 set.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 29152] [r300g] mempool makes ut2004 crash

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29152

--- Comment #4 from Marek Olšák <[email protected]> 2010-07-19 14:28:11 PDT --- Created an attachment (id=37188)
View: https://bugs.freedesktop.org/attachment.cgi?id=37188
Review: https://bugs.freedesktop.org/review?bug=29152&attachment=37188

Possible fix

Could you try the attached patch?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 29152] [r300g] mempool makes ut2004 crash

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29152

Pavel Ondračka <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Pavel Ondračka <[email protected]> 2010-07-20 00:22:10 PDT --- HoN works fine with your patch(In reply to comment #4)

Quoted 1 line

Created an attachment (id=37188)

View: https://bugs.freedesktop.org/attachment.cgi?id=37188
Review: https://bugs.freedesktop.org/review?bug=29152&attachment=37188

Quoted 3 lines

Possible fix

Could you try the attached patch?

HoN works fine with your patch.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 29152] [r300g] mempool makes ut2004 crash

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29152

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Marek Olšák <[email protected]> 2010-07-20 01:27:50 PDT --- I've committed the patch, closing..

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel