[Bug 57977] New: Crash after multiple resolution change

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 7 00:44:58 PST 2012


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

          Priority: medium
            Bug ID: 57977
          Assignee: dri-devel at lists.freedesktop.org
           Summary: Crash after multiple resolution change
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: sidicas2 at gmail.com
          Hardware: x86 (IA32)
            Status: NEW
           Version: 8.0
         Component: Drivers/DRI/r300
           Product: Mesa

Hello,

Using Mesa 8.0.4 from Debian Wheezy / Testing.  Sometimes (maybe 1 in 5 times)
while changing resolutions, I get a crash in supertuxkart.

I filed a bug against supertuxkart and they think it is a bug in the graphics
driver.

Thanks for your time.

Here is the dbg output:

david at Miho:~$ gdb supertuxkart
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/games/supertuxkart...Reading symbols from
/usr/lib/debug/.build-id/5c/d0ba41e8c6154a7d063a3bd976c275ec6b596f.debug...done.
done.
(gdb) continue
The program is not being run.
(gdb) start
Temporary breakpoint 1 at 0x80e39b0: file
/tmp/buildd/supertuxkart-0.7.3/src/main.cpp, line 1099.
Starting program: /usr/games/supertuxkart 
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0xbffff864)
    at /tmp/buildd/supertuxkart-0.7.3/src/main.cpp:1099
1099    /tmp/buildd/supertuxkart-0.7.3/src/main.cpp: No such file or directory.
(gdb) continue
Continuing.
Irrlicht Engine version 1.8.0
Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.32-1 i686
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart'
[FileManager] Addons files will be stored in
'/home/david/.local/share/supertuxkart/addons'.
[IrrDriver] Trying OpenGL rendering.
[New Thread 0xb4bdcb70 (LWP 8063)]
[Thread 0xb4bdcb70 (LWP 8063) exited]
[New Thread 0xb4bdcb70 (LWP 8064)]
Error messages and other text output will be logged to
/home/david/.config/supertuxkart/stdout.log and
/home/david/.config/supertuxkart/stderr.log

Program received signal SIGSEGV, Segmentation fault.
0x00000101 in ?? ()
(gdb) bt full
#0  0x00000101 in ?? ()
No symbol table info available.
#1  0xb6022731 in unsafe_free (info=0xa8c6798) at ralloc.c:251
        temp = <optimized out>
#2  0xb602271b in unsafe_free (info=0xbaef128) at ralloc.c:246
        temp = <optimized out>
#3  0xb6028c60 in glsl_symbol_table::~glsl_symbol_table (this=0xa72ac98,
__in_chrg=<optimized out>)
    at glsl_symbol_table.cpp:63
No locals.
#4  0xb6027b0b in glsl_symbol_table::_glsl_symbol_table_destructor
(table=0xa72ac98)
    at glsl_symbol_table.h:50
No locals.
#5  0xb6022731 in unsafe_free (info=0xa72ac80) at ralloc.c:251
        temp = <optimized out>
#6  0xb602271b in unsafe_free (info=0xa72abe0) at ralloc.c:246
        temp = <optimized out>
#7  0xb6022aa3 in ralloc_free (ptr=ptr at entry=0xa72abf8) at ralloc.c:216
        info = <optimized out>
#8  0xb6092df3 in _mesa_delete_shader (ctx=0x8562200, sh=0xa72abf8) at
main/shaderobj.c:130
No locals.
#9  0xb6092e78 in _mesa_reference_shader (ctx=ctx at entry=0x8562200,
ptr=0x89bba40, sh=sh at entry=0x0)
    at main/shaderobj.c:78
        deleteFlag = 0 '\000'
        old = 0xa72abf8
---Type <return> to continue, or q <return> to quit---
#10 0xb609326d in _mesa_free_shader_program_data (ctx=ctx at entry=0x8562200, 
    shProg=shProg at entry=0x86627c0) at main/shaderobj.c:325
        i = <optimized out>
        sh = <optimized out>
#11 0xb609332a in _mesa_delete_shader_program (ctx=0x8562200, shProg=0x86627c0)
    at main/shaderobj.c:359
No locals.
#12 0xb6093028 in _mesa_reference_shader_program (ctx=ctx at entry=0x8562200,
ptr=ptr at entry=0xad70918, 
    shProg=0x0, shProg at entry=0xf) at main/shaderobj.c:220
        deleteFlag = 0 '\000'
        old = 0x86627c0
#13 0xb60f25f7 in clear_cache (ctx=ctx at entry=0x8562200,
cache=cache at entry=0xad037d8, 
    shader=shader at entry=1 '\001') at program/prog_cache.c:121
        c = 0xad70910
        next = 0x0
        i = <optimized out>
#14 0xb60f276c in _mesa_delete_shader_cache (ctx=ctx at entry=0x8562200,
cache=0xad037d8)
    at program/prog_cache.c:167
No locals.
#15 0xb60eba20 in _mesa_free_program_data (ctx=ctx at entry=0x8562200) at
program/program.c:143
No locals.
#16 0xb6035f09 in _mesa_free_context_data (ctx=ctx at entry=0x8562200) at
main/context.c:1118
No locals.
#17 0xb60dfd62 in st_destroy_context (st=st at entry=0x862d460) at
state_tracker/st_context.c:262
---Type <return> to continue, or q <return> to quit---
        pipe = 0x855f1f0
        cso = 0xa7dd8c0
        ctx = 0x8562200
        i = 3
#18 0xb602400b in st_context_destroy (stctxi=0x862d460) at
state_tracker/st_manager.c:596
        st = 0x862d460
#19 0xb5fd6e97 in dri_destroy_context (cPriv=0xbf96a00) at dri_context.c:174
        ctx = 0x8430000
#20 0xb5fd2c3a in driDestroyContext (pcp=0xbf96a00) at ../common/dri_util.c:277
No locals.
#21 0xb794844a in dri2_destroy_context (context=0xa556e10) at dri2_glx.c:132
        pcp = 0xa556e10
        psc = 0xbaddce0
#22 0xb791f3c8 in glXDestroyContext (ctx=0xa556e10, dpy=0xa492e38) at
glxcmds.c:424
No locals.
#23 glXDestroyContext (dpy=0xa492e38, ctx=0xa556e10) at glxcmds.c:405
        gc = 0xa556e10
#24 0xb7d4c21b in irr::CIrrDeviceLinux::~CIrrDeviceLinux
(this=this at entry=0x8430ae0, 
    __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
CIrrDeviceLinux.cpp:178
No locals.
#25 0xb7d4c4b2 in irr::CIrrDeviceLinux::~CIrrDeviceLinux (this=0x8430ae0,
__in_chrg=<optimized out>, 
    __vtt_parm=<optimized out>) at CIrrDeviceLinux.cpp:210
No locals.
#26 0x08135a7d in drop (this=<optimized out>) at
/usr/include/irrlicht/IReferenceCounted.h:124
---Type <return> to continue, or q <return> to quit---
No locals.
#27 drop (this=<optimized out>) at
/tmp/buildd/supertuxkart-0.7.3/src/graphics/irr_driver.cpp:121
No locals.
#28 IrrDriver::initDevice (this=0x83a88f0)
    at /tmp/buildd/supertuxkart-0.7.3/src/graphics/irr_driver.cpp:156
        num_drivers = <optimized out>
        material2D = <optimized out>
#29 0x08135fe7 in IrrDriver::applyResolutionSettings (this=0x83a88f0)
    at /tmp/buildd/supertuxkart-0.7.3/src/graphics/irr_driver.cpp:411
        materials_file = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p
= 0x0}}
#30 0x08137cd6 in IrrDriver::update (this=0x83a88f0, dt=0.0280000009)
    at /tmp/buildd/supertuxkart-0.7.3/src/graphics/irr_driver.cpp:1205
        world = 0x0
        inRace = <optimized out>
        back_buffer_clear = <optimized out>
#31 0x081da50c in MainLoop::run (this=0x899b9e8)
    at /tmp/buildd/supertuxkart-0.7.3/src/main_loop.cpp:156
        dt = 0.0280000009
        device = 0x101
#32 0x080e3fa5 in main (argc=1, argv=0xbffff864) at
/tmp/buildd/supertuxkart-0.7.3/src/main.cpp:1309
        materials_file = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> =
{<__gnu_cxx::new_allocator<char>> = {<No data fields>---Type <return> to
continue, or q <return> to quit---
}, <No data fields>}, _M_p = 0xa7da32c
"/usr/share/games/supertuxkart/data/models//materials.xml"}}
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121207/8df36bbb/attachment.html>


More information about the dri-devel mailing list