Issue466

Title crash if obstacle tux was going to smash is deleted
Priority bug Status resolved
Assigned To Keywords
Linked issues Watchers

Submitted on 2011-09-23 11h56 by matthiaskrgr, last changed by matthiaskrgr.

Messages
Author: matthiaskrgr Date: 2011-09-23   11h56
Start a normal playing session, click on a cracked brick wall.
Now open the editor and remove the wall which tux was going to smash.
Resume to game, and it crashes:

 Program received signal SIGSEGV, Segmentation fault.
0x0000000000002e64 in ?? ()
(gdb) bt full
#0  0x0000000000002e64 in ?? ()
No symbol table info available.
#1  0x000000000043e3e3 in ?? ()
No symbol table info available.
#2  0x00000000008d8b8c in ?? ()
No symbol table info available.
#3  0x000000000043af81 in ?? ()
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.


Indeed this is not very likely to happen in every-day-usage, but IMO it should
get fixed because its a crash.

Perhaps resetting the mouse move target as we resume playtest is a good way to
fix this?

 r5036
Author: hakzsam Date: 2011-10-23   11h12
I can't reproduce this issue. Is this still reproducible for you ?
Author: salimiles Date: 2011-10-24   06h07
Why would you think about doing that? :-)

Looks like when starting a playtest, you need to set:
Me.mouse_move_target_combo_action_parameter = -1;
(as otherwise it has the index value of a suddenly non-existant obstacle)
Author: ahuillet Date: 2011-10-24   09h46
Matthias is a very dedicated tester. Why he would think about doing it beats me,
but he's right that crashes have to be fixed.
A hack is not welcome - resetting the mouse move target is the proper solution IMO.
Author: matthiaskrgr Date: 2011-10-24   10h33
Seems to be fixed by now. :)
History
Date User Action Args
2011-10-24 10:33:43matthiaskrgrsetstatus: open -> resolved
messages: + msg1739
2011-10-24 09:46:44ahuilletsetmessages: + msg1731
2011-10-24 06:07:23salimilessetmessages: + msg1729
2011-10-23 11:12:18hakzsamsetmessages: + msg1720
2011-09-23 11:56:41matthiaskrgrcreate