[Scummvm-tracker] [ScummVM] #9627: Lands Of Lore - game crashes in Catwalk Caverns
Bill Niakas
trac at scummvm.org
Tue Oct 25 22:33:30 CEST 2016
#9627: Lands Of Lore - game crashes in Catwalk Caverns
----------------------------+-------------------------------------------
Reporter: billniakas | Owner:
Type: defect | Status: new
Priority: blocker | Component: Engine: Kyra
Resolution: | Keywords: catwalk caverns, crash, linux
Game: Lands of Lore |
----------------------------+-------------------------------------------
Comment (by billniakas):
Replying to [comment:3 wjp]:
> Ah, this is fortify complaining. I can't reproduce it at
`_FORTIFY_SOURCE=1` but I do see it at `_FORTIFY_SOURCE=2`. Backtrace with
symbols below. We'll have to investigate further to see what's happening.
>
>
> {{{
> #4 0x00007ffff4d8b990 in __chk_fail () from /lib64/libc.so.6
> #5 0x00000000004c17a1 in strcpy (__src=0x1d0723a "CAV_PLT3.PAL",
> __dest=0x17903ee "CAV_PLT3.PAL") at /usr/include/bits/string3.h:110
> #6 Kyra::LoLEngine::loadLevelGraphics (this=this at entry=0x178b860,
> file=<optimized out>, specialColor=<optimized out>,
> weight=<optimized out>, vcnLen=-1, vmpLen=-1,
> palFile=0x1d0723a "CAV_PLT3.PAL") at engines/kyra/scene_lol.cpp:307
> #7 0x00000000004ca7d6 in Kyra::LoLEngine::olol_loadLevelGraphics (
> this=0x178b860, script=0x7fffffffc980) at
engines/kyra/script_lol.cpp:211
> #8 0x000000000046ae9f in Kyra::EMCInterpreter::op_sysCall (
> this=<optimized out>, script=0x7fffffffc980) at
engines/kyra/script.cpp:306
> #9 0x000000000046b98d in Kyra::EMCInterpreter::run (this=<optimized
out>,
> script=script at entry=0x7fffffffc980) at engines/kyra/script.cpp:208
> #10 0x00000000004d0a79 in Kyra::LoLEngine::runInitScript (
> this=this at entry=0x178b860, filename=0x7fffffffcaf0 "LEVEL25.INI",
> optionalFunc=0) at engines/kyra/script_lol.cpp:46
> #11 0x00000000004c4a66 in Kyra::LoLEngine::loadLevel (
> this=this at entry=0x178b860, index=25) at
engines/kyra/scene_lol.cpp:74
> #12 0x00000000004cc5ee in Kyra::LoLEngine::olol_loadNewLevel
(this=0x178b860,
> script=0x7fffffffcbd0) at engines/kyra/script_lol.cpp:903
> #13 0x000000000046ae9f in Kyra::EMCInterpreter::op_sysCall (
> this=<optimized out>, script=0x7fffffffcbd0) at
engines/kyra/script.cpp:306
> #14 0x000000000046b98d in Kyra::EMCInterpreter::run (this=<optimized
out>,
> script=script at entry=0x7fffffffcbd0) at engines/kyra/script.cpp:208
> #15 0x00000000004d0cbf in Kyra::LoLEngine::runLevelScriptCustom (
> this=0x178b860, block=325, flags=2, charNum=charNum at entry=-1,
> item=item at entry=0, reg3=reg3 at entry=0, reg4=0)
> at engines/kyra/script_lol.cpp:88
> #16 0x00000000004d0cf6 in Kyra::LoLEngine::runLevelScript (
> this=<optimized out>, block=<optimized out>, flags=<optimized out>)
> at engines/kyra/script_lol.cpp:66
> }}}
Which symbols should i use? All of them? Btw i compiled the latest git
version and the bug is gone. The compiled version is tested in Ubuntu
16.10.
--
Ticket URL: <https://bugs.scummvm.org/ticket/9627#comment:4>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list