Bug 29297

Summary: [r300g] lightspark crash
Product: Mesa Reporter: David Heidelberg (okias) <david>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: gdb_output.txt
dmesg_rs690.txt
gdb_output2.txt

Description David Heidelberg (okias) 2010-07-29 08:02:20 UTC
Created attachment 37438 [details]
gdb_output.txt

Lightspark use for everything OpenGL rendering, so it crash almost every time.

I will attach firefox gdb. Mesa with debug, lightspark with debug.
Comment 1 David Heidelberg (okias) 2010-07-29 08:04:47 UTC
Created attachment 37439 [details]
dmesg_rs690.txt

HW: Radeon X1250, RS690.
Comment 2 Marek Olšák 2010-07-29 09:09:22 UTC
Could you please compile r300g with --enable-debug? This should give us a more useful backtrace.
Comment 3 David Heidelberg (okias) 2010-07-29 09:49:24 UTC
Created attachment 37440 [details]
gdb_output2.txt

Previous was debug symbols in separate file, so it was someway unable to load it. Now it's compiled directly into libs.
Comment 4 Marek Olšák 2010-07-29 12:02:29 UTC
I've committed some fixes, could you retest with current mesa git?
Comment 5 David Heidelberg (okias) 2010-07-29 12:21:55 UTC
problem disappered, but appeared another:

INFO: Creating input thread

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffce9fa710 (LWP 11627)]
__glXInitialize (dpy=0x7fffd9a28000) at glxext.c:802
802     glxext.c: No such file or directory.
        in glxext.c
(gdb) bt full
#0  __glXInitialize (dpy=0x7fffd9a28000) at glxext.c:802
        dpyPriv = 0x40
        glx_direct = <value optimized out>
        i = <value optimized out>
#1  0x00007fffd80e8f29 in glXQueryVersion (dpy=0x7fffd9a28000, major=0x7fffce9f9e6c, minor=0x7fffce9f9e68) at glxcmds.c:443
        priv = 0x7fffce9f9e68
#2  0x00007fffd8eb25e7 in lightspark::RenderThread::gtkplug_worker (th=0x7fffcd4bec00) at /var/tmp/portage/www-plugins/lightspark-9999/work/lightspark-9999/swf.cpp:1356
        a = <value optimized out>
        fb = 0x0
        i = <value optimized out>
        profile = 0x0
        size = {Xmin = 0, Xmax = 9600, Ymin = 0, Ymax = 7740}
        window_height = 385
        b = 985000000
        glxWin = 0
        glx_present = <value optimized out>
        attrib = {0, 0, 0, 0, 0, 0, -138635232, 32767, 0, 1073741824}
        p = 0x7fffcd217638
        window_width = 640
        d = <value optimized out>
        font = <incomplete type>
#3  0x00007ffff7bc98e4 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007ffff6f8e27d in clone () from /lib/libc.so.6
No symbol table info available.
Comment 6 Marek Olšák 2010-07-29 13:26:24 UTC
The new issue is not an r300g bug. There is a new GLX fix committed 21 minutes ago from Kristian. Could you please retest and if it doesn't help, file a new bug against GLX or Mesa core and copy the backtrace there?
Comment 7 David Heidelberg (okias) 2010-07-29 14:26:28 UTC
fixed, thanks

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.