Wadjet Eye Games

Author Topic: (spoiler?) Crash with blackwell deception on Linux (save and backtrace included)  (Read 1918 times)

Offline TMM

  • Newbie
  • *
  • Posts: 9
    • View Profile
Hello,

I have successfully completed blackwell 4 on linux using the same binaries as convergence but I found a crashing bug in the club. When trying to leave the VIP area as joey after talking the interpreter segfaults. This happens every time and I have a save from just before it happens.

The saves can be downloaded here: https://tmm.cx/~hp/deception_save/

This can be worked around by switching to Rosa and just leaving. I have attached the savegame if that helps.

AGS: Adventure Game Studio v3.3 Interpreter
Copyright (c) 1999-2011 Chris Jones and 2011-20xx others
ACI version 3.3.0.1132

This is the full program output and gdb backtrace:

Quote
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
AGS: Adventure Game Studio v3.3 Interpreter
Copyright (c) 1999-2011 Chris Jones and 2011-20xx others
ACI version 3.3.0.1132

AGS: ***** ENGINE STARTUP
AGS: Reading config file
AGS: Initializing allegro
[New Thread 0x7ffff0889700 (LWP 24515)]
AGS: Setting up window
AGS: Initializing game data
AGS: Initializing TTF renderer
AGS: Initializing mouse
AGS: Checking memory
AGS: Initializing speech vox
Speech sample file found and initialized.
AGS: Initializing audio vox
Audio vox found and initialized.
AGS: Initializing keyboard
AGS: Install timer
Checking sound inits.
[New Thread 0x7ffff0088700 (LWP 24516)]
AGS: Initialize sound drivers
[New Thread 0x7fffe9e1a700 (LWP 24517)]
[Thread 0x7fffe9e1a700 (LWP 24517) exited]
[New Thread 0x7fffe9e1a700 (LWP 24518)]
AGS: Install exit handler
AGS: Initialize path finder library
AGS: Initialize gfx
AGS: Load game data
AGS: Blackwell Deception
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 in Setup
AGS: Attempt to switch gfx mode to 640 x 480 (32-bit)
AGS: Succeeded. Using gfx mode 640 x 480 (32-bit)
AGS: Preparing graphics mode screen
AGS: Screen resolution: 640 x 480; game resolution 640 x 400
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 0x7fffe8ff7700 (LWP 24519)]
AGS: Checking replay status
AGS: Engine initialization complete
AGS: Starting game
AGS: Loading room 7
AGS: Room change requested to room 44
AGS: Unloading room 7
AGS: Loading room 44
AGS: Unloading room 44
AGS: Loading room 37
AGS: Room change requested to room 36
AGS: Unloading room 37
AGS: Loading room 36

Program received signal SIGSEGV, Segmentation fault.
0x0000000000526953 in ALSoftwareGraphicsDriver::draw_sprite_with_transparency(AGS::Common::Bitmap*, int, int, int) ()
(gdb) bt
#0  0x0000000000526953 in ALSoftwareGraphicsDriver::draw_sprite_with_transparency(AGS::Common::Bitmap*, int, int, int) ()
#1  0x0000000000526cba in ALSoftwareGraphicsDriver::RenderToBackBuffer() ()
#2  0x0000000000525de4 in ALSoftwareGraphicsDriver::Render(AGS::Engine::GlobalFlipType) ()
#3  0x00000000004d7c97 in render_to_screen(AGS::Common::Bitmap*, int, int) ()
#4  0x00000000004d8da6 in update_screen() ()
#5  0x00000000005312b1 in game_loop_do_render_and_check_mouse(AGS::Engine::IDriverDependantBitmap*, int, int) ()
#6  0x000000000053272e in mainloop(bool, AGS::Engine::IDriverDependantBitmap*, int, int) ()
#7  0x00000000005327ae in main_game_loop() ()
#8  0x000000000053284d in do_main_cycle(int, long) ()
#9  0x00000000004c9d7a in Sc_Character_Walk(void*, RuntimeScriptValue const*, int) ()
#10 0x0000000000543919 in ccInstance::Run(int) ()
#11 0x0000000000543fd4 in ccInstance::CallScriptFunction(char*, int, RuntimeScriptValue*) ()
#12 0x000000000054459a in ccInstance::RunScriptFunctionIfExists(char*, int, RuntimeScriptValue*) ()
#13 0x0000000000544849 in ccInstance::RunTextScript(char*) ()
#14 0x0000000000548468 in run_interaction_script(InteractionScripts*, int, int, int) ()
#15 0x00000000004de0c5 in process_event(EventHappened*) ()
#16 0x00000000004de8ea in processallevents(int, EventHappened*) ()
#17 0x00000000004de924 in update_events() ()
#18 0x0000000000531203 in game_loop_update_events() ()
#19 0x000000000053273d in mainloop(bool, AGS::Engine::IDriverDependantBitmap*, int, int) ()
#20 0x00000000005327ae in main_game_loop() ()
#21 0x00000000005328d8 in do_play_game() ()
#22 0x0000000000532bc5 in initialize_start_and_play_game(int, char const*) ()
#23 0x000000000052f432 in initialize_engine(int, char**) ()
#24 0x0000000000534954 in _mangled_main(int, char**) ()
#25 0x00007ffff62adec5 in __libc_start_main (main=0x5a10f0 <main>, argc=1, argv=0x7fffffffdb88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffdb78) at libc-start.c:287
#26 0x0000000000473cd9 in _start ()