Whales / Cataclysm

A post-apocalyptic roguelike.
cataclysmrl.blogspot.com
Other
323 stars 89 forks source link

Crash on Windows #3

Closed jaydg closed 12 years ago

jaydg commented 14 years ago

I managed to obtain two stack traces, the first when starting the tutorial:

Program received signal SIGSEGV, Segmentation fault.
0x00605f70 in npc::make_shopkeep (this=0x19f180, g=0x1faf70, type=ot_set_food)
    at npc.cpp:572
572        tmp = item(g->itypes[item_type], g->turn);

0  0x00605f70 in npc::make_shopkeep (this=0x19f180, g=0x1faf70, type=ot_set_food) at npc.cpp:572
1  0x00647618 in overmap::place_NPCs (this=0x19fdd0, g=0x1faf70) at overmap.cpp:759
2  0x00644cc3 in overmap::generate (this=0x19fdd0, g=0x1faf70, north=0x0, east=0x0, south=0x0, west=0x0) at overmap.cpp:400
3  0x0064e66c in overmap::open (this=0x19fdd0, g=0x1faf70, x=0, y=0, z=9) at overmap.cpp:1828
4  0x00642d92 in overmap::overmap (this=0x19fdd0, g=0x1faf70, x=0, y=0, z=9) at overmap.cpp:120
5  0x0046f54b in game::start_tutorial (this=0x1faf70, type=TUT_BASIC) at game.cpp:468
6  0x0046e739 in game::opening_screen (this=0x1faf70) at game.cpp:273
7  0x0046dbfd in game::game (this=0x1faf70) at game.cpp:183
8  0x00521d80 in main (argc=1, argv=0x2d10f8) at main.cpp:24

This one when starting a regular game:

Program received signal SIGSEGV, Segmentation fault.
0x00605f70 in npc::make_shopkeep (this=0x1c6aa0, g=0x1faf70, type=ot_set_bionics)
    at npc.cpp:572
572        tmp = item(g->itypes[item_type], g->turn);

0  0x00605f70 in npc::make_shopkeep (this=0x1c6aa0, g=0x1faf70, type=ot_set_bionics) at npc.cpp:572
1  0x00647618 in overmap::place_NPCs (this=0x1c7748, g=0x1faf70) at overmap.cpp:759
2  0x00644cc3 in overmap::generate (this=0x1c7748, g=0x1faf70, north=0x0, east=0x0, south=0x0, west=0x0) at overmap.cpp:400
3  0x0064e66c in overmap::open (this=0x1c7748, g=0x1faf70, x=0, y=0, z=0) at overmap.cpp:1828
4  0x00642d92 in overmap::overmap (this=0x1c7748, g=0x1faf70, x=0, y=0, z=0) at overmap.cpp:120
5  0x0046f1cd in game::start_game (this=0x1faf70) at game.cpp:416
6  0x0046f05c in game::opening_screen (this=0x1faf70) at game.cpp:394
7  0x0046dbfd in game::game (this=0x1faf70) at game.cpp:183
8  0x00521d80 in main (argc=1, argv=0x3d1178) at main.cpp:24

The problem seems to be the same.