URL:
<http://gna.org/bugs/?12806>
Summary: Loading the start save for LoW's third scenario
causes a floating point exception
Project: Battle for Wesnoth
Submitted by: chrber
Submitted on: Freitag 02.01.2009 um 11:16
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Campaign
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: svn31885
Operating System: Linux
_______________________________________________________
Details:
Tried to load LoW's third scenario start save and the game exits with a
floating point exception.
Here is the gdb backtrace:
(gdb) r
Starting program: /usr/local/bin/wesnoth
[Thread debugging using libthread_db enabled]
[New Thread 0xb743d6d0 (LWP 18619)]
[New Thread 0xb4c3ab90 (LWP 18622)]
Battle for Wesnoth v1.5.7+svn (31885)
Started on Fri Jan 2 12:03:28 2009
Data directory: /usr/local/share/wesnoth
User configuration directory: /home/chrber/.wesnoth1.5
[New Thread 0xb4205b90 (LWP 18623)]
Checking video mode: 1280x1024x32...
setting mode to 1280x1024x32
no location found for
'data/campaigns/Invasion_from_the_Unknown/translations', not adding
textdomain
[New Thread 0xb2e1cb90 (LWP 18644)]
[New Thread 0xb261bb90 (LWP 18645)]
[Thread 0xb261bb90 (LWP 18645) exited]
[Thread 0xb2e1cb90 (LWP 18644) exited]
20090102 12:03:57 error display: Tile at -999,-999 isn't on the map, can't
scroll to the tile.
20090102 12:03:57 error display: Tile at -999,-999 isn't on the map, can't
scroll to the tile.
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb743d6d0 (LWP 18619)]
0x08483f4a in gui2::twindow::draw (this=0xba66f30) at
/usr/local/src/wesnoth/src/gui/widgets/window.cpp:301
301 if(++i % sunset_== 0) {
(gdb) bt
#0 0x08483f4a in gui2::twindow::draw (this=0xba66f30) at
/usr/local/src/wesnoth/src/gui/widgets/window.cpp:301
#1 0x083f91dd in gui2::tevent_handler::handle_event (this=0xba67060,
eve...@0xb55d9b60) at
/usr/local/src/wesnoth/src/gui/widgets/event_handler.cpp:232
#2 0x08779e22 in events::pump () at
/usr/local/src/wesnoth/src/events.cpp:382
#3 0x08482485 in gui2::twindow::show (this=0xba66f30, restore=true) at
/usr/local/src/wesnoth/src/gui/widgets/event_handler.hpp:44
#4 0x083d0cb1 in gui2::tdialog::show (this=0xbf9323e4, vid...@0xbf934748) at
/usr/local/src/wesnoth/src/gui/dialogs/dialog.cpp:43
#5 0x08377a07 in wml_func_message (handl...@0xaff31c8,
event_in...@0xbf932b68, c...@0xbf93287c) at
/usr/local/src/wesnoth/src/game_events.cpp:2894
#6 0x083380f5 in game_events::command_handlers::call_handler
(this=0x89ece40, c...@0xbf932894, e...@0xaff31c8, event_in...@0xbf932b68,
c...@0xbf93287c)
at /usr/local/src/wesnoth/src/game_events.cpp:192
#7 0x083382ab in game_events::event_handler::handle_event_command
(this=0xaff31c8, event_in...@0xbf932b68, c...@0xbf932894, c...@0xbf93287c)
at /usr/local/src/wesnoth/src/game_events.cpp:3222
#8 0x083392b5 in game_events::event_handler::handle_event (this=0xaff31c8,
event_in...@0xbf932b68, co...@0xbf932ac0) at
/usr/local/src/wesnoth/src/game_events.cpp:3204
#9 0x0836ce27 in process_event (handl...@0xaff31c8, e...@0xbf932b68) at
/usr/local/src/wesnoth/src/game_events.cpp:3173
#10 0x0836edc4 in game_events::pump () at
/usr/local/src/wesnoth/src/game_events.cpp:3526
#11 0x0836f5b4 in game_events::fire (eve...@0xbf932d08, lo...@0xbf932cf4,
lo...@0xbf932ce8, da...@0xbf932ca0) at
/usr/local/src/wesnoth/src/game_events.cpp:3468
#12 0x0859f93e in play_controller::fire_start (this=0xbf93388c, execute=true)
at /usr/local/src/wesnoth/src/play_controller.cpp:373
#13 0x085b169f in playsingle_controller::play_scenario (this=0xbf93388c,
sto...@0xb585ced4, l...@0xbf9345e8, skip_replay=false,
end_level_result=0xb57ea944)
at /usr/local/src/wesnoth/src/playsingle_controller.cpp:290
#14 0x0858edf9 in play_game (di...@0x8fba780, gamesta...@0xbf9347e0,
game_conf...@0xbf934784, l...@0xbf9345e8, io_type=IO_NONE,
skip_replay=false)
at /usr/local/src/wesnoth/src/playcampaign.cpp:129
#15 0x081cc428 in launch_game (this=0xbf934738, reload=<value optimized out>)
at /usr/local/src/wesnoth/src/game.cpp:1603
#16 0x081d407f in do_gameloop (argc=<value optimized out>, argv=<value
optimized out>) at /usr/local/src/wesnoth/src/game.cpp:2138
#17 0x081d4c2e in main (argc=1, argv=0xbf934d54) at
/usr/local/src/wesnoth/src/game.cpp:2194
(gdb) print i
$1 = 1
(gdb) print sunset_
$2 = 0
(gdb) print ++i % 0
Division by zero
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12806>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs