* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
@ 2010-06-20 22:22 ` bugzilla-daemon
2010-06-21 7:03 ` bugzilla-daemon
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-20 22:22 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
Chris Rankin <rankincj@googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Platform|Other |x86 (IA32)
OS/Version|All |Linux (All)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
2010-06-20 22:22 ` [Bug 28630] " bugzilla-daemon
@ 2010-06-21 7:03 ` bugzilla-daemon
2010-06-28 20:15 ` bugzilla-daemon
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-21 7:03 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #1 from Pavel Ondračka <drakkk@centrum.cz> 2010-06-21 00:03:25 PDT ---
I'm not a developer, but you may try recompiling mesa and wine with CFLAGS="-g
-gdwarf-2", you will get a better backtrace.
--
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
2010-06-20 22:22 ` [Bug 28630] " bugzilla-daemon
2010-06-21 7:03 ` bugzilla-daemon
@ 2010-06-28 20:15 ` bugzilla-daemon
2010-06-28 20:49 ` bugzilla-daemon
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-28 20:15 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #2 from Chris Rankin <rankincj@googlemail.com> 2010-06-28 13:15:33 PDT ---
Created an attachment (id=36584)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36584)
Recent backtrace using mesa git with -gdwarf-2
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
` (2 preceding siblings ...)
2010-06-28 20:15 ` bugzilla-daemon
@ 2010-06-28 20:49 ` bugzilla-daemon
2010-06-29 0:02 ` bugzilla-daemon
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-28 20:49 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #3 from Chris Rankin <rankincj@googlemail.com> 2010-06-28 13:49:19 PDT ---
In src/gallium/drivers/r300/r300_context.c
static void r300_flush_cb(void *data)
{
struct r300_context* const cs_context_copy = data;
cs_context_copy->context.flush(&cs_context_copy->context, 0, NULL);
}
The crash happens when the context.flush function pointer does not contain a
valid value.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
` (3 preceding siblings ...)
2010-06-28 20:49 ` bugzilla-daemon
@ 2010-06-29 0:02 ` bugzilla-daemon
2010-06-29 18:38 ` bugzilla-daemon
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-29 0:02 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #4 from Marek Olšák <maraeo@gmail.com> 2010-06-28 17:02:00 PDT ---
I believe the "data" pointer is not valid.
I have committed some fixes, can you please test latest mesa git?
--
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
` (4 preceding siblings ...)
2010-06-29 0:02 ` bugzilla-daemon
@ 2010-06-29 18:38 ` bugzilla-daemon
2010-06-29 19:05 ` bugzilla-daemon
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-29 18:38 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #5 from Chris Rankin <rankincj@googlemail.com> 2010-06-29 11:38:15 PDT ---
(In reply to comment #4)
> I have committed some fixes, can you please test latest mesa git?
Backtrace:
=>0 0x00000000 (0x0039e9d0)
1 0x7dd5b61d radeon_drm_bufmgr_set_tiling+0xbc() in r300_dri.so (0x0039e9d0)
2 0x7dd6c1f2 r300_flush_cb+0x21(data=0x7d0fcce8)
[/home/chris/Programs/mesa/src/gallium/drivers/r300/r300_context.c:128] in
r300_dri.so (0x0039ea00)
3 0x7dd5b61d radeon_drm_bufmgr_set_tiling+0xbc() in r300_dri.so (0x0039ea00)
4 0x7d0fcce8 (0x0039ea20)
5 0x7dd7652e r300_set_framebuffer_state+0x16d(pipe=0x7bacf7f8, state=(nil))
[/home/chris/Programs/mesa/src/gallium/drivers/r300/r300_state.c:625] in
r300_dri.so (0x0039ea20)
...
Nope, exactly the same crash as before.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
` (5 preceding siblings ...)
2010-06-29 18:38 ` bugzilla-daemon
@ 2010-06-29 19:05 ` bugzilla-daemon
2010-06-29 20:37 ` bugzilla-daemon
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-29 19:05 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #6 from Chris Rankin <rankincj@googlemail.com> 2010-06-29 12:05:36 PDT ---
(In reply to comment #4)
> I believe the "data" pointer is not valid.
Or possibly the context.flush field has not been assigned? I am having curious
success with this simple patch:
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -125,7 +125,9 @@ static void r300_flush_cb(void *data)
{
struct r300_context* const cs_context_copy = data;
- cs_context_copy->context.flush(&cs_context_copy->context, 0, NULL);
+ if (cs_context_copy->context.flush) {
+ cs_context_copy->context.flush(&cs_context_copy->context, 0, NULL);
+ }
}
#define R300_INIT_ATOM(atomname, atomsize) \
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
` (6 preceding siblings ...)
2010-06-29 19:05 ` bugzilla-daemon
@ 2010-06-29 20:37 ` bugzilla-daemon
2010-06-29 21:14 ` bugzilla-daemon
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-29 20:37 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #7 from Chris Rankin <rankincj@googlemail.com> 2010-06-29 13:37:28 PDT ---
(In reply to comment #4)
> I believe the "data" pointer is not valid.
That data pointer looks like it *used* to belong to a r300_context object that
has since been destroyed. Basically, r300_create_context() stores a reference
to the newly-created r300_context object inside the radeon_libdrm_winsys
struct:
rws->set_flush_cb(r300->rws, r300_flush_cb, r300);
Warcraft then destroys the context again, but this reference inside the winsys
lingers somehow. And then Azeroth explodes when radeon_drm_bufmgr_set_tiling()
tries to flush the buffer data.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
` (7 preceding siblings ...)
2010-06-29 20:37 ` bugzilla-daemon
@ 2010-06-29 21:14 ` bugzilla-daemon
2010-06-29 22:27 ` bugzilla-daemon
2010-06-30 22:23 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-29 21:14 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #8 from Marek Olšák <maraeo@gmail.com> 2010-06-29 14:14:20 PDT ---
I think you are right. That seems to be the only logical explanation. The fix
is not trivial, I'll send you a patch when I have one.
--
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
` (8 preceding siblings ...)
2010-06-29 21:14 ` bugzilla-daemon
@ 2010-06-29 22:27 ` bugzilla-daemon
2010-06-30 22:23 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-29 22:27 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
--- Comment #9 from Marek Olšák <maraeo@gmail.com> 2010-06-29 15:27:09 PDT ---
OK so I've committed some fixes because they don't break anything. Please let
me know if they help.
PS: There is a new bug in the GLSL compiler in master. I hope you won't hit
that.
--
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft
2010-06-20 22:21 [Bug 28630] New: [r300g] tiling / texture transfer crash in World of Warcraft bugzilla-daemon
` (9 preceding siblings ...)
2010-06-29 22:27 ` bugzilla-daemon
@ 2010-06-30 22:23 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2010-06-30 22:23 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=28630
Chris Rankin <rankincj@googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #10 from Chris Rankin <rankincj@googlemail.com> 2010-06-30 15:23:30 PDT ---
(In reply to comment #9)
> OK so I've committed some fixes because they don't break anything. Please let
> me know if they help.
Yes, that seems to have fixed it. Thanks.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 12+ messages in thread