hi, all!
This is what happens with latest main branch hash 15039fef3d25004c6ea65501b6da736c59681ee 0,
with Quest For Glory II remake during load of game, after saving,
I run it under gdb:
slapin@slapin:~/qfg2$ gdb --args /usr/bin/ags Qfg2vga.exe
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ags...Reading symbols from /usr/lib/debug/usr/bin/ags...done.
done.
(gdb) run
Starting program: /usr/bin/ags Qfg2vga.exe
[Thread debugging using libthread_db enabled]
Adventure Creator v3.21 Interpreter
Copyright (c) 1999-2001 Chris Jones
ACI version 3.21.1115
AGS: ***** ENGINE STARTUP
AGS: Reading config file
AGS: Initializing allegro
[New Thread 0xb764eb70 (LWP 8498)]
AGS: Setting up window
AGS: Initializing game data
AGS: Initializing TTF renderer
AGS: Initializing mouse
AGS: Checking memory
ci_find_file: cannot change to directory: Compiled
AGS: Initializing audio vox
Audio vox found and initialized.
AGS: Initializing keyboard
AGS: Install timer
Checking sound inits.
[New Thread 0xb6e4db70 (LWP 8499)]
AGS: Initialize sound drivers
[New Thread 0xb664cb70 (LWP 8500)]
[Thread 0xb664cb70 (LWP 8500) exited]
AGS: Install exit handler
AGS: Initialize path finder library
AGS: Initialize gfx
AGS: Load game data
AGS: Quest for Glory II
AGS: Checking for disk space
AGS: Initializing MOD/XM player
AGS: Initializing screen settings
AGS: Init gfx filters
AGS: Init gfx driver
AGS: Switching to graphics mode
AGS: Widescreen side borders: disabled (windowed mode)
AGS: Attempt to switch gfx mode to 320 x 200 (32-bit)
AGS: Succeeded. Using gfx mode 320 x 200 (32-bit)
AGS: Preparing graphics mode screen
AGS: Initializing colour conversion
AGS: Check for preload image
AGS: Initialize sprites
AGS: Set up screen
AGS: Initialize game settings
AGS: Prepare to start game
[New Thread 0xb664cb70 (LWP 8501)]
AGS: Checking replay status
AGS: Engine initialization complete
AGS: Starting game
AGS: Loading room 0
AGS: Room change requested to room 87
AGS: Unloading room 0
AGS: Loading room 87
AGS: Room change requested to room 1
AGS: Unloading room 87
AGS: Loading room 1
AGS: Unloading room 1
An error has occurred. Please contact the game author for support, as this is likely to be a scripting error and not a bug in AGS.
(ACI version 3.21.1115)
Error: Restore_Game: Game has changed (dlg), unable to restore
[Thread 0xb664cb70 (LWP 8501) exited]
[Thread 0xb6e4db70 (LWP 8499) exited]
[Thread 0xb764eb70 (LWP 8498) exited]
Program received signal SIGSEGV, Segmentation fault.
reset () at ../Common/acroom.h:680
680 response->reset();
(gdb) bt
#0 reset () at ../Common/acroom.h:680
#1 ~NewInteraction () at ../Common/acroom.h:688
#2 ~RoomStatus () at ../Common/acruntim.h:94
#3 resetRoomStatuses () at ac.cpp:440
#4 0x080f656a in quit (quitmsg=0x814961c "!Restore_Game: Game has changed (dlg), unable to restore") at ac.cpp:9675
#5 0x081212ea in restore_game_data (ooo=0x8441c08, nametouse=0xbfffcedc "./agssave.001.Qfg2Sav") at ac.cpp:24157
#6 0x08115fb6 in do_game_load (nametouse=0xbfffcedc "./agssave.001.Qfg2Sav", slotNumber=1, descrp=0x0, wantShot=0x0) at ac.cpp:24697
#7 0x081160bd in load_game (slotn=1, descrp=0x0, wantShot=0x0) at ac.cpp:24725
#8 0x081166f0 in load_game_and_print_error (toload=1) at ac.cpp:3229
#9 0x081169e5 in post_script_cleanup () at ac.cpp:3373
#10 0x08116c47 in run_script_function_if_exist (sci=0x8677090, tsname=0x8225704 "interface_click", numParam=2, iparam=32, iparam2=0, iparam3=0) at ac.cpp:3537
#11 0x08116ed3 in run_text_script_2iparam (sci=0x8677090, tsname=<value optimized out>, iparam=32, param2=0) at ac.cpp:3634
#12 0x081172e3 in process_interface_click (ifce=32, btn=0, mbut=1) at ac.cpp:5661
#13 0x08119409 in process_event (evp=0xbfffd910) at ac.cpp:5205
#14 0x08119d3d in processallevents (numev=4, evlist=0x8232260) at ac.cpp:5238
#15 0x08119d78 in update_events () at ac.cpp:5248
#16 0x0811b862 in mainloop (checkControls=true, extraBitmap=0x0, extraX=0, extraY=0) at ac.cpp:26641
#17 0x0811bd49 in main_game_loop () at ac.cpp:26775
#18 0x08123fe8 in initialize_start_and_play_game (override_start_room=0, loadSaveGameOnStartup=0x0) at ac.cpp:27938
#19 0x08125b92 in initialize_engine (argc=2, argv=0xbffff484) at ac.cpp:29308
#20 0x080815b3 in main (argc=2, argv=0xbffff484) at ac.cpp:28363
When run game under wine, no problem occurs.
Hope that helps,
S.