Page 1 of 1

[1.2.1] Segmentation fault

Posted: Fri Jun 06, 2014 2:12 pm
by qui
I am repeatedly experiencing crashes: Segmentation fault (core dumped).

They only happen when I'm using autoexplore, only in certain dungeons (so far first level of Maze, level 1 and 4 of Halfling ruins). Also happened in 1.2.0 (char is imported). The moment of crash isn't constant, so I can play by saving often. My previous character in 1.2.0 completed both those dungeons with no issues.

Log attached.

Re: [1.2.1] Segmentation fault

Posted: Fri Jun 06, 2014 2:29 pm
by darkgod
You're on linux, do you have by any chances gdb installed ?

Re: [1.2.1] Segmentation fault

Posted: Fri Jun 06, 2014 3:02 pm
by qui
Yes.

Code: Select all

GNU gdb (GDB) 7.6.1-ubuntu

Re: [1.2.1] Segmentation fault

Posted: Fri Jun 06, 2014 3:06 pm
by darkgod
Groovy, please run the game with gdb like that:

Code: Select all

cd /wherever/is/tome
gdb t-engine
run
Play until crash
When it does in the gdb prompt :

Code: Select all

bt
and show me the result

Re: [1.2.1] Segmentation fault

Posted: Fri Jun 06, 2014 3:17 pm
by qui
Here you go:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe5ca5700 (LWP 24806)]
0x000000000049c311 in ?? ()
(gdb) bt
#0  0x000000000049c311 in ?? ()
#1  0x0000000000484060 in ?? ()
#2  0x000000000040c399 in ?? ()
#3  0x000000000040dcfa in ?? ()
#4  0x00007ffff76397ed in SDL_RunThread (data=0x1ed41f0)
    at /opt/SDL2-2.0.3/src/thread/SDL_thread.c:282
#5  0x00007ffff7695249 in RunThread (data=<optimized out>)
    at /opt/SDL2-2.0.3/src/thread/pthread/SDL_systhread.c:72
#6  0x00007ffff6432f6e in start_thread (arg=0x7fffe5ca5700)
    at pthread_create.c:311
#7  0x00007ffff5f479cd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Re: [1.2.1] Segmentation fault

Posted: Sat Jun 07, 2014 3:02 am
by Narbat
Same problem here on my Mac. Log and traceback attached.

Re: [1.2.1] Segmentation fault

Posted: Wed Jun 11, 2014 12:25 pm
by qui
Looks like it's fixed.