[Gtkradiant] [Bug 115] radiant dies when returning from sleep

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Mon, 16 Jul 2001 04:28:18 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=115

ttimo@idsoftware.com changed:

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ttimo@idsoftware.com  2001-07-16 04:28 -------
Regular view:
Program received signal SIGSEGV, Segmentation fault.
0x80543eb in gluBuild2DMipmaps2 (target=3553, components=4, width=64, height=64,
format=6408, type=5121, data=0x856c718) at Debug/radiant/qgl.c:1140

Floating and 4-views are working fine
hook into the gluBuild2DMipmaps2 call on wake to spy?
it's on the first one...
WARNING: textures/common/trigger.tga has empty alpha channel
LOADED: textures/common/trigger.tga
Breakpoint 2, gluBuild2DMipmaps2 (target=3553, components=4, width=64,
height=64, format=6408, type=5121, data=0x8459720) at Debug/radiant/qgl.c:1089
on wake up, notex.tga goes through just fine

might want to check the call graphs..
it loads trigger first, whereas with other views it would reload notex first??

no good:
Waking up
WARNING: textures/common/trigger.tga has empty alpha channel
LOADED: textures/common/trigger.tga

good:
Waking up
Creating contexts...Done.
Making current on camera...Done.
Reloading shaders...FIXME: bug 104655 workaround
Parsing shaderfile scripts/base_button.shader
Parsing shaderfile scripts/base_door.shader
Parsing shaderfile scripts/base_floor.shader

rotfl!

was a crashy
    while (gtk_events_pending ())
      gtk_main_iteration ();
in the wakeup code