getting backtrace after saving and closing down the game.

For those having trouble installing/running the game or to report a bug

Moderator: Staff

shirish
Member
Posts: 72
Joined: Thu Oct 16, 2008 8:07 pm

getting backtrace after saving and closing down the game.

Postby shirish » Mon Jul 11, 2011 6:58 pm

Hi all,
I got the latest svn 2005. Compiled it and as always do use 'make clean' before doing the actual make.

Compiled nicely, the game ran nicely, I was able to save. After saving when I closed it, I found a backtrace on the CLI .

Code: Select all

Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2760
AL lib: portaudio.c:219: Pa_OpenStream() returned an error: Device unavailable
*** glibc detected *** ./allacrost: free(): invalid pointer: 0x00000000024e43c0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x72606)[0x7fbf87b9e606]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fbf87ba333c]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x3c1ab)[0x7fbf74d9b1ab]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x3ea5a)[0x7fbf74d9da5a]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x429c9)[0x7fbf74da19c9]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0xdebfd)[0x7fbf74e3dbfd]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0xe338d)[0x7fbf74e4238d]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0xa6057)[0x7fbf74e05057]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0xd6223)[0x7fbf74e35223]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x7b289)[0x7fbf74dda289]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x5303e)[0x7fbf74db203e]
/usr/lib/x86_64-linux-gnu/dri/i915_dri.so(+0x30b20)[0x7fbf74d8fb20]
/usr/lib/x86_64-linux-gnu/libGL.so.1(+0x4e7a5)[0x7fbf889e07a5]
/usr/lib/libSDL-1.2.so.0(+0x3ed42)[0x7fbf89313d42]
/usr/lib/libSDL-1.2.so.0(+0x42bac)[0x7fbf89317bac]
/usr/lib/libSDL-1.2.so.0(+0x42d95)[0x7fbf89317d95]
/usr/lib/libSDL-1.2.so.0(SDL_VideoQuit+0x4e)[0x7fbf8930a37e]
/usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x45)[0x7fbf892e0d75]
/usr/lib/libSDL-1.2.so.0(SDL_Quit+0xe)[0x7fbf892e0e2e]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d82)[0x7fbf87b62d82]
/lib/x86_64-linux-gnu/libc.so.6(+0x36dd5)[0x7fbf87b62dd5]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x104)[0x7fbf87b4aeb4]
./allacrost[0x40e8bd]
======= Memory map: ========
00400000-00707000 r-xp 00000000 08:09 269870                             /usr/local/src/allacrost-svntrunk/game/allacrost
00907000-00909000 rw-p 00307000 08:09 269870                             /usr/local/src/allacrost-svntrunk/game/allacrost
00909000-0090c000 rw-p 00000000 00:00 0
01dfb000-03526000 rw-p 00000000 00:00 0                                  [heap]
7fbf6c000000-7fbf6c021000 rw-p 00000000 00:00 0
7fbf6c021000-7fbf70000000 ---p 00000000 00:00 0
7fbf71fa9000-7fbf72129000 rw-s 114dbc000 00:05 4766                      /dev/dri/card0
7fbf72729000-7fbf7272d000 rw-s 11452a000 00:05 4766                      /dev/dri/card0
7fbf72d31000-7fbf72e31000 rw-s 113fc6000 00:05 4766                      /dev/dri/card0
7fbf72f22000-7fbf72f23000 rw-s 114521000 00:05 4766                      /dev/dri/card0
7fbf72f23000-7fbf72f24000 rw-s 114520000 00:05 4766                      /dev/dri/card0
7fbf72f24000-7fbf72f25000 rw-s 11451f000 00:05 4766                      /dev/dri/card0
7fbf72f25000-7fbf72f26000 rw-s 11451e000 00:05 4766                      /dev/dri/card0
7fbf72f26000-7fbf72f27000 rw-s 00000000 00:04 2714321                    /drm mm object (deleted)
7fbf72f27000-7fbf72f28000 rw-s 00000000 00:04 2714320                    /drm mm object (deleted)
7fbf72f28000-7fbf72f29000 rw-s 00000000 00:04 2714316                    /drm mm object (deleted)
7fbf72f29000-7fbf72f2a000 rw-s 00000000 00:04 2714315                    /drm mm object (deleted)
7fbf72f2a000-7fbf72f2b000 rw-s 00000000 00:04 2714314                    /drm mm object (deleted)
7fbf72f2b000-7fbf72f2c000 rw-s 00000000 00:04 2714313                    /drm mm object (deleted)
7fbf72f2f000-7fbf72f30000 rw-s 00000000 00:04 2714121                    /drm mm object (deleted)
7fbf72f30000-7fbf72f31000 rw-s 00000000 00:04 2714210                    /drm mm object (deleted)
7fbf72f31000-7fbf73031000 rw-s 11441e000 00:05 4766                      /dev/dri/card0
7fbf73031000-7fbf73131000 rw-s 11431e000 00:05 4766                      /dev/dri/card0
7fbf73133000-7fbf73134000 rw-s 00000000 00:04 2713822                    /drm mm object (deleted)
7fbf73135000-7fbf73136000 rw-s 00000000 00:04 2713820                    /drm mm object (deleted)
7fbf73136000-7fbf73137000 rw-s 00000000 00:04 2713819                    /drm mm object (deleted)
7fbf73137000-7fbf73138000 rw-s 00000000 00:04 2713818                    /drm mm object (deleted)
7fbf73139000-7fbf7313a000 rw-s 00000000 00:04 2713816                    /drm mm object (deleted)
7fbf7313a000-7fbf7313b000 rw-s 00000000 00:04 2713815                    /drm mm object (deleted)
7fbf7313c000-7fbf7313d000 rw-s 00000000 00:04 2713813                    /drm mm object (deleted)
7fbf7313d000-7fbf7313e000 rw-s 00000000 00:04 2713812                    /drm mm object (deleted)
7fbf7313f000-7fbf73140000 rw-s 00000000 00:04 2713810                    /drm mm object (deleted)
7fbf73143000-7fbf73144000 rw-s 00000000 00:04 2713806                    /drm mm object (deleted)
7fbf73144000-7fbf73145000 rw-s 00000000 00:04 2713805                    /drm mm object (deleted)
7fbf73145000-7fbf73146000 rw-s 00000000 00:04 2713804                    /drm mm object (deleted)
7fbf73146000-7fbf73147000 rw-s 00000000 00:04 2713803                    /drm mm object (deleted)
7fbf73147000-7fbf73148000 rw-s 00000000 00:04 2713802                    /drm mm object (deleted)
7fbf73148000-7fbf73149000 rw-s 00000000 00:04 2713801                    /drm mm object (deleted)
7fbf731e4000-7fbf731e5000 rw-s 00000000 00:04 2714447                    /drm mm object (deleted)
7fbf731e5000-7fbf731e6000 rw-s 00000000 00:04 2714446                    /drm mm object (deleted)
7fbf731e6000-7fbf731e7000 rw-s 00000000 00:04 2714441                    /drm mm object (deleted)
7fbf731e7000-7fbf731e8000 rw-s 00000000 00:04 2714436                    /drm mm object (deleted)
7fbf731e8000-7fbf731e9000 rw-s 11430a000 00:05 4766                      /dev/dri/card0
7fbf731e9000-7fbf731ea000 rw-s 00000000 00:04 2714434                    /drm mm object (deleted)
7fbf731ea000-7fbf731eb000 rw-s 00000000 00:04 2714433                    /drm mm object (deleted)
7fbf731eb000-7fbf731ec000 rw-s 00000000 00:04 2714432                    /drm mm object (deleted)
7fbf731ec000-7fbf731ed000 rw-s 00000000 00:04 2715032                    /drm mm object (deleted)
7fbf731ed000-7fbf731ee000 rw-s 00000000 00:04 2715030                    /drm mm object (deleted)
7fbf731ee000-7fbf731ef000 rw-s 00000000 00:04 2715029                    /drm mm object (deleted)
7fbf731ef000-7fbf731f0000 rw-s 00000000 00:04 2715028                    /drm mm object (deleted)
7fbf731f0000-7fbf731f1000 rw-s 00000000 00:04 2715138                    /drm mm object (deleted)
7fbf731f1000-7fbf731f2000 rw-s 00000000 00:04 2715137                    /drm mm object (deleted)
7fbf731f2000-7fbf731f6000 rw-s 1142fc000 00:05 4766                      /dev/dri/card0
7fbf731f6000-7fbf731fa000 rw-s 1142f5000 00:05 4766                      /dev/dri/card0
7fbf731fa000-7fbf731fe000 rw-s 1142f0000 00:05 4766                      /dev/dri/card0
7fbf731fe000-7fbf73202000 rw-s 1142eb000 00:05 4766                      /dev/dri/card0
7fbf73202000-7fbf73206000 rw-s 1142e6000 00:05 4766                      /dev/dri/card0
7fbf73206000-7fbf7320a000 rw-s 1142e1000 00:05 4766                      /dev/dri/card0
7fbf7320a000-7fbf7330a000 rw-s 1135da000 00:05 4766                      /dev/dri/card0
7fbf7330a000-7fbf7330d000 r-xp 00000000 08:09 431911                     /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
7fbf7330d000-7fbf7350c000 ---p 00003000 08:09 431911                     /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
7fbf7350c000-7fbf7350d000 r--p 00002000 08:09 431911                     /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
7fbf7350d000-7fbf7350e000 rw-p 00003000 08:09 431911                     /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
7fbf737ae000-7fbf737b2000 rw-s 113966000 00:05 4766                      /dev/dri/card0
7fbf737b2000-7fbf737b3000 rw-s 114303000 00:05 4766                      /dev/dri/card0
7fbf737b3000-7fbf737b4000 rw-s 00000000 00:04 2714435                    /drm mm object (deleted)
7fbf737b4000-7fbf737b5000 rw-s 00000000 00:04 2715025                    /drm mm object (deleted)
7fbf737b5000-7fbf737b6000 rw-s 1142e0000 00:05 4766                      /dev/dri/card0
7fbf737b6000-7fbf737ba000 rw-s 1142dc000 00:05 4766                      /dev/dri/card0
7fbf737ba000-7fbf737bb000 rw-s 00000000 00:04 2715136                    /drm mm object (deleted)
7fbf737bb000-7fbf737bc000 rw-s 00000000 00:04 2715135                    /drm mm object (deleted)
7fbf737bc000-7fbf737c0000 rw-s 1142d6000 00:05 4766                      /dev/dri/card0
7fbf737c0000-7fbf737c1000 rw-s 00000000 00:04 2715134                    /drm mm object (deleted)
7fbf737c1000-7fbf737c2000 rw-s 00000000 00:04 2715133                    /drm mm object (deleted)
7fbf737c2000-7fbf737c6000 rw-s 1142d0000 00:05 4766                      /dev/dri/card0
7fbf737c6000-7fbf737c7000 rw-s 00000000 00:04 2715024                    /drm mm object (deleted)
7fbf737c7000-7fbf737cb000 rw-s 1142cb000 00:05 4766                      /dev/dri/card0
7fbf737cb000-7fbf737cc000 rw-s 00000000 00:04 2715023                    /drm mm object (deleted)
7fbf737cc000-7fbf737d0000 rw-s 1142c6000 00:05 4766                      /dev/dri/card0
7fbf737d0000-7fbf737d1000 rw-s 00000000 00:04 2714431                    /drm mm object (deleted)
7fbf737d1000-7fbf737d2000 rw-s 00000000 00:04 2714430                    /drm mm object (deleted)
7fbf737d2000-7fbf737d6000 rw-s 1142c0000 00:05 4766                      /dev/dri/card0
7fbf737d6000-7fbf737d7000 rw-s 00000000 00:04 2714429                    /drm mm object (deleted)
7fbf737d7000-7fbf737d8000 rw-s 00000000 00:04 2714428                    /drm mm object (deleted)
7fbf737d8000-7fbf737dc000 rw-s 1142ba000 00:05 4766                      /dev/dri/card0
7fbf737dc000-7fbf737dd000 rw-s 1142b9000 00:05 4766                      /dev/dri/card0
7fbf737dd000-7fbf737e1000 rw-s 1142b5000 00:05 4766                      /dev/dri/card0
7fbf737e1000-7fbf737e5000 rw-s 1142b0000 00:05 4766                      /dev/dri/card0
7fbf737e5000-7fbf737e6000 rw-s 1142ab000 00:05 4766                      /dev/dri/card0
7fbf737e6000-7fbf737e7000 rw-s 1142aa000 00:05 4766                      /dev/dri/card0
7fbf737e7000-7fbf737e8000 rw-s 00000000 00:04 2714330                    /drm mm object (deleted)
7fbf737e8000-7fbf737e9000 rw-s 00000000 00:04 2714427                    /drm mm object (deleted)
7fbf737e9000-7fbf737ea000 rw-s 00000000 00:04 2714426                    /drm mm object (deleted)
7fbf737ea000-7fbf737eb000 rw-s 1142a6000 00:05 4766                      /dev/dri/card0
7fbf737eb000-7fbf737ec000 rw-s 1142a5000 00:05 4766                      /dev/dri/card0
7fbf737ec000-7fbf737ed000 rw-s 1142a4000 00:05 4766                      /dev/dri/card0
7fbf737ed000-7fbf737ee000 rw-s 1142a3000 00:05 4766                      /dev/dri/card0
7fbf737ee000-7fbf737ef000 rw-s 1142a2000 00:05 4766                      /dev/dri/card0
7fbf737ef000-7fbf737f0000 rw-s 1142a1000 00:05 4766                      /dev/dri/card0
7fbf737f0000-7fbf737f1000 rw-s 1142a0000 00:05 4766                      /dev/dri/card0
7fbf737f1000-7fbf737f2000 rw-s 11429f000 00:05 4766                      /dev/dri/card0
7fbf737f2000-7fbf737f3000 rw-s 11429e000 00:05 4766                      /dev/dri/card0
7fbf737f3000-7fbf737f4000 rw-s 11429d000 00:05 4766                      /dev/dri/card0
7fbf737f4000-7fbf737f8000 rw-s 114299000 00:05 4766                      /dev/dri/card0
7fbf737f8000-7fbf737f9000 rw-s 00000000 00:04 2714066                    /drm mm object (deleted)
7fbf737f9000-7fbf737fd000 rw-s 114295000 00:05 4766                      /dev/dri/card0
7fbf737fd000-7fbf737fe000 rw-s 00000000 00:04 2714063                    /drm mm object (deleted)
7fbf737fe000-7fbf73802000 rw-s 114291000 00:05 4766                      /dev/dri/card0
7fbf73802000-7fbf73902000 rw-s 113d46000 00:05 4766                      /dev/dri/card0
7fbf73902000-7fbf73906000 rw-s 113bc2000 00:05 4766                      /dev/dri/card0
7fbf73906000-7fbf73907000 rw-s 00000000 00:04 2714119                    /drm mm object (deleted)
7fbf73907000-7fbf73908000 rw-s 1142f9000 00:05 4766                      /dev/dri/card0
7fbf73908000-7fbf7390c000 rw-s 113bbe000 00:05 4766                      /dev/dri/card0
7fbf7390c000-7fbf7390d000 rw-s 00000000 00:04 2714001                    /drm mm object (deleted)
7fbf7390d000-7fbf7390e000 rw-s 1142f4000 00:05 4766                      /dev/dri/card0
7fbf7390e000-7fbf73912000 rw-s 113bba000 00:05 4766                      /dev/dri/card0
7fbf73912000-7fbf73913000 rw-s 1142ef000 00:05 4766                      /dev/dri/card0
7fbf73913000-7fbf73914000 rw-s 1142ea000 00:05 4766                      /dev/dri/card0
7fbf73914000-7fbf73918000 rw-s 113bb6000 00:05 4766                      /dev/dri/card0
7fbf73918000-7fbf73919000 rw-s 00000000 00:04 2713994                    /drm mm object (deleted)
7fbf73919000-7fbf7391a000 rw-s 00000000 00:04 2713992                    /drm mm object (deleted)
7fbf7391a000-7fbf7391e000 rw-s 113bb2000 00:05 4766                      /dev/dri/card0
7fbf7391e000-7fbf7391f000 rw-s 00000000 00:04 2713989                    /drm mm object (deleted)
7fbf7391f000-7fbf73923000 rw-s 113bae000 00:05 4766                      /dev/dri/card0
7fbf73923000-7fbf73924000 rw-s 1142e5000 00:05 4766                      /dev/dri/card0
7fbf73924000-7fbf73925000 rw-s 00000000 00:04 2714425                    /drm mm object (deleted)
7fbf73925000-7fbf73926000 rw-s 00000000 00:04 2714424                    /drm mm object (deleted)
7fbf73926000-7fbf7392a000 rw-s 113baa000 00:05 4766                      /dev/dri/card0
7fbf7392a000-7fbf7392b000 rw-s 00000000 00:04 2713981                    /drm mm object (deleted)
7fbf7392b000-7fbf7392c000 rw-s 00000000 00:04 2713980                    /drm mm object (deleted)
7fbf7392c000-7fbf7392d000 rw-s 00000000 00:04 2713972                    /drm mm object (deleted)
7fbf7392d000-7fbf7392e000 rw-s 00000000 00:04 2714423                    /drm mm object (deleted)
7fbf7392e000-7fbf7392f000 rw-s 00000000 00:04 2714422                    /drm mm object (deleted)
7fbf7392f000-7fbf73930000 rw-s 00000000 00:04 2713970                    /drm mm object (deleted)
7fbf73930000-7fbf73931000 rw-s 00000000 00:04 2713433                    /drm mm object (deleted)
7fbf73931000-7fbf73932000 rw-s 1142b4000 00:05 4766                      /dev/dri/card0
7fbf73933000-7fbf73937000 rw-s 1137b2000 00:05 4766                      /dev/dri/card0
7fbf74724000-7fbf7472c000 r-xp 00000000 08:09 264415                     /usr/lib/libpciaccess.so.0.10.8
7fbf7472c000-7fbf7492b000 ---p 00008000 08:09 264415                     /usr/lib/libpciaccess.so.0.10.8
7fbf7492b000-7fbf7492c000 rw-p 00007000 08:09 264415                     /usr/lib/libpciaccess.so.0.10.8
7fbf7492c000-7fbf74937000 r-xp 00000000 08:09 393428                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7fbf74937000-7fbf74b36000 ---p 0000b000 08:09 393428                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7fbf74b36000-7fbf74b37000 rw-p 0000a000 08:09 393428                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7fbf74b37000-7fbf74b5d000 r-xp 00000000 08:09 268091                     /usr/lib/libexpat.so.1.5.2
7fbf74b5d000-7fbf74d5d000 ---p 00026000 08:09 268091                     /usr/lib/libexpat.so.1.5.2
7fbf74d5d000-7fbf74d5f000 rw-p 00026000 08:09 268091                     /usr/lib/libexpat.so.1.5.2
7fbf74d5f000-7fbf75093000 r-xp 00000000 08:09 400816                     /usr/lib/x86_64-linux-gnu/dri/i915_dri.so
7fbf75093000-7fbf75293000 ---p 00334000 08:09 400816                     /usr/lib/x86_64-linux-gnu/dri/i915_dri.so
7fbf75293000-7fbf752a9000 rw-p 00334000 08:09 400816                     /usr/lib/x86_64-linux-gnu/dri/i915_dri.so
7fbf752a9000-7fbf752ba000 rw-p 00000000 00:00 0
7fbf752ba000-7fbf752bb000 ---p 00000000 00:00 0
7fbf752bb000-7fbf75abb000 rw-p 00000000 00:00 0 Aborted


I have also added the few lines which comes up due to pulseaudio stuff but that is for completeness only.

The main error seems to be this line :-

Code: Select all

*** glibc detected *** ./allacrost: free(): invalid pointer: 0x00000000024e43c0 ***


Not a programmer hence cannot help/figure out what's going on . Sorry. Please let me know if there is anyway I can help.
Intel i5-7400, Asus Z270-P, 8 GB DDR4 2400 RAM, D-Link 502-T router, 64-bit Debian Buster, MATE 1.18 ,
shirish
Member
Posts: 72
Joined: Thu Oct 16, 2008 8:07 pm

Re: getting backtrace after saving and closing down the game

Postby shirish » Mon Jul 11, 2011 7:06 pm

Adding a bit. I just saw the audio thread on the fora and hence also added the "-d all" switch while calling allacrost. Here's the output I get after the pulseaudio stuff :-

Code: Select all

Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2760
AL lib: portaudio.c:219: Pa_OpenStream() returned an error: Device unavailable
WARNING:src/engine/audio/audio.cpp:SingletonInitialize:80: couldn't open device for version checking: PortAudio Default
MODE MANAGER: GameMode constructor invoked
WARNING:src/common/gui/textbox.cpp:_ReformatText:301: textbox font is invalid
WARNING:src/common/gui/textbox.cpp:_ReformatText:301: textbox font is invalid
WARNING:src/common/gui/textbox.cpp:_ReformatText:301: textbox font is invalid
DEBUG:src/modes/boot/boot.cpp:BootMode:80: BootMode constructor invoked
MODE MANAGER: GameMode constructor invoked
MODE MANAGER: GameMode constructor invoked
WARNING:src/common/gui/option.cpp:SetSelection:490: argument was invalid (out of bounds): 0
WARNING:src/common/gui/textbox.cpp:_ReformatText:301: textbox font is invalid
WARNING:src/modes/map/map_sprites.cpp:UpdateDialogueStatus:675: sprite: 2000 is referencing unknown dialogue: 10
WARNING:src/modes/map/map_sprites.cpp:UpdateDialogueStatus:675: sprite: 2001 is referencing unknown dialogue: 20
WARNING:src/modes/map/map_sprites.cpp:UpdateDialogueStatus:675: sprite: 2003 is referencing unknown dialogue: 22
WARNING:src/modes/map/map_sprites.cpp:UpdateDialogueStatus:675: sprite: 2004 is referencing unknown dialogue: 30
WARNING:src/modes/map/map_sprites.cpp:UpdateDialogueStatus:675: sprite: 2006 is referencing unknown dialogue: 40
WARNING:src/modes/map/map_sprites.cpp:UpdateDialogueStatus:675: sprite: 2007 is referencing unknown dialogue: 50
WARNING:src/modes/map/map_sprites.cpp:UpdateDialogueStatus:675: sprite: 2008 is referencing unknown dialogue: 60
WARNING:src/modes/map/map_sprites.cpp:UpdateDialogueStatus:675: sprite: 2009 is referencing unknown dialogue: 61
WARNING:src/modes/map/map_events.cpp:RegisterEvent:944: event with this ID already existed: 41
MODE MANAGER: GameMode destructor invoked
BOOT: BootMode destructor invoked.
MODE MANAGER: GameMode destructor invoked
MODE MANAGER: GameMode constructor invoked
DEBUG:src/modes/battle/battle.cpp:BattleMode:425: constructor invoked
WARNING:src/common/gui/option.cpp:SetSelection:490: argument was invalid (out of bounds): 0
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/common/gui/textbox.cpp:_ReformatText:324: tried to display text of height (47) in a window of lower height (40)
WARNING:src/modes/battle/battle.cpp:ChangeState:849: changed to invalid battle state: 6
WARNING:src/engine/script/script_read.cpp:CloseFile:107: could not close the file because it was not open.
MODE MANAGER: GameMode destructor invoked
MODE MANAGER: GameMode constructor invoked
MENU: MenuMode constructor invoked.
MODE MANAGER: GameMode constructor invoked
SCRIPT WARNING: In WriteScriptDescriptor::OpenFile(), the file to be opened already exists and will be overwritten: /home/shirish/.allacrost/saved_game_1.lua
SCRIPT WARNING: In WriteScriptDescriptor::OpenFile(), the file to be opened already exists and will be overwritten: /home/shirish/.allacrost/saved_game_2.lua
SCRIPT WARNING: In WriteScriptDescriptor::OpenFile(), the file to be opened already exists and will be overwritten: /home/shirish/.allacrost/saved_game_3.lua
SCRIPT WARNING: In WriteScriptDescriptor::OpenFile(), the file to be opened already exists and will be overwritten: /home/shirish/.allacrost/saved_game_4.lua
MODE MANAGER: GameMode destructor invoked
MODE MANAGER: GameMode constructor invoked
MODE MANAGER: ModeEngine destructor invoked
MODE MANAGER: GameMode destructor invoked
MENU: MenuMode destructor invoked.
MODE MANAGER: GameMode destructor invoked
MODE MANAGER: GameMode destructor invoked
DEBUG:src/common/global/global.cpp:~GameGlobal:86: GameGlobal destructor invoked
WARNING:src/common/gui/gui.cpp:~GUISystem:198: there were undestroyed MenuWindows in GUISystem destructor
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/common/gui/gui.cpp:_RemoveMenuWindow:381: did not find a corresponding entry in the menu windows map
WARNING:src/engine/audio/audio.cpp:~AudioEngine:178: 2 SoundDescriptor objects were still registered when destructor was invoked
INPUT: InputEngine destructor invoked
DEBUG:src/engine/script/script.cpp:~ScriptEngine:52: ScriptEngine destructor invoked.
DEBUG:src/engine/system.cpp:~SystemEngine:255: destructor invoked
*** glibc detected *** ./allacrost: free(): invalid pointer: 0x00000000016f7090 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x72606)[0x7f1b1fdbb606]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f1b1fdc033c]
./allacrost[0x475fe0]
./allacrost[0x46f8c7]
./allacrost[0x46f9a9]
./allacrost[0x484bdb]
./allacrost[0x484ec9]
./allacrost[0x40eb8e]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d82)[0x7f1b1fd7fd82]
/lib/x86_64-linux-gnu/libc.so.6(+0x36dd5)[0x7f1b1fd7fdd5]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x104)[0x7f1b1fd67eb4]
./allacrost[0x40e8bd]
======= Memory map: ========
00400000-00707000 r-xp 00000000 08:09 269870                             /usr/local/src/allacrost-svntrunk/game/allacrost
00907000-00909000 rw-p 00307000 08:09 269870                             /usr/local/src/allacrost-svntrunk/game/allacrost
00909000-0090c000 rw-p 00000000 00:00 0
0100e000-02707000 rw-p 00000000 00:00 0                                  [heap]
7f1b06464000-7f1b065e4000 rw-s 10f7bb000 00:05 4766                      /dev/dri/card0
7f1b065e4000-7f1b06764000 rw-s 10f63b000 00:05 4766                      /dev/dri/card0
7f1b068e4000-7f1b068e8000 rw-s 10f4b7000 00:05 4766                      /dev/dri/card0
7f1b06c2a000-7f1b06d2a000 rw-s 115d89000 00:05 4766                      /dev/dri/card0
7f1b06d2a000-7f1b06d2b000 rw-s 00000000 00:04 2729080                    /drm mm object (deleted)
7f1b06eeb000-7f1b06feb000 rw-s 10e93a000 00:05 4766                      /dev/dri/card0
7f1b0705d000-7f1b0705e000 rw-s 10fcc8000 00:05 4766                      /dev/dri/card0
7f1b07060000-7f1b07061000 rw-s 00000000 00:04 2728290                    /drm mm object (deleted)
7f1b07064000-7f1b07065000 rw-s 00000000 00:04 2728192                    /drm mm object (deleted)
7f1b07065000-7f1b07066000 rw-s 00000000 00:04 2728184                    /drm mm object (deleted)
7f1b07066000-7f1b07067000 rw-s 00000000 00:04 2728165                    /drm mm object (deleted)
7f1b07067000-7f1b07068000 rw-s 00000000 00:04 2729177                    /drm mm object (deleted)
7f1b07068000-7f1b07069000 rw-s 00000000 00:04 2728203                    /drm mm object (deleted)
7f1b07069000-7f1b0706a000 rw-s 00000000 00:04 2728201                    /drm mm object (deleted)
7f1b0706a000-7f1b0706b000 rw-s 00000000 00:04 2728198                    /drm mm object (deleted)
7f1b0706b000-7f1b0716b000 rw-s 10fbbf000 00:05 4766                      /dev/dri/card0
7f1b0716b000-7f1b0726b000 rw-s 10fabf000 00:05 4766                      /dev/dri/card0
7f1b0726b000-7f1b0736b000 rw-s 10f9bf000 00:05 4766                      /dev/dri/card0
7f1b0736b000-7f1b0746b000 rw-s 115c89000 00:05 4766                      /dev/dri/card0
7f1b0746b000-7f1b0746e000 r-xp 00000000 08:09 431911                     /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
7f1b0746e000-7f1b0766d000 ---p 00003000 08:09 431911                     /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
7f1b0766d000-7f1b0766e000 r--p 00002000 08:09 431911                     /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
7f1b0766e000-7f1b0766f000 rw-p 00003000 08:09 431911                     /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
7f1b0766f000-7f1b07716000 rw-p 00000000 00:00 0
7f1b0790b000-7f1b0790f000 rw-p 00000000 00:00 0
7f1b07969000-7f1b07a69000 rw-s 10ee39000 00:05 4766                      /dev/dri/card0
7f1b07a69000-7f1b07a6d000 rw-s 10f158000 00:05 4766                      /dev/dri/card0
7f1b07a6d000-7f1b07a6e000 rw-s 00000000 00:04 2728078                    /drm mm object (deleted)
7f1b07a75000-7f1b07a79000 rw-s 10f150000 00:05 4766                      /dev/dri/card0
7f1b07a79000-7f1b07a7a000 rw-s 00000000 00:04 2728071                    /drm mm object (deleted)
7f1b07a7a000-7f1b07a7b000 rw-s 00000000 00:04 2728069                    /drm mm object (deleted)
7f1b07a7f000-7f1b07a80000 rw-s 00000000 00:04 2728066                    /drm mm object (deleted)
7f1b07a80000-7f1b07a84000 rw-s 10f148000 00:05 4766                      /dev/dri/card0
7f1b07a8b000-7f1b07a8c000 rw-s 00000000 00:04 2728058                    /drm mm object (deleted)
7f1b07a8c000-7f1b07a8d000 rw-s 00000000 00:04 2728057                    /drm mm object (deleted)
7f1b07a8d000-7f1b07a8e000 rw-s 00000000 00:04 2728049                    /drm mm object (deleted)
7f1b07a90000-7f1b07a91000 rw-s 00000000 00:04 2728047                    /drm mm object (deleted)
7f1b07a98000-7f1b08000000 rw-p 00000000 00:00 0
7f1b08000000-7f1b08021000 rw-p 00000000 00:00 0
7f1b08021000-7f1b0c000000 ---p 00000000 00:00 0
7f1b0c01f000-7f1b0c023000 rw-s 10f9bb000 00:05 4766                      /dev/dri/card0
7f1b0c024000-7f1b0c025000 rw-s 00000000 00:04 2729288                    /drm mm object (deleted)
7f1b0c025000-7f1b0c026000 rw-s 00000000 00:04 2729287                    /drm mm object (deleted)
7f1b0c026000-7f1b0c027000 rw-s 00000000 00:04 2729286                    /drm mm object (deleted)
7f1b0c028000-7f1b0c029000 rw-s 00000000 00:04 2729284                    /drm mm object (deleted)
7f1b0c029000-7f1b0c02a000 rw-s 00000000 00:04 2729283                    /drm mm object (deleted)
7f1b0c02a000-7f1b0c02b000 rw-s 00000000 00:04 2729282                    /drm mm object (deleted)
7f1b0c02b000-7f1b0c02c000 rw-s 00000000 00:04 2729281                    /drm mm object (deleted)
7f1b0c02e000-7f1b0c02f000 rw-s 00000000 00:04 2729274                    /drm mm object (deleted)
7f1b0c02f000-7f1b0c030000 rw-s 00000000 00:04 2729273                    /drm mm object (deleted)
7f1b0c030000-7f1b0c031000 rw-s 00000000 00:04 2729224                    /drm mm object (deleted)
7f1b0c031000-7f1b0c032000 rw-s 00000000 00:04 2729272                    /drm mm object (deleted)
7f1b0c032000-7f1b0c033000 rw-s 00000000 00:04 2729271                    /drm mm object (deleted)
7f1b0c033000-7f1b0c034000 rw-s 00000000 00:04 2729270                    /drm mm object (deleted)
7f1b0c034000-7f1b0c035000 rw-s 00000000 00:04 2729268                    /drm mm object (deleted)
7f1b0c035000-7f1b0c036000 rw-s 10f9a7000 00:05 4766                      /dev/dri/card0
7f1b0c036000-7f1b0c03a000 rw-s 10f9a3000 00:05 4766                      /dev/dri/card0
7f1b0c03a000-7f1b0c03b000 rw-s 10f9a2000 00:05 4766                      /dev/dri/card0
7f1b0c03b000-7f1b0c03f000 rw-s 10f99e000 00:05 4766                      /dev/dri/card0
7f1b0c03f000-7f1b0c040000 rw-s 10f99d000 00:05 4766                      /dev/dri/card0
7f1b0c040000-7f1b0c044000 rw-s 10f999000 00:05 4766                      /dev/dri/card0
7f1b0c044000-7f1b0c045000 rw-s 10f998000 00:05 4766                      /dev/dri/card0
7f1b0c045000-7f1b0c046000 rw-s 00000000 00:04 2729267                    /drm mm object (deleted)
7f1b0c04a000-7f1b0c04b000 rw-s 10f992000 00:05 4766                      /dev/dri/card0
7f1b0c04f000-7f1b0c050000 rw-s 00000000 00:04 2729375                    /drm mm object (deleted)
7f1b0c050000-7f1b0c051000 rw-s 00000000 00:04 2729374                    /drm mm object (deleted)
7f1b0c055000-7f1b0c056000 rw-s 00000000 00:04 2729373                    /drm mm object (deleted)
7f1b0c056000-7f1b0c057000 rw-s 00000000 00:04 2729372                    /drm mm object (deleted)
7f1b0c057000-7f1b0c05b000 rw-s 10f982000 00:05 4766                      /dev/dri/card0
7f1b0c05b000-7f1b0c05f000 rw-s 10f97d000 00:05 4766                      /dev/dri/card0
7f1b0c063000-7f1b0c064000 rw-s 00000000 00:04 2727950                    /drm mm object (deleted)
7f1b0c064000-7f1b0c065000 rw-s 00000000 00:04 2729266                    /drm mm object (deleted)
7f1b0c065000-7f1b0c066000 rw-s 00000000 00:04 2727948                    /drm mm object (deleted)
7f1b0c066000-7f1b0c067000 rw-s 00000000 00:04 2727947                    /drm mm object (deleted)
7f1b0c067000-7f1b0c068000 rw-s 00000000 00:04 2727946                    /drm mm object (deleted)
7f1b0c068000-7f1b0c069000 rw-s 00000000 00:04 2727945                    /drm mm object (deleted)
7f1b0c069000-7f1b0c06a000 rw-s 00000000 00:04 2727944                    /drm mm object (deleted)
7f1b0c06a000-7f1b0c06b000 rw-s 00000000 00:04 2727943                    /drm mm object (deleted)
7f1b0c06b000-7f1b0c06c000 rw-s 00000000 00:04 2727942                    /drm mm object (deleted)
7f1b0c06c000-7f1b0c06d000 rw-s 00000000 00:04 2727941                    /drm mm object (deleted)
7f1b0c06d000-7f1b0c06e000 rw-s 00000000 00:04 2727940                    /drm mm object (deleted)
7f1b0c06e000-7f1b0c06f000 rw-s 00000000 00:04 2727939                    /drm mm object (deleted)
7f1b0c06f000-7f1b0c070000 rw-s 00000000 00:04 2727938                    /drm mm object (deleted)
7f1b0c070000-7f1b0c071000 rw-s 00000000 00:04 2729263                    /drm mm object (deleted)
7f1b0c071000-7f1b0c072000 rw-s 00000000 00:04 2727936                    /drm mm object (deleted)
7f1b0c072000-7f1b0c073000 rw-s 00000000 00:04 2729262                    /drm mm object (deleted)
7f1b0c073000-7f1b0c074000 rw-s 00000000 00:04 2727934                    /drm mm object (deleted)
7f1b0c074000-7f1b0c075000 rw-s 00000000 00:04 2727933                    /drm mm object (deleted)
7f1b0c075000-7f1b0c076000 rw-s 00000000 00:04 2727932                    /drm mm object (deleted)
7f1b0c076000-7f1b0c077000 rw-s 00000000 00:04 2727931                    /drm mm object (deleted)
7f1b0c077000-7f1b0c078000 rw-s 00000000 00:04 2727930                    /drm mm object (deleted)
7f1b0c078000-7f1b0c079000 rw-s 00000000 00:04 2727929                    /drm mm object (deleted)
7f1b0c079000-7f1b0c07a000 rw-s 00000000 00:04 2727928                    /drm mm object (deleted)
7f1b0c07a000-7f1b0c07b000 rw-s 00000000 00:04 2727927                    /drm mm object (deleted)
7f1b0c07b000-7f1b0c07c000 rw-s 00000000 00:04 2727926                    /drm mm object (deleted)
7f1b0c07c000-7f1b0c07d000 rw-s 00000000 00:04 2729261                    /drm mm object (deleted)
7f1b0c07d000-7f1b0c07e000 rw-s 10f981000 00:05 4766                      /dev/dri/card0
7f1b0c07e000-7f1b0c07f000 rw-s 10f97c000 00:05 4766                      /dev/dri/card0
7f1b0c07f000-7f1b0c080000 rw-s 00000000 00:04 2729371                    /drm mm object (deleted)
7f1b0c080000-7f1b0c081000 rw-s 00000000 00:04 2729370                    /drm mm object (deleted)
7f1b0c081000-7f1b0c085000 rw-s 10f972000 00:05 4766                      /dev/dri/card0
7f1b0c085000-7f1b0c086000 rw-s 00000000 00:04 2728385                    /drm mm object (deleted)
7f1b0c086000-7f1b0c087000 rw-s 00000000 00:04 2728384                    /drm mm object (deleted)
7f1b0c087000-7f1b0c08b000 rw-s 10f96c000 00:05 4766                      /dev/dri/card0
7f1b0c08b000-7f1b0c08c000 rw-s 10f96b000 00:05 4766                      /dev/dri/card0
7f1b0c08c000-7f1b0c090000 rw-s 10f967000 00:05 4766                      /dev/dri/card0
7f1b0c090000-7f1b0c091000 rw-s 10f966000 00:05 4766                      /dev/dri/card0
7f1b0c091000-7f1b0c095000 rw-s 10f962000 00:05 4766                      /dev/dri/card0
7f1b0c095000-7f1b0c096000 rw-s 00000000 00:04 2728383                    /drm mm object (deleted)
7f1b0c096000-7f1b0c097000 rw-s 00000000 00:04 2728382                    /drm mm object (deleted)
7f1b0c097000-7f1b0c09b000 rw-s 10f95c000 00:05 4766                      /dev/dri/card0
7f1b0c09b000-7f1b0c09c000 rw-s 00000000 00:04 2728381                    /drm mm object (deleted)
7f1b0c09c000-7f1b0c09d000 rw-s 00000000 00:04 2728380                    /drm mm object (deleted)
7f1b0c0a1000-7f1b0c0a2000 rw-s 10f955000 00:05 4766                      /dev/dri/card0
7f1b0c0a2000-7f1b0c0a3000 rw-s 10f954000 00:05 4766                      /dev/dri/card0
7f1b0c0a7000-7f1b0c0a8000 rw-s 10f94f000 00:05 4766                      /dev/dri/card0
7f1b0c0a8000-7f1b0c0a9000 rw-s 00000000 00:04 2729176                    /drm mm object (deleted)
7f1b0c0a9000-7f1b0c0aa000 rw-s 00000000 00:04 2728379                    /drm mm object (deleted)
7f1b0c0aa000-7f1b0c0ab000 rw-s 00000000 00:04 2728378                    /drm mm object (deleted)
7f1b0c0ab000-7f1b0c0ac000 rw-s 10f94c000 00:05 4766                      /dev/dri/card0
7f1b0c0ac000-7f1b0c0ad000 rw-s 00000000 00:04 2728377                    /drm mm object (deleted)
7f1b0c0ad000-7f1b0c0ae000 rw-s 10f9ae000 00:05 4766                      /dev/dri/card0
7f1b0c0ae000-7f1b0c0af000 rw-s 00000000 00:04 2728182                    /drm mm object (deleted)
7f1b0c0af000-7f1b0c0b0000 rw-s 10f948000 00:05 4766                      /dev/dri/card0
7f1b0c0b0000-7f1b0c0b1000 rw-s 10f947000 00:05 4766                      /dev/dri/card0
7f1b0c0b1000-7f1b0c0b2000 rw-s 10f946000 00:05 4766                      /dev/dri/card0
7f1b0c0b2000-7f1b0c0b3000 rw-s 10f945000 00:05 4766                      /dev/dri/card0
7f1b0c0b3000-7f1b0c0b4000 rw-s 10f944000 00:05 4766                      /dev/dri/card0
7f1b0c0b4000-7f1b0c0b5000 rw-s 10f943000 00:05 4766                      /dev/dri/card0
7f1b0c0b5000-7f1b0c0b6000 rw-s 10f942000 00:05 4766                      /dev/dri/card0
7f1b0c0b6000-7f1b0c0b7000 rw-s 10f941000 00:05 4766                      /dev/dri/card0
7f1b0c0b7000-7f1b0c0b8000 rw-s 10f940000 00:05 4766                      /dev/dri/card0
7f1b0c0bc000-7f1b0c941000 rw-p 00000000 00:00 0
7f1b0c941000-7f1b0c949000 r-xp 00000000 08:09 264415                     /usr/lib/libpciaccess.so.0.10.8
7f1b0c949000-7f1b0cb48000 ---p 00008000 08:09 264415                     /usr/lib/libpciaccess.so.0.10.8
7f1b0cb48000-7f1b0cb49000 rw-p 00007000 08:09 264415                     /usr/lib/libpciaccess.so.0.10.8
7f1b0cb49000-7f1b0cb54000 r-xp 00000000 08:09 393428                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7f1b0cb54000-7f1b0cd53000 ---p 0000b000 08:09 393428                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7f1b0cd53000-7f1b0cd54000 rw-p 0000a000 08:09 393428                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7f1b0cd54000-7f1b0cd7a000 r-xp 00000000 08:09 268091                     /usr/lib/libexpat.so.1.5.2
7f1b0cd7a000-7f1b0cf7a000 ---p 00026000 08:09 268091                     /usr/lib/libexpat.so.1.5.2
7f1b0cf7a000-7f1b0cf7c000 rw-p 00026000 08:09 268091                     /usr/lib/libexpat.so.1.5.2
7f1b0cf7c000-7f1b0d2b0000 r-xp 00000000 08:09 400816                     /usr/lib/x86_64-linux-gnu/dri/i915_dri.so
7f1b0d2b0000-7f1b0d4b0000 ---p 00334000 08:09 400816                     /usr/lib/x86_64-linux-gnu/dri/i915_dri.so
7f1b0d4b0000-7f1b0d4c6000 rw-p 00334000 08:09 400816                     /usr/lib/x86_64-linux-gnu/dri/i915_dri.so
7f1b0d4c6000-7f1b0d4d7000 rw-p 00000000 00:00 0
7f1b0d4d7000-7f1b0d4d8000 ---p 00000000 00:00 0
7f1b0d4d8000-7f1b0dcd8000 rw-p 00000000 00:00 0 Aborted


As before, the first few lines of the audio part is just for completeness.

Hope somebody can figure something out.
Intel i5-7400, Asus Z270-P, 8 GB DDR4 2400 RAM, D-Link 502-T router, 64-bit Debian Buster, MATE 1.18 ,
User avatar
Roots
Dictator
Posts: 8664
Joined: Wed Jun 16, 2004 6:07 pm
Location: Austin TX
Contact:

Re: getting backtrace after saving and closing down the game

Postby Roots » Mon Jul 11, 2011 10:28 pm

Do you have the same problem if you exit the game without saving? Our save code has been undergoing some changes recently so its possible that there's a new bug in there. I'll wait for rujasu to comment on this before I begin investigating the issue. Thanks for pointing it out to us.
Image
rujasu
Developer
Posts: 758
Joined: Sun Feb 25, 2007 5:40 am
Location: Maryland, USA

Re: getting backtrace after saving and closing down the game

Postby rujasu » Mon Jul 11, 2011 11:06 pm

It's not happening for me at all. I used to get backtraces every once in a while, but I don't get them any more. I highly doubt it has anything to do with the alterations to SaveMode, but you can try running an older revision (something like r1990 or so) and see if you get the same backtrace.

What are your system specs, and what version/distro of Linux are you running?
shirish
Member
Posts: 72
Joined: Thu Oct 16, 2008 8:07 pm

Re: getting backtrace after saving and closing down the game

Postby shirish » Tue Jul 12, 2011 5:36 am

rujasu wrote:It's not happening for me at all. I used to get backtraces every once in a while, but I don't get them any more. I highly doubt it has anything to do with the alterations to SaveMode, but you can try running an older revision (something like r1990 or so) and see if you get the same backtrace.

What are your system specs, and what version/distro of Linux are you running?


hmm....

@ Roots - no it does not happen when not saving. It happens only when I save.

@Rajasu I think my system specs and distro issues were already known in my signature, but here we go again.

Code: Select all

Intel Dual-Core CPU E5400 @ 2.70GHz, Asus MB P5KPL-AM IN, D-Link 502-T router, 64-bit Debian Sid, GNOME 2.30.2 , 2 GB DDR2 RAM
Intel i5-7400, Asus Z270-P, 8 GB DDR4 2400 RAM, D-Link 502-T router, 64-bit Debian Buster, MATE 1.18 ,
nan
Newbie
Posts: 18
Joined: Sat May 28, 2011 12:57 pm

Re: getting backtrace after saving and closing down the game

Postby nan » Tue Jul 12, 2011 8:17 am

Looks like a save menu issue(on exit if load or save invoked before):
#0 004202EF hoa_gui::MenuWindow::Destroy() () (??:??)
#1 00000000 0x0041ba12 in _fu59___ZSt4cerr() (??:??)
#2 00000000 0x08651798 in ??() (??:??)
#3 00000000 0x0028fc60 in ??() (??:??)
#4 0041B84A hoa_gui::GUISystem::~GUISystem() () (??:??)
#5 006CB4E8 hoa_utils::Singleton<hoa_gui::GUISystem>::SingletonDestroy() () (??:??)
#6 00490782 QuitAllacrost() () (??:??)
User avatar
Roots
Dictator
Posts: 8664
Joined: Wed Jun 16, 2004 6:07 pm
Location: Austin TX
Contact:

Re: getting backtrace after saving and closing down the game

Postby Roots » Tue Jul 12, 2011 11:11 pm

Looks like save mode is not handling menu window Create() and Destroy() calls properly (they basically function like "new" and "delete" operators for the GUI system/video engine).


shrirsh, for future reference function stack traces like nan posted are typically more helpful than full backtraces because they tell us what functions were being called in our application before the crash happened.
Image
rujasu
Developer
Posts: 758
Joined: Sun Feb 25, 2007 5:40 am
Location: Maryland, USA

Re: getting backtrace after saving and closing down the game

Postby rujasu » Wed Jul 13, 2011 5:19 am

shirish wrote:@Rajasu I think my system specs and distro issues were already known in my signature, but here we go again.


Ha, oops. Sorry about that, I tend to skim over signatures so I missed that completely.

Added the proper Destroy() calls in r2008. I wasn't having the problems before, so I don't know if that fixes anything.
shirish
Member
Posts: 72
Joined: Thu Oct 16, 2008 8:07 pm

Re: getting backtrace after saving and closing down the game

Postby shirish » Wed Jul 13, 2011 8:41 am

Roots wrote:Looks like save mode is not handling menu window Create() and Destroy() calls properly (they basically function like "new" and "delete" operators for the GUI system/video engine).


shrirsh, for future reference function stack traces like nan posted are typically more helpful than full backtraces because they tell us what functions were being called in our application before the crash happened.


I am willing to get stack traces provided :-

a. Somebody can tell/share how to generate them ?
b. What to look for ?

Please be aware that I'm not a programmer so any instructions if they are layman-average joe friendly, the better it would be .

Edit: For what its worth, the last change (perhaps) did the trick as I do not get that backtrace anymore.

A query though :-

Where do I see the creatures ?

Code: Select all

------------------------------------------------------------------------
r2006 | rootslinux | 2011-07-12 04:28:57 +0530 (Tue, 12 Jul 2011) | 1 line

Added following enemy definitions: rat, dune crawler, stygian lizard, demonic essence; Added template image for constructiong actor icons; Fixed some graphical blemishes with the scorpion goliath icon
------------------------------------------------------------------------


Just the definitions are there or we can see them, and if yes do I need to play the game anew to see them ?

Thanx in advance.
Intel i5-7400, Asus Z270-P, 8 GB DDR4 2400 RAM, D-Link 502-T router, 64-bit Debian Buster, MATE 1.18 ,
nan
Newbie
Posts: 18
Joined: Sat May 28, 2011 12:57 pm

Re: getting backtrace after saving and closing down the game

Postby nan » Wed Jul 13, 2011 10:35 am

I am willing to get stack traces provided :-
a. Somebody can tell/share how to generate them ?
b. What to look for ?

This is on windows, but linux is analogous.
- Switch into executable directory and start the debugger: "gdb AllacrostWinDbg.exe"
- Run the executable "run"
- On exit you will get:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0x004202ef in hoa_gui::MenuWindow::Destroy() ()

- Get the call stack: "backtrace"

Code: Select all

(gdb) backtrace
#0  0x004202ef in hoa_gui::MenuWindow::Destroy() ()
#1  0x0041ba12 in _fu59___ZSt4cerr ()
#2  0x07c71918 in ?? ()
#3  0x0028fc60 in ?? ()
#4  0x0041b84a in hoa_gui::GUISystem::~GUISystem() ()
#5  0x006cb4e8 in hoa_utils::Singleton<hoa_gui::GUISystem>::SingletonDestroy() ()
#6  0x00490782 in QuitAllacrost() ()
#7  0x7709c3e9 in msvcrt!isspace () from C:\Windows\syswow64\msvcrt.dll
#8  0x770a36bb in msvcrt!exit () from C:\Windows\syswow64\msvcrt.dll
#9  0x005792b3 in console_main (argc=1, argv=0x3c3658) at ./src/main/win32/SDL_win32_main.c:249
#10 0x00579489 in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0xad3a11 "", sw=10) at ./src/main/win32/SDL_win32_main.c:382
#11 0x00578c36 in main ()

- Quit the debugger: "quit"

The first few lines should be enough to get an idea of what is broken.
User avatar
Roots
Dictator
Posts: 8664
Joined: Wed Jun 16, 2004 6:07 pm
Location: Austin TX
Contact:

Re: getting backtrace after saving and closing down the game

Postby Roots » Thu Jul 14, 2011 2:37 am

shirish wrote:A query though :-

Where do I see the creatures ?


Go to "Battle" from the boot screen and you'll see two of them.
Image
shirish
Member
Posts: 72
Joined: Thu Oct 16, 2008 8:07 pm

Re: getting backtrace after saving and closing down the game

Postby shirish » Thu Jul 14, 2011 10:16 am

@ nan oh , I know/knew about gdb but did not know you guys used it. Should have guessed by that talk about the stacktrace ... oh well.

@Roots ... wow, nice :)
Intel i5-7400, Asus Z270-P, 8 GB DDR4 2400 RAM, D-Link 502-T router, 64-bit Debian Buster, MATE 1.18 ,

Return to “Technical Issues”

Who is online

Users browsing this forum: No registered users and 1 guest