[Wesnoth-bugs] [bug #25348] segfault: killed a unit with debug mode, which should have triggered an event afterwards

2017-03-18 Thread Charles Dang
Update of bug #25348 (project wesnoth):

 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25348] segfault: killed a unit with debug mode, which should have triggered an event afterwards

2016-12-02 Thread Wedge009
Update of bug #25348 (project wesnoth):

  Status:None => Fixed  
 Assigned to:None => tad_carlucci   


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25348] segfault: killed a unit with debug mode, which should have triggered an event afterwards

2016-12-01 Thread Severin Glöckner
Follow-up Comment #4, bug #25348 (project wesnoth):

same here

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25348] segfault: killed a unit with debug mode, which should have triggered an event afterwards

2016-12-01 Thread Gregory A Lundberg
Follow-up Comment #3, bug #25348 (project wesnoth):

PR890 should fix this. "Worked for me" at least

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25348] segfault: killed a unit with debug mode, which should have triggered an event afterwards

2016-12-01 Thread Severin Glöckner
Follow-up Comment #2, bug #25348 (project wesnoth):

without that commit it doesn't crash

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25348] segfault: killed a unit with debug mode, which should have triggered an event afterwards

2016-12-01 Thread Daniel
Follow-up Comment #1, bug #25348 (project wesnoth):

could e caused by
https://github.com/wesnoth/wesnoth/commit/c66325856b73d2d610d44377c187ddbadda2978d
could you test whether it still appens without that commits?

___

Reply to this item at:

  

___
  Nachricht gesendet von/durch Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25348] segfault: killed a unit with debug mode, which should have triggered an event afterwards

2016-11-30 Thread Severin Glöckner
URL:
  

 Summary: segfault: killed a unit with debug mode, which
should have triggered an event afterwards
 Project: Battle for Wesnoth
Submitted by: shiki
Submitted on: Thu 01 Dec 2016 12:53:01 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 1.13.6+dev
Operating System: Archlinux

___

Details:

I'm not finding a better title right now...
This happened in the 6th scenario of War_of_the_Dragon, where I killed one of
my leaders.
The other was stored in a variable.
The event would have been triggered if the first one is getting killed, it
wuld then have unstored the 2nd and ended the level. And this works if the
unit gets killed without the debug command.

Thats the stderr message:
wesnoth-git: src/units/map.hpp:177: pointer
unit_map::iterator_base::operator->() const
[iter_types = unit_map::standard_iter_types]: Assertion `valid()' failed.
Abgebrochen (Speicherabzug geschrieben)


Stacktrace:

Stack trace of thread 12790:
#0  0x7fb8965b304f raise (libc.so.6)
#1  0x7fb8965b447a abort (libc.so.6)
#2  0x7fb8965abea7 __assert_fail_base (libc.so.6)
#3  0x7fb8965abf52 __assert_fail (libc.so.6)
#4  0x006a7aa1
_ZNK8unit_map13iterator_baseINS_19standard_iter_typesEEptEv (wesnoth-debug)
#5  0x00e1be19
_ZL30synced_command_func_debug_killRK6configbbSt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbEE
(wesnoth-debug)
#6  0x007197e8
_ZN14synced_context3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK6configbbSt8functionIFvS7_bEE
(wesnoth-debug)
#7  0x0071aa53
_ZN14synced_context13run_and_storeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK6configbbSt8functionIFvS7_bEE
(wesnoth-debug)
#8  0x0071ab4b
_ZN14synced_context13run_and_throwERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK6configbbSt8functionIFvS7_bEE
(wesnoth-debug)
#9  0x0101dad6
_ZN6events12menu_handler9kill_unitERNS_13mouse_handlerE (wesnoth-debug)
#10 0x01011790
_ZN21playsingle_controller14hotkey_handler9kill_unitEv (wesnoth-debug)
#11 0x0131ae63
_ZN6hotkey16command_executor15execute_commandERKNS_14hotkey_commandEib
(wesnoth-debug)
#12 0x010145c4
_ZN15play_controller14hotkey_handler15execute_commandERKN6hotkey14hotkey_commandEib
(wesnoth-debug)
#13 0x0131c4a8
_ZN6hotkey15execute_commandERKNS_14hotkey_commandEPNS_16command_executorEib
(wesnoth-debug)
#14 0x0131d242
_ZN6hotkeyL13event_executeERK9SDL_EventPNS_16command_executorE
(wesnoth-debug)
#15 0x0131d0fd
_ZN6hotkey9key_eventERK9SDL_EventPNS_16command_executorE (wesnoth-debug)
#16 0x009ab5de
_ZN15controller_base12handle_eventERK9SDL_Event (wesnoth-debug)
#17 0x012ef682 _ZN6events4pumpEv (wesnoth-debug)
#18 0x009ac1ec _ZN15controller_base10play_sliceEb
(wesnoth-debug)
#19 0x00dd5a4d
_ZN15play_controller16play_slice_catchEv (wesnoth-debug)
#20 0x00de52c8
_ZN21playsingle_controller15play_human_turnEv (wesnoth-debug)
#21 0x00de4111
_ZN21playsingle_controller14play_side_implEv (wesnoth-debug)
#22 0x00dd635f _ZN15play_controller9play_sideEv
(wesnoth-debug)
#23 0x00dd6627 _ZN15play_controller9play_turnEv
(wesnoth-debug)
#24 0x00de1c72
_ZN21playsingle_controller23play_scenario_main_loopEv (wesnoth-debug)
#25 0x00de2b9b
_ZN21playsingle_controller13play_scenarioERK6config (wesnoth-debug)
#26 0x00ab28a7
_ZN19campaign_controller19playsingle_scenarioER14end_level_data
(wesnoth-debug)
#27 0x00ab2ec2 _ZN19campaign_controller9play_gameEv
(wesnoth-debug)
#28 0x004dd1da
_ZN13game_launcher11launch_gameENS_16RELOAD_GAME_DATAE (wesnoth-debug)
#29 0x00466f33
_ZL11do_gameloopRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE
(wesnoth-debug)
#30 0x00464b37 main (wesnoth-debug)
#31 0x7fb8965a0291 __libc_start_main (libc.so.6)
#32 0x004643ca _start (wesnoth-debug)

Stack trace of thread 12792: