URL: <http://gna.org/bugs/?11583>
Summary: SEGFAULT in fpath.c in campaign mission beta 6 ("Destroy Reactor") Project: Warzone Resurrection Project Submitted by: jandd Submitted on: Sonntag 27.04.2008 um 17:20 Category: Campaign Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: svn/trunk Operating System: GNU/Linux Planned Release: None _______________________________________________________ Details: System: Debian GNU/Linux Lenny, AMD64 Mission: beta 6 Symptoms: the game crashes suddenly (my units just climbed the hill with the enemy base south of the map) I attach a savegame from the beginning of the mission. GDB Session: $ LD_LIBRARY_PATH=/usr/lib/debug:$LD_LIBRARY_PATH LC_ALL=C LANG=C gdb ~/games/bin/warzone2100 GNU gdb 6.7.1-debian Copyright (C) 2007 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 "x86_64-linux-gnu"... Using host libthread_db library "/usr/lib/debug/libthread_db.so.1". (gdb) run Starting program: /home/jan/games/bin/warzone2100 [Thread debugging using libthread_db enabled] [New Thread 0x2ab0fb1ecca0 (LWP 7774)] [New Thread 0x40804950 (LWP 7779)] [New Thread 0x410aa950 (LWP 7780)] warning : [openLoadFile] openLoadFile: optional file sequenceaudio/BrfCom4s.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/BrfCom4s.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/BrfCom4s.rpl warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2_1.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2_1.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2_1.rpl warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2_1.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2_1.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2_1.rpl warning : [scrValDefSave] scrValDefSave: couldn't get sound track name last message repeated 2 times last message repeated 2 times (total 4 repeats) last message repeated 3 times (total 7 repeats) error : [audio_GetTrackID] audio_GetTrackID: fileName is empty error : [sound_SetTrackVals] sound_SetTrackVals: fileName is empty error : [scrValDefLoad] Sound ID not available not found error : [audio_GetTrackID] audio_GetTrackID: fileName is empty error : [sound_SetTrackVals] sound_SetTrackVals: fileName is empty error : [scrValDefLoad] Sound ID not available not found error : [audio_GetTrackID] audio_GetTrackID: fileName is empty error : [sound_SetTrackVals] sound_SetTrackVals: fileName is empty error : [scrValDefLoad] Sound ID not available not found error : [audio_GetTrackID] audio_GetTrackID: fileName is empty error : [sound_SetTrackVals] sound_SetTrackVals: fileName is empty error : [scrValDefLoad] Sound ID not available not found error : [intRunWidgets] Returned savegame/20080427-02.gam warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2bpl.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2bpl.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2bpl.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2bcol.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2bcol.rpl warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2b.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2b.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2b.rpl error : [intRunWidgets] Returned savegame/20080427-03.gam warning : [openLoadFile] openLoadFile: optional file sequenceaudio/BrfCom.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam22PL1.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/Cam2_2n.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/BrfCom.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/BrfCom.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam22PL1.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam22PL1.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/Cam2_2n.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/Cam2_2n.rpl warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam22PL2.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/Cam22fmv.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam22PL3.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam22PL2.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam22PL2.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/Cam22fmv.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/Cam22fmv.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2_2n2.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2_2n2.rpl warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/Cam2_2.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/Cam2_2.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/Cam2_2.rpl warning : [scrValDefSave] scrValDefSave: couldn't get sound track name last message repeated 2 times last message repeated 1 times (total 3 repeats) warning : [openLoadFile] openLoadFile: optional file sequenceaudio/end.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/end.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/end.rpl error : [audio_GetTrackID] audio_GetTrackID: fileName is empty error : [sound_SetTrackVals] sound_SetTrackVals: fileName is empty error : [scrValDefLoad] Sound ID not available not found error : [audio_GetTrackID] audio_GetTrackID: fileName is empty error : [sound_SetTrackVals] sound_SetTrackVals: fileName is empty error : [scrValDefLoad] Sound ID not available not found error : [intRunWidgets] Returned savegame/20080427-05.gam warning : [openLoadFile] openLoadFile: optional file sequenceaudio/BrfCom.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2capl.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2ca.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/BrfCom.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/BrfCom.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2capl.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2capl.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2ca.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2ca.rpl warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2cbpl.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2cb.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2cbpl.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2cbpl.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2cb.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2cb.rpl warning : [openLoadFile] openLoadFile: optional file sequenceaudio/end.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/end.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/end.rpl error : [intRunWidgets] Returned savegame/20080427-05.gam warning : [openLoadFile] openLoadFile: optional file sequenceaudio/BrfCom.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2capl.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2ca.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/BrfCom.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/BrfCom.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2capl.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2capl.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2ca.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2ca.rpl warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2cbpl.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2cb.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2cbpl.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2cbpl.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2cb.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2cb.rpl warning : [scrValDefSave] scrValDefSave: couldn't get sound track name last message repeated 2 times last message repeated 2 times (total 4 repeats) last message repeated 4 times (total 8 repeats) last message repeated 3 times (total 11 repeats) error : [intRunWidgets] Returned savegame/20080427-07.gam warning : [openLoadFile] openLoadFile: optional file sequenceaudio/BrfCom.txt could not be opened: File not found warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2_5PL.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/BrfCom.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/BrfCom.rpl warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2_5PL.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2_5PL.rpl warning : [openLoadFile] openLoadFile: optional file sequenceaudio/cam2/cam2_5.txt could not be opened: File not found warning : [seq_Play] Sequence display is currently disabled (sequences/cam2/cam2_5.rpl) warning : [seq_StartFullScreenVideo] seq_StartFullScreenVideo: unable to initialise sequence sequences/cam2/cam2_5.rpl warning : [scrValDefSave] scrValDefSave: couldn't get sound track name last message repeated 2 times last message repeated 2 times (total 4 repeats) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2ab0fb1ecca0 (LWP 7774)] 0x00000000004566a4 in fpathLiftBlockingTile (x=21, y=44) at fpath.c:256 256 return TILE_HAS_TALLSTRUCTURE(psTile); (gdb) bt full #0 0x00000000004566a4 in fpathLiftBlockingTile (x=21, y=44) at fpath.c:256 psTile = (MAPTILE *) 0x62820e0 iLiftHeight = 0 iBlockingHeight = 0 __FUNCTION__ = "fpathLiftBlockingTile" __PRETTY_FUNCTION__ = "fpathLiftBlockingTile" #1 0x000000000049523c in moveGetObstacleVector (psDroid=0x643abf0, pX=0x7fffb4fb3090, pY=0x7fffb4fb3094) at move.c:1643 i = 14 xdiff = -2 ydiff = 0 absx = 1150845603 absy = 4807589 dist = 0 psObj = (BASE_OBJECT *) 0x616f4c0 numObst = 0 distTot = 0 dirX = 0 dirY = 0 omag = 0 ox = -0.572912097 oy = 0.819616795 ratio = -699 ---Type <return> to continue, or q <return> to quit--- avoidX = 1000 avoidY = -0.572912097 mapX = 23 mapY = 44 tx = 1171390464 ty = -1003569152 td = 1148846080 psPropStats = (PROPULSION_STATS *) 0x49a98f0 __FUNCTION__ = "moveGetObstacleVector" __PRETTY_FUNCTION__ = "moveGetObstacleVector" #2 0x0000000000495914 in moveGetDirection (psDroid=0x643abf0) at move.c:1773 src = {x = 3067, y = 5720} dest = {x = -0.572912097, y = 0.819616795} target = {x = 2368, y = 6720} delta = {x = -699, y = 1000} magnitude = 1488601 __FUNCTION__ = "moveGetDirection" __PRETTY_FUNCTION__ = "moveGetDirection" #3 0x000000000049ac01 in moveUpdateDroid (psDroid=0x643abf0) at move.c:3253 tangle = 0 fx = 0 fy = 0 oldx = 0 ---Type <return> to continue, or q <return> to quit--- oldy = 274877907 iZ = 0 oldStatus = 4 '\004' moveSpeed = 0 moveDir = 325 psPropStats = (PROPULSION_STATS *) 0x49a98f0 pos = {x = 77240560, y = 0, z = 4263909} bStarted = 0 bStopped = 0 target = {x = -4.67884092e-07, y = 0} __PRETTY_FUNCTION__ = "moveUpdateDroid" __FUNCTION__ = "moveUpdateDroid" #4 0x000000000043cc6d in droidUpdate (psDroid=0x643abf0) at droid.c:866 dv = {x = 0, y = 0, z = 4} percentDamage = 3036361216 emissionInterval = 32767 psBeingTargetted = (BASE_OBJECT *) 0x0 damageToDo = 32767 __PRETTY_FUNCTION__ = "droidUpdate" #5 0x0000000000484407 in gameLoop () at loop.c:295 psCurr = (DROID *) 0x643abf0 psNext = (DROID *) 0x6102f30 psCBuilding = (STRUCTURE *) 0x0 ---Type <return> to continue, or q <return> to quit--- psNBuilding = (STRUCTURE *) 0x0 psCFeat = (FEATURE *) 0x7fffb4fb32c0 psNFeat = (FEATURE *) 0x0 i = 2 widgval = 3036361488 quitting = 0 intRetVal = INT_NONE clearMode = 4 __FUNCTION__ = "gameLoop" __PRETTY_FUNCTION__ = "gameLoop" #6 0x00000000004865ac in runGameLoop () at main.c:643 __FUNCTION__ = "runGameLoop" #7 0x0000000000486969 in mainLoop () at main.c:817 event = {type = 4 '\004', active = {type = 4 '\004', gain = 0 '\0', state = 0 '\0'}, key = {type = 4 '\004', which = 0 '\0', state = 0 '\0', keysym = {scancode = 110 'n', sym = 4294901760, mod = KMOD_NONE, unicode = 0}}, motion = {type = 4 '\004', which = 0 '\0', state = 0 '\0', x = 878, y = 591, xrel = 0, yrel = -1}, button = { type = 4 '\004', which = 0 '\0', button = 0 '\0', state = 0 '\0', x = 878, y = 591}, jaxis = {type = 4 '\004', which = 0 '\0', axis = 0 '\0', value = 878}, jball = {type = 4 '\004', which = 0 '\0', ball = 0 '\0', xrel = 878, yrel = 591}, jhat = {type = 4 '\004', which = 0 '\0', hat = 0 '\0', value = 0 '\0'}, jbutton = {type = 4 '\004', which = 0 '\0', ---Type <return> to continue, or q <return> to quit--- button = 0 '\0', state = 0 '\0'}, resize = {type = 4 '\004', w = 38732654, h = -65536}, expose = {type = 4 '\004'}, quit = {type = 4 '\004'}, user = { type = 4 '\004', code = 38732654, data1 = 0xffff0000, data2 = 0x0}, syswm = {type = 4 '\004', msg = 0xffff0000}} #8 0x0000000000486d10 in main (argc=1, argv=0x7fffb4fb3438) at main.c:963 __FUNCTION__ = "main" (gdb) cont Continuing. ptrace: Operation not permitted. /home/jan/.warzone2100-2.1/7774: No such file or directory. No stack. Saved dump file to '/tmp/warzone2100.gdmp' Program received signal SIGSEGV, Segmentation fault. 0x00000000004566a4 in fpathLiftBlockingTile (x=21, y=44) at fpath.c:256 256 return TILE_HAS_TALLSTRUCTURE(psTile); (gdb) cont Continuing. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sonntag 27.04.2008 um 17:20 Name: 20080427-08.zip Size: 330kB By: jandd savegame at beta6 mission start <http://gna.org/bugs/download.php?file_id=4265> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?11583> _______________________________________________ Nachricht geschickt von/durch Gna! http://gna.org/ _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev