#1398: Assert failure on autogame end
----------------------+-----------------------------------------------------
 Reporter:  Per       |              Owner:                  
     Type:  bug       |             Status:  new             
 Priority:  major     |          Milestone:  unspecified     
Component:  other     |            Version:  svn/2.3         
 Keywords:  autogame  |   Operating_system:  All/Non-Specific
Blockedby:            |           Blocking:                  
----------------------+-----------------------------------------------------
 I left an autogame on during the night, and in the morning the following
 crash greeted me:

 {{{
 info    |02:58:15: [seq_Play] unable to open 'sequences/end.ogg' for
 playback
 error   |02:58:15: [widgSetButtonState] Couldn't find button or clickable
 widget by ID
 error   |02:58:15: [widgSetButtonState] Assert in Warzone: widget.c:1095
 (!"Couldn't find widget by ID"), last script event: 'N/A'
 warzone2100: widget.c:1095: widgSetButtonState: Assertion `!"Couldn't find
 widget by ID"' failed.
 ''''''''
 Program received signal SIGABRT, Aborted.
 0x00000030fb832f05 in raise (sig=<value optimized out>) at
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 64        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
 Missing separate debuginfos, use: debuginfo-install alsa-
 lib-1.0.21-2.fc10.x86_64 expat-2.0.1-8.fc10.x86_64
 freetype-2.3.7-3.fc10.x86_64 libpng-1.2.37-1.fc10.x86_64
 libvorbis-1.2.0-7.fc10.x86_64 libxcb-1.1.91-8.fc10.x86_64
 (gdb) bt
 #0  0x00000030fb832f05 in raise (sig=<value optimized out>) at
 ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 #1  0x00000030fb834a73 in abort () at abort.c:88
 #2  0x00000030fb82bef9 in __assert_fail (assertion=0x6b6de7 "!\"Couldn't
 find widget by ID\"", file=0x6b6504 "widget.c", line=1095,
 function=0x6b7100 "widgSetButtonState") at assert.c:78
 #3  0x00000000005dacc5 in widgSetButtonState (psScreen=0x1c42120, id=9,
 state=0) at widget.c:1095
 #4  0x00000000004f0c6a in intResetScreen (NoAnim=0) at hci.c:1145
 #5  0x00000000005319cd in missionResetInGameState () at mission.c:2695
 #6  0x00000000005319fa in _intAddMissionResult (result=0, bPlaySuccess=1)
 at mission.c:2708
 #7  0x0000000000531f27 in intAddMissionResult (result=0, bPlaySuccess=1)
 at mission.c:2869
 #8  0x00000000005ce23c in displayGameOver (bDidit=0) at wrappers.c:424
 #9  0x000000000058a040 in scrGameOverMessage () at scriptfuncs.c:3238
 #10 0x00000000005ed2c5 in interpRunScript (psContext=0x2922ca0,
 runType=IRT_EVENT, index=2, offset=0) at interpreter.c:768
 #11 0x00000000005e9955 in eventFireTrigger (psTrigger=0x28dc410) at
 event.c:1123
 #12 0x00000000005e9aae in eventProcessTriggers (currTime=60600) at
 event.c:1163
 #13 0x000000000051c658 in gameLoop () at loop.c:191
 }}}

 I could not reproduce it manually.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/1398>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to