URL:
<http://gna.org/bugs/?18625>
Summary: The editor segfaults when any key is pressed
Project: Battle for Wesnoth
Submitted by: espreon
Submitted on: Fri 09 Sep 2011 04:36:44 AM GMT
Category: Bug
Severity: 5 - Blocker
Priority: 7 - High
Item Group: Editor
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.9.9+svn (51089)
Operating System: Sabayon Linux
_______________________________________________________
Details:
To reproduce, just start the editor and press any key and it should
segfault.
Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x000000000179b8c4 in boost::scoped_ptr<CKey>::operator* (this=0x68) at
/usr/include/boost/smart_ptr/scoped_ptr.hpp:91
91 BOOST_ASSERT( px != 0 );
(gdb) bt
#0 0x000000000179b8c4 in boost::scoped_ptr<CKey>::operator* (this=0x68) at
/usr/include/boost/smart_ptr/scoped_ptr.hpp:91
#1 0x00000000017949d2 in wb::manager::on_key_event (this=0x0) at
/home/espreon/wesnoth/src/whiteboard/manager.cpp:336
#2 0x00000000018db1f5 in hotkey::key_event_execute (disp=..., event=...,
executor=0x7fffffffd050) at /home/espreon/wesnoth/src/hotkeys.cpp:926
#3 0x00000000018db0b7 in hotkey::key_event (disp=..., event=...,
executor=0x7fffffffd050) at /home/espreon/wesnoth/src/hotkeys.cpp:884
#4 0x0000000001212a53 in controller_base::handle_event (this=0x7fffffffd050,
event=...) at /home/espreon/wesnoth/src/controller_base.cpp:60
#5 0x00000000018bf3ba in events::pump () at
/home/espreon/wesnoth/src/events.cpp:380
#6 0x0000000001213448 in controller_base::play_slice (this=0x7fffffffd050,
is_delay_enabled=true) at /home/espreon/wesnoth/src/controller_base.cpp:197
#7 0x000000000123803a in editor::editor_controller::main_loop
(this=0x7fffffffd050) at
/home/espreon/wesnoth/src/editor/editor_controller.cpp:274
#8 0x000000000124bb99 in editor::start (game_conf=..., video=...,
filename="", take_screenshot=false, screenshot_filename="map_screenshot.bmp")
at /home/espreon/wesnoth/src/editor/editor_main.cpp:51
#9 0x00000000012bc5c6 in game_controller::start_editor (this=0x23cf260,
filename="") at /home/espreon/wesnoth/src/game_controller.cpp:1305
#10 0x00000000012b8ebd in game_controller::goto_editor (this=0x23cf260) at
/home/espreon/wesnoth/src/game_controller.cpp:885
#11 0x0000000000fd3480 in do_gameloop (argc=2, argv=0x7fffffffdc08) at
/home/espreon/wesnoth/src/game.cpp:485
#12 0x0000000000fd3f12 in main (argc=2, argv=0x7fffffffdc08) at
/home/espreon/wesnoth/src/game.cpp:621
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18625>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs