Follow-up Comment #1, bug #20895 (project wesnoth):
Some more info on the bug:
I've narrowed the bug's introduction to between:
1a27a8cb08e846722005f618bdb8a14c843eee7e on 2012-02-22
and
84b8dbafd26fdd1000a8f677d65973cd836999b3 on 2012-08-24.
Due to the map format changes, I can't narrow it down futher, perhaps there's
some fancy git branching/merging that could be done to allow the old format
during the time period, but I don't know how to do that at the moment.
I ran a debug build using CodeBlocks 10.05 & gdb 7.3 here's the call stack:
#0 0091ECDC rand_rng::rng::get_random_private(this=0x0, check=false)
(C:Battle
for Wesnoth Trunksrcrandom.cpp:166)
#1 0091EC95 rand_rng::rng::get_random_nocheck(this=0x0) (C:Battle for
Wesnoth
Trunksrcrandom.cpp:161)
#2 0091E8C0 get_random_nocheck() (C:Battle for Wesnoth
Trunksrcrandom.cpp:75)
#3 0091C07C markov_generate_name(prefixes=..., chain_size=2, max_len=12,
rng=0x0) (C:Battle for Wesnoth Trunksrcrace.cpp:89)
#4 0091E554 unit_race::generate_name(this=0x28d664, gender=unit_race::MALE,
rng=0x0) (C:Battle for Wesnoth Trunksrcrace.cpp:206)
#5 007FAA29 generate_name(name_generator=..., id=..., base_name=0x28d934,
additional_symbols=0x0) (C:Battle for Wesnoth Trunksrcmapgen.cpp:595)
#6 007FF241 default_generate_map(width=90, height=90, island_size=0,
island_off_center=0, iterations=1125, hill_size=6, max_lakes=40, nvillages=22,
castle_size=6, nplayers=2, roads_between_castles=true, labels=0x0, cfg=...)
(C:Battle for Wesnoth Trunksrcmapgen.cpp:1069)
#7 0080B28B default_map_generator::generate_map(this=0x1fa9fc68, labels=0x0)
(C:Battle for Wesnoth Trunksrcmapgen_dialog.cpp:401)
#8 0080AE62 default_map_generator::create_map(this=0x1fa9fc68, args=...)
(C:Battle for Wesnoth Trunksrcmapgen_dialog.cpp:350)
#9 007F075D random_generate_map(parms=..., cfg=...) (C:Battle for Wesnoth
Trunksrcmap_create.cpp:53)
#10 008F8265 play_game(disp=..., gamestate=..., game_config=...,
io_type=IO_NONE, skip_replay=false) (C:Battle for Wesnoth
Trunksrcplaycampaign.cpp:458)
#11 0062AB48 game_controller::launch_game(this=0x10eefd68,
reload=game_controller::RELOAD_DATA) (C:Battle for Wesnoth
Trunksrcgame_controller.cpp:964)
#12 00613EEA do_gameloop(argc=1, argv=0x10df87b8) (C:Battle for Wesnoth
Trunksrcgame.cpp:639)
#13 006146DD SDL_main(argc=1, argv=0x10df87b8) (C:Battle for Wesnoth
Trunksrcgame.cpp:695)
#14 00AD729B console_main(argc=1, argv=0x10df87b8)
(./src/main/win32/SDL_win32_main.c:315)
#15 00AD7358 WinMain(hInst=0x400000, hPrev=0x0, szCmdLine=0x11033328 "",
sw=10) (./src/main/win32/SDL_win32_main.c:398)
#16 00000000 0x00ad6a16 in main() (??:??)
Here's the relevant Codeblocks console dialog:
Program received signal SIGSEGV, Segmentation fault.
0x0091ecdc in rand_rng::rng::get_random_private (this=0x0, check=false) at
C:Battle for Wesnoth Trunksrcrandom.cpp:166
c:battle for wesnoth trunksrcrandom.cpp:166:4367:beg:0x91ecdc
Program received signal SIGSEGV, Segmentation fault.
At c:battle for wesnoth trunksrcrandom.cpp:166
Program received signal SIGSEGV, Segmentation fault.
0x0091ecdc in rand_rng::rng::get_random_private (this=0x0, check=false) at
C:Battle for Wesnoth Trunksrcrandom.cpp:166
c:battle for wesnoth trunksrcrandom.cpp:166:4367:beg:0x91ecdc
Program received signal SIGSEGV, Segmentation fault.
[Inferior 1 (process 4420) exited with code 030000000005]
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20895>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs