Issue589

Title crash killing singularity
Priority important Status resolved
Assigned To ahuillet Keywords
Linked issues Watchers

Submitted on 2012-04-27 21h35 by matthiaskrgr, last changed by matthiaskrgr.

Messages
Author: matthiaskrgr Date: 2012-04-27   21h35
I started the leveleditor (freedroidRPG -neq) , dropped tux in town, got the
toolkit mission, opened the doors in the dungeon using the terminal, walked to
the singularity, got me a nobodies edge using the editor, started a dialog with
the singularity, got it hostile and when when I killed it, the game suddenly
crashed:


Hello, this is FreedroidRPG, version 0.15-167-g99b956a.
Video system type: x11.
Using screen resolution 1152 x 864.
print_trace:  Obtained 32 stack frames.
print_trace:  Obtaining symbols now done.
./src(print_trace+0x12) [0x43f1b2]
/lib/libpthread.so.0(+0xf140) [0x7f46cfa59140]
/usr/lib/libSDL-1.2.so.0(SDL_UpperBlit+0x1a) [0x7f46cfc92dba]
./src(display_image_on_screen+0x1e5) [0x434435]
./src(display_image_on_map+0x58) [0x434b28]
./src(blit_one_obstacle+0x207) [0x44cfe7]
./src(blit_preput_objects_according_to_blitting_list+0x1f2) [0x450762]
./src(AssembleCombatPicture+0x2b6) [0x451986]
./src(Game+0x4f) [0x449b5f]
./src(TestMap+0x28) [0x470298]
./src(DoLevelEditorMainMenu+0x9b8) [0x476bb8]
./src(leveleditor_process_input+0x6bc) [0x474cec]
./src(LevelEditor+0x35) [0x4702f5]
./src() [0x448d2f]
./src(input_key_press+0x57) [0x4491a7]
./src(input_handle+0x148) [0x447188]
./src(Game+0x99) [0x449ba9]
./src(TestMap+0x28) [0x470298]
./src(DoLevelEditorMainMenu+0x9b8) [0x476bb8]
./src(leveleditor_process_input+0x6bc) [0x474cec]
./src(LevelEditor+0x35) [0x4702f5]
./src() [0x448d2f]
./src(input_key_press+0x57) [0x4491a7]
./src(input_handle+0x148) [0x447188]
./src(Game+0x99) [0x449ba9]
./src(TestMap+0x28) [0x470298]
./src(DoLevelEditorMainMenu+0x9b8) [0x476bb8]
./src(leveleditor_process_input+0x6bc) [0x474cec]
./src(LevelEditor+0x35) [0x4702f5]
./src(main+0x155) [0x414545]
/lib/libc.so.6(__libc_start_main+0xf5) [0x7f46cf46a455]
./src() [0x4145fd]
 
print_trace():  received SIGSEGV!
 
---------------------------------------------------------------------------------
Termination of freedroidRPG initiated... Thank you for playing freedroidRPG.



had the output in a pastebin:

for i in `curl "http://pastebin.com/raw.php?i=kByDNaWd" | awk '{print $2}' | sed
-e 's/\[//' -e 's/\]//' | awk /^0x/` ; do ; echo $i
 addr2line -e ./freedroidRPG $i ; done



0x43f1b2
/home/matthias/vcs/git/freedroid/src/misc.c:390
0x7f46cfa59140
??:0
0x7f46cfc92dba
??:0
0x434435
/home/matthias/vcs/git/freedroid/src/image.c:256
0x434b28
/home/matthias/vcs/git/freedroid/src/image.c:266
0x44cfe7
/home/matthias/vcs/copy_of_git/freedroid/src/view.c:332
0x450762
/home/matthias/vcs/copy_of_git/freedroid/src/view.c:1301
0x451986
/home/matthias/vcs/copy_of_git/freedroid/src/view.c:1792
0x449b5f
/home/matthias/vcs/copy_of_git/freedroid/src/main.c:100
0x470298
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit.c:252
0x476bb8
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit_menu.c:1054
0x474cec
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit_input.c:193
0x4702f5
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit.c:282
0x448d2f
/home/matthias/vcs/copy_of_git/freedroid/src/keyboard.c:656
0x4491a7
/home/matthias/vcs/copy_of_git/freedroid/src/keyboard.c:811
0x447188
/home/matthias/vcs/copy_of_git/freedroid/src/input.c:138
0x449ba9
/home/matthias/vcs/copy_of_git/freedroid/src/main.c:90
0x470298
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit.c:252
0x476bb8
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit_menu.c:1054
0x474cec
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit_input.c:193
0x4702f5
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit.c:282
0x448d2f
/home/matthias/vcs/copy_of_git/freedroid/src/keyboard.c:656
0x4491a7
/home/matthias/vcs/copy_of_git/freedroid/src/keyboard.c:811
0x447188
/home/matthias/vcs/copy_of_git/freedroid/src/input.c:138
0x449ba9
/home/matthias/vcs/copy_of_git/freedroid/src/main.c:90
0x470298
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit.c:252
0x476bb8
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit_menu.c:1054
0x474cec
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit_input.c:193
0x4702f5
/home/matthias/vcs/copy_of_git/freedroid/src/lvledit/lvledit.c:282
0x414545
/home/matthias/vcs/copy_of_git/freedroid/src/main.c:185
0x7f46cf46a455
??:0
0x4145fd
??:0

the files were actually not in  copy_of_git, but I guess  ccache is to blame here
Author: matthiaskrgr Date: 2012-04-29   09h33
I was only able to reproduce this bug one time while trying around 5 times.
Author: ahuillet Date: 2012-04-29   10h44
This looks a lot like the crash on level 24 when changing obstacle types. Can you please check if the bug still appears with latest git?

Thanks
Author: matthiaskrgr Date: 2012-04-29   10h48
Since I have a clear reproduction pattern, lets just close this.
History
Date User Action Args
2012-04-29 10:48:09matthiaskrgrsetstatus: open -> resolved
assignedto: ahuillet
messages: + msg2240
2012-04-29 10:44:03ahuilletsetmessages: + msg2239
2012-04-29 09:33:13matthiaskrgrsetmessages: + msg2236
2012-04-27 21:35:28matthiaskrgrcreate