[Scummvm-tracker] [ScummVM :: Bugs] #12593: AGS: Guard Duty: crash during the intro (was: AGS: Guard Duty: crash with an assertion at common/rect.h:161)
ScummVM :: Bugs
trac at scummvm.org
Tue Jul 6 22:16:19 UTC 2021
#12593: AGS: Guard Duty: crash during the intro
--------------------------+--------------------------
Reporter: lolbot-iichan | Owner: dreammaster
Type: defect | Status: new
Priority: normal | Component: Engine: AGS
Version: | Resolution:
Keywords: | Game:
--------------------------+--------------------------
Changes (by lolbot-iichan):
* status: closed => new
* resolution: fixed =>
* summary: AGS: Guard Duty: crash with an assertion at common/rect.h:161
=> AGS: Guard Duty: crash during the intro
Comment:
Unfortunately, it's not fixed.
Now I get SIGSEGV instead of SIGTRAP:
{{{
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00000001406bc8cd in Graphics::ManagedSurface::fillRect (this=0x135c1700,
r=..., color=0) at ./graphics/managed_surface.h:583
583 addDirtyRect(r);
(gdb) bt
#0 0x00000001406bc8cd in Graphics::ManagedSurface::fillRect (
this=0x135c1700, r=..., color=0) at ./graphics/managed_surface.h:583
#1 0x0000000140430131 in Graphics::ManagedSurface::clear
(this=0x135c1700,
color=0) at graphics/managed_surface.cpp:729
#2 0x000000014042ddd1 in Graphics::ManagedSurface::create
(this=0x135c1700,
width=10000, height=15, pixelFormat=...)
at graphics/managed_surface.cpp:158
#3 0x000000014042d6f4 in Graphics::ManagedSurface::ManagedSurface (
this=0x135c1700, width=10000, height=15, pixelFormat=...)
at graphics/managed_surface.cpp:60
#4 0x00000001405ca579 in AGS3::Surface::Surface (this=0x135c1700,
width=10000, height=15, pixelFormat=...)
at ./engines/ags/lib/allegro/surface.h:284
#5 0x0000000140050478 in AGS3::create_bitmap_ex (color_depth=32,
width=10000, height=15) at engines/ags/lib/allegro/surface.cpp:450
#6 0x0000000140063b1d in AGS3::AGS::Shared::Bitmap::Create
(this=0xf913ea0,
width=10000, height=15, color_depth=32)
at engines/ags/shared/gfx/allegro_bitmap.cpp:71
#7 0x0000000140063b87 in AGS3::AGS::Shared::Bitmap::CreateTransparent (
this=0xf913ea0, width=10000, height=15, color_depth=32)
at engines/ags/shared/gfx/allegro_bitmap.cpp:80
#8 0x00000001400650a5 in
AGS3::AGS::Shared::BitmapHelper::CreateTransparentBitmap (width=10000,
height=15, color_depth=32)
at engines/ags/shared/gfx/bitmap.cpp:44
#9 0x0000000140075b65 in AGS3::_display_main (xx=-9685, yy=5, wii=10000,
text=0x10fb8943 "When will this suffering end...", disp_type=0,
usingfont=1, asspch=65535, isThought=0, allowShrink=0,
overlayPositionFixed=false) at engines/ags/engine/ac/display.cpp:180
#10 0x0000000140076759 in AGS3::_display_at (xx=-50002, yy=5, wii=100000,
text=0x10fb8943 "When will this suffering end...", disp_type=0,
asspch=65535, isThought=0, allowShrink=0, overlayPositionFixed=false)
at engines/ags/engine/ac/display.cpp:364
#11 0x0000000140161b45 in AGS3::_displayspeech (
texx=0x10fb8943 "When will this suffering end...", aschar=1, xx=0,
yy=0,
widd=100000, isThought=0) at engines/ags/engine/ac/character.cpp:2675
#12 0x000000014019592e in AGS3::DisplaySpeechAt (xx=0, yy=0, wii=100000,
aschar=1, spch=0x10fb8940 "&1 When will this suffering end...")
at engines/ags/engine/ac/global_character.cpp:546
#13 0x000000014015b64f in AGS3::Character_SayAt (chaa=0xeeec70c, x=0, y=0,
width=100000, texx=0x10fb8940 "&1 When will this suffering end...")
at engines/ags/engine/ac/character.cpp:701
#14 0x0000000140163f4d in AGS3::Sc_Character_SayAt (self=0xeeec70c,
params=0x5fc170, param_count=4)
at engines/ags/engine/ac/character.cpp:3005
#15 0x0000000140106a89 in AGS3::ccInstance::Run (this=0x1333b0b0,
curpc=14505)
at engines/ags/engine/script/cc_instance.cpp:1009
#16 0x00000001401066e3 in AGS3::ccInstance::Run (this=0x1333b0b0,
curpc=407)
at engines/ags/engine/script/cc_instance.cpp:952
#17 0x00000001401066e3 in AGS3::ccInstance::Run (this=0x1333b0b0,
curpc=796)
at engines/ags/engine/script/cc_instance.cpp:952
#18 0x0000000140104710 in AGS3::ccInstance::CallScriptFunction (
this=0x1333b0b0,
funcname=0x140f1fda0 <AGS3::scfunctionname> "room_AfterFadeIn",
numargs=0, params=0x0) at
engines/ags/engine/script/cc_instance.cpp:342
#19 0x000000014010c47f in AGS3::RunScriptFunctionIfExists (sci=0x1333b0b0,
tsname=0x140f1fda0 <AGS3::scfunctionname> "room_AfterFadeIn",
numParam=0,
params=0x0) at engines/ags/engine/script/script.cpp:365
#20 0x000000014010c6ca in AGS3::RunTextScript (sci=0x1333b0b0,
tsname=0x1094e980 "room_AfterFadeIn")
at engines/ags/engine/script/script.cpp:414
#21 0x000000014010bf51 in AGS3::RunScriptFunction
(sc_inst=AGS3::kScInstRoom,
fn_name=0x1094e980 "room_AfterFadeIn", param_count=0, p1=..., p2=...)
at engines/ags/engine/script/script.cpp:271
#22 0x000000014010bec2 in AGS3::QueueScriptFunction (
sc_inst=AGS3::kScInstRoom, fn_name=0x1094e980 "room_AfterFadeIn",
param_count=0, p1=..., p2=...) at
engines/ags/engine/script/script.cpp:260
#23 0x000000014010b960 in AGS3::run_interaction_script (nint=0x10fbab70,
evnt=7, chkAny=-1, isInv=0) at
engines/ags/engine/script/script.cpp:189
#24 0x000000014017962a in AGS3::process_event (evp=0x5fe034)
at engines/ags/engine/ac/event.cpp:177
#25 0x000000014017a45b in AGS3::processallevents (numev=5,
evlist=0x4c2b9a0)
at engines/ags/engine/ac/event.cpp:362
#26 0x000000014017a4ed in AGS3::update_events ()
at engines/ags/engine/ac/event.cpp:372
#27 0x00000001400f8521 in AGS3::game_loop_update_events ()
at engines/ags/engine/main/game_run.cpp:634
#28 0x00000001400f8bfe in AGS3::UpdateGameOnce (checkControls=true,
extraBitmap=0x0, extraX=0, extraY=0)
at engines/ags/engine/main/game_run.cpp:762
#29 0x00000001400f9194 in AGS3::GameTick ()
at engines/ags/engine/main/game_run.cpp:885
#30 0x00000001400f94cf in AGS3::RunGameUntilAborted ()
at engines/ags/engine/main/game_run.cpp:979
#31 0x00000001400f98ab in AGS3::initialize_start_and_play_game (
override_start_room=0, loadSaveGameOnStartup=-1)
at engines/ags/engine/main/game_start.cpp:126
#32 0x00000001400f4605 in AGS3::initialize_engine (startup_opts=...)
at engines/ags/engine/main/engine.cpp:1246
#33 0x0000000140044219 in AGS::AGSEngine::run (this=0x4edb160)
at engines/ags/ags.cpp:177
#34 0x000000014002be62 in runGame (plugin=0x2ff7e30,
enginePlugin=0x2ff7de0,
system=..., debugLevels=...) at base/main.cpp:307
#35 0x000000014002d5d1 in scummvm_main (argc=1, argv=0x2682d30)
at base/main.cpp:604
#36 0x00000001400294c9 in SDL_main (argc=1, argv=0x2682d30)
at backends/platform/sdl/win32/win32-main.cpp:76
#37 0x0000000140029407 in WinMain ()
at backends/platform/sdl/win32/win32-main.cpp:55
#38 0x00000001407a67e2 in main (flags=<optimized out>,
cmdline=<optimized out>, inst=<optimized out>)
at D:/mingwbuild/mingw-w64-crt-
git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:18
#39 0x00000001400013c1 in __tmainCRTStartup ()
at D:/mingwbuild/mingw-w64-crt-
git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:335
#40 0x00000001400014d6 in WinMainCRTStartup ()
at D:/mingwbuild/mingw-w64-crt-
git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:192
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/12593#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list