Crashing on entering overworld map (svn 4371)

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
avatarofentropy
Yeek
Posts: 10
Joined: Sun Sep 11, 2011 10:32 pm

Crashing on entering overworld map (svn 4371)

#1 Post by avatarofentropy »

I don't usually mention bugs in the SVN, cause you are so good at fixing them, but this is a pretty big one and it's been there for a couple days. Whenever I try to go to the overworld map, the game crashes. No Lua error, just straight up crash to desktop. I can send you a save file if you like, but it appears to be reproduceable with a new character. Is there a logfile somewhere that I can attach?

I'm running windows 7 64 bit. and I'm building it using mingw32
libs:
libogg-1.2.2
libvorbis-1.3.2
lpng1246
openal-soft-1.13
SDL_image-1.2.10
SDL_mixer-1.2.11
SDL_ttf-2.0.10
SDL-1.3.0-5557
zlib-1.2.5

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Crashing on entering overworld map (svn 4371)

#2 Post by darkgod »

Send the savefile please, and get a gdb stacktrace too
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

avatarofentropy
Yeek
Posts: 10
Joined: Sun Sep 11, 2011 10:32 pm

Re: Crashing on entering overworld map (svn 4371)

#3 Post by avatarofentropy »

Save file: http://dl.dropbox.com/u/7034064/Isroead.zip

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0x004396f1 in display_map_quad (L=0x39f01c0) at ../src/map.c:1190
1190                                                            DO_QUAD(dm, dx +
 dm->dx * map->tile_w + animdx, dy + dm->dy * map->tile_h + animdy, dm->dw, dm->
dh, dm->scale, r, g, b, a * 2 / (3 + z), m->next);
(gdb) bt
#0  0x004396f1 in display_map_quad (L=0x39f01c0) at ../src/map.c:1190
#1  map_to_screen (L=0x39f01c0) at ../src/map.c:1314
#2  0x00473317 in lj_BC_FUNCC ()
#3  0x00468378 in lua_pcall (L=0x39f01c0, nargs=2, nresults=0, errfunc=1)
    at ../src/luajit2/src/lj_api.c:1028
#4  0x0042f1d0 in docall (L=0x39f01c0, narg=2, nret=0) at ../src/main.c:188
#5  0x0042ff89 in call_draw (nb_keyframes=30) at ../src/main.c:457
#6  0x00430315 in on_redraw () at ../src/main.c:542
#7  0x00407973 in sdl_redraw_screen (L=0x39f01c0) at ../src/core_lua.c:1683
#8  0x00473317 in lj_BC_FUNCC ()
#9  0x00468378 in lua_pcall (L=0x39f01c0, nargs=9, nresults=0, errfunc=3)
    at ../src/luajit2/src/lj_api.c:1028
#10 0x0042f1d0 in docall (L=0x39f01c0, narg=9, nret=0) at ../src/main.c:188
#11 0x0042f739 in on_event (event=0x28fe10) at ../src/main.c:311
#12 0x0043191d in SDL_main (argc=1, argv=0xb03730) at ../src/main.c:1085
#13 0x0050935b in console_main (hInst=0x400000, hPrev=0x0,
    szCmdLine=0x864084 "", sw=10) at src/main/windows/SDL_windows_main.c:142
#14 WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x864084 "", sw=10)
    at src/main/windows/SDL_windows_main.c:199
#15 0x00508e96 in main ()
Last edited by avatarofentropy on Tue Sep 13, 2011 1:57 pm, edited 1 time in total.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Crashing on entering overworld map (svn 4371)

#4 Post by darkgod »

This happens everytime ?
Good! I cant reproduce it here but since you can, please com on irc (#tome at irc.rizon.net) and we'll do some tests
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Daev
Yeek
Posts: 10
Joined: Tue Sep 13, 2011 12:51 pm

Re: Crashing on entering overworld map (svn 4371)

#5 Post by Daev »

I'm getting the same bug if there's anything I can do to help.

Daev
Yeek
Posts: 10
Joined: Tue Sep 13, 2011 12:51 pm

Re: Crashing on entering overworld map (svn 4371)

#6 Post by Daev »

I should add that I'm also running windows 7 64 bit, and that it started right after I picked up the fateful aura tree and killed Celia. Let me know if any other information is relevant.

evouga
Wyrmic
Posts: 231
Joined: Tue Jul 06, 2010 1:03 am

Re: Crashing on entering overworld map (svn 4371)

#7 Post by evouga »


RandyB123
Posts: 3
Joined: Sat Sep 10, 2011 2:09 am

Re: Crashing on entering overworld map (svn 4371)

#8 Post by RandyB123 »

I have been having problems with the world map too. It crashes sometimes, and some of the tiles are not correct. I will try to grab a screenshot if it happens again. I have been switching to ASCII (from shockbolt) before returning to the world map and have had no problems (unless I switch back).

Hope this helps.
Randy

Daev
Yeek
Posts: 10
Joined: Tue Sep 13, 2011 12:51 pm

Re: Crashing on entering overworld map (svn 4371)

#9 Post by Daev »

Great suggestion! Worked like a charm.

Post Reply