(gdb) run duckman Starting program: scummvm duckman [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff4651700 (LWP 2486)] [New Thread 0x7ffff3e50700 (LWP 2487)] [New Thread 0x7ffff364f700 (LWP 2488)] [New Thread 0x7ffff2e4e700 (LWP 2489)] [Detaching after fork from child process 2490] [New Thread 0x7ffff2646700 (LWP 2512)] WARNING: You are missing a valid 'translations.dat' file. GUI translation will not be available! [New Thread 0x7ffff1dfb700 (LWP 2513)] [New Thread 0x7ffff1dba700 (LWP 2514)] WARNING: SDL mixer output buffer size: 512 differs from desired: 1024! [New Thread 0x7ffff14c8700 (LWP 2515)] User picked target 'duckman' (engine ID 'illusions', game ID 'duckman')... Looking for a plugin supporting this target... Illusions WARNING: Unsupported Text stream detected! _midiMusicCount: 18; midiMusicOffs: 00000010 MidiPlayer::play(000B000D) MidiPlayer::play(000B000C) Thread 1 "scummvm" received signal SIGSEGV, Segmentation fault. 0x000055555581aa66 in Illusions::Control::startMoveActor (this=0x0, sequenceId=393239, destPt=..., callerThreadId1=131077, callerThreadId2=131077) at engines/illusions/actor.cpp:721 721 ActorType *actorType = _vm->_dict->findActorType(_actorTypeId); (gdb) bt #0 0x000055555581aa66 in Illusions::Control::startMoveActor(unsigned int, Common::Point, unsigned int, unsigned int) (this=0x0, sequenceId=393239, destPt=..., callerThreadId1=131077, callerThreadId2=131077) at engines/illusions/actor.cpp:721 #1 0x00005555557f5b02 in Illusions::ScriptOpcodes_Duckman::opStartMoveActorToObject(Illusions::ScriptThread*, Illusions::OpCall&) (this=0x555557cc1b00, scriptThread=0x55555855a3b0, opCall=...) at engines/illusions/duckman/scriptopcodes_duckman.cpp:514 #2 0x00005555557f77e3 in Common::Functor2Mem::operator()(Illusions::ScriptThread*, Illusions::OpCall&) const (this=0x555557c93ee0, v1=0x55555855a3b0, v2=...) at ./common/func.h:517 #3 0x000055555580ff8e in Illusions::ScriptOpcodes::execOpcode(Illusions::ScriptThread*, Illusions::OpCall&) (this=0x555557cc1b00, scriptThread=0x55555855a3b0, opCall=...) at engines/illusions/scriptopcodes.cpp:66 #4 0x0000555555814080 in Illusions::ScriptThread::execOpcode(Illusions::OpCall&) (this=0x55555855a3b0, opCall=...) at engines/illusions/threads/scriptthread.cpp:68 #5 0x0000555555813f1d in Illusions::ScriptThread::onUpdate() (this=0x55555855a3b0) at engines/illusions/threads/scriptthread.cpp:45 #6 0x0000555555816976 in Illusions::Thread::update() (this=0x55555855a3b0) at engines/illusions/thread.cpp:114 #7 0x0000555555816b51 in Illusions::ThreadList::updateThreads() (this=0x555557abd590) at engines/illusions/thread.cpp:154 #8 0x00005555557ea5f2 in Illusions::IllusionsEngine_Duckman::updateScript(unsigned int) (this=0x555557e49360, flags=0) at engines/illusions/duckman/illusions_duckman.cpp:302 #9 0x00005555557ee1a1 in Common::Functor1Mem::operator()(unsigned int) const (this=0x555557acdf80, v1=0) at ./common/func.h:461 #10 0x0000555555817f98 in Illusions::UpdateFunction::run() (this=0x555557acdfd0) at ./engines/illusions/updatefunctions.h:47 #11 0x0000555555817df1 in Illusions::UpdateFunctions::update() (this=0x555557acbbc0) at engines/illusions/updatefunctions.cpp:61 #12 0x00005555557f84a7 in Illusions::IllusionsEngine::runUpdateFunctions() (this=0x555557e49360) at engines/illusions/illusions.cpp:124 #13 0x00005555557e9c4e in Illusions::IllusionsEngine_Duckman::run() (this=0x555557e49360) at engines/illusions/duckman/illusions_duckman.cpp:204 #14 0x00005555557babd6 in runGame(Plugin const*, Plugin const*, OSystem&, Common::String const&) (plugin=0x555556135c40, enginePlugin=0x5555564356f0, system=..., debugLevels=...) at base/main.cpp:307 #15 0x00005555557bc3d0 in scummvm_main(int, char const* const*) (argc=2, argv=0x7fffffffe268) at base/main.cpp:604 #16 0x00005555557b82c5 in main(int, char**) (argc=2, argv=0x7fffffffe268) at backends/platform/sdl/posix/posix-main.cpp:45 (gdb) p _actorTypeId Cannot access memory at address 0x28 (gdb) bt full #0 0x000055555581aa66 in Illusions::Control::startMoveActor(unsigned int, Common::Point, unsigned int, unsigned int) (this=0x0, sequenceId=393239, destPt=..., callerThreadId1=131077, callerThreadId2=131077) at engines/illusions/actor.cpp:721 pathNode = 0x7fffffffc440 actorType = 0x5555557e506b newFacing = 21845 #1 0x00005555557f5b02 in Illusions::ScriptOpcodes_Duckman::opStartMoveActorToObject(Illusions::ScriptThread*, Illusions::OpCall&) (this=0x555557cc1b00, scriptThread=0x55555855a3b0, opCall=...) at engines/illusions/duckman/scriptopcodes_duckman.cpp:514 objectId1 = 262152 objectId2 = 262147 sequenceId = 393239 control1 = 0x0 pos = { x = 190, y = 61 } #2 0x00005555557f77e3 in Common::Functor2Mem::operator()(Illusions::ScriptThread*, Illusions::OpCall&) const (this=0x555557c93ee0, v1=0x55555855a3b0, v2=...) at ./common/func.h:517 #3 0x000055555580ff8e in Illusions::ScriptOpcodes::execOpcode(Illusions::ScriptThread*, Illusions::OpCall&) (this=0x555557cc1b00, scriptThread=0x55555855a3b0, opCall=...) at engines/illusions/scriptopcodes.cpp:66 #4 0x0000555555814080 in Illusions::ScriptThread::execOpcode(Illusions::OpCall&) (this=0x55555855a3b0, opCall=...) at engines/illusions/threads/scriptthread.cpp:68 #5 0x0000555555813f1d in Illusions::ScriptThread::onUpdate() (this=0x55555855a3b0) at engines/illusions/threads/scriptthread.cpp:45 opCall = { _op = 55 '7', _opSize = 20 '\024', _threadId = 131077, _callerThreadId = 131077, _deltaOfs = 20, _code = 0x55555845d7d8 "\335\335\335\335\002\004\356\356\064\f\335\335\b", _result = 4 } #6 0x0000555555816976 in Illusions::Thread::update() (this=0x55555855a3b0) at engines/illusions/thread.cpp:114 status = 2 #7 0x0000555555816b51 in Illusions::ThreadList::updateThreads() (this=0x555557abd590) at engines/illusions/thread.cpp:154 status = 4 thread = 0x55555855a3b0 it = { _node = 0x5555586761e0 } #8 0x00005555557ea5f2 in Illusions::IllusionsEngine_Duckman::updateScript(unsigned int) (this=0x555557e49360, flags=0) at engines/illusions/duckman/illusions_duckman.cpp:302 #9 0x00005555557ee1a1 in Common::Functor1Mem::operator()(unsigned int) const (this=0x555557acdf80, v1=0) at ./common/func.h:461 #10 0x0000555555817f98 in Illusions::UpdateFunction::run() (this=0x555557acdfd0) at ./engines/illusions/updatefunctions.h:47 #11 0x0000555555817df1 in Illusions::UpdateFunctions::update() (this=0x555557acbbc0) at engines/illusions/updatefunctions.cpp:61 r = 1 it = { _node = 0x555557ac21f0 } #12 0x00005555557f84a7 in Illusions::IllusionsEngine::runUpdateFunctions() (this=0x555557e49360) at engines/illusions/illusions.cpp:124 #13 0x00005555557e9c4e in Illusions::IllusionsEngine_Duckman::run() (this=0x555557e49360) at engines/illusions/duckman/illusions_duckman.cpp:204 gameDataDir = { = { _vptr.ArchiveMember = 0x555556073de8 }, members of Common::FSNode: _realNode = { > = { , Common::impl::no_base > >> = { >> = {}, }, members of Common::BasePtr: _refCount = 0x5555562fa480, _deletion = 0x5555582a3880, _pointer = 0x5555582a5ad0 }, } } #14 0x00005555557babd6 in runGame(Plugin const*, Plugin const*, OSystem&, Common::String const&) (plugin=0x555556135c40, enginePlugin=0x5555564356f0, system=..., debugLevels=...) at base/main.cpp:307 __PRETTY_FUNCTION__ = "Common::Error runGame(const Plugin*, const Plugin*, OSystem&, const Common::String&)" dir = { = { _vptr.ArchiveMember = 0x555556073de8 }, members of Common::FSNode: _realNode = { > = { , Common::impl::no_base > >> = { >> = {}, }, members of Common::BasePtr: _refCount = 0x5555582a19e0, _deletion = 0x5555582a1550, _pointer = 0x5555582a3a10 }, } } target = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 7, _str = 0x7fffffffcb00 "duckman", { _storage = "duckman", '\000' , _extern = { _refCount = 0x6e616d6b637564, _capacity = 0 } } }, } err = { _code = Common::kNoError, _desc = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 8, _str = 0x7fffffffcad8 "No error", { _storage = "No error\000\320\377\377\377\177\000\000\240\206", , _extern = { _refCount = 0x726f727265206f4e, _capacity = 4294955008 } } }, } } engine = 0x555557e49360 metaEngineDetection = @0x555556135bc0: { = { _vptr.PluginObject = 0x555556079118 }, } metaEngine = @0x555556281170: { = { _vptr.PluginObject = 0x555556081020 }, } caption = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 25, _str = 0x555556134080 "Duckman (Windows/English)", { _storage = "\340\030\023VUU\000\000 \000\000\000\000\000\000\000\001\000\000", _extern = { _refCount = 0x5555561318e0, _capacity = 32 } } }, } tokenizer = { _str = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 0, _str = 0x7fffffffca40 "", { _storage = '\000' , _extern = { _refCount = 0x0, _capacity = 0 } } }, }, _delimiters = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 2, _str = 0x7fffffffca68 " ,", { _storage = " ,\000\377\377\377\377\377\000\000\000\000\000\000\000\000 \320\377\377", _extern = { _refCount = 0xffffffffff002c20, _capacity = 0 } } }, }, _tokenBegin = 0, _tokenEnd = 0 } previousLanguage = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 1, _str = 0x7fffffffca10 "C", { _storage = "C\000\000\000\000\000\000\000\v\000\000\000\000\000\000\000\000\000\000", _extern = { _refCount = 0x43, _capacity = 11 } } }, } gameKeymaps = { _capacity = 1, _size = 1, _storage = 0x5555582a38a0 } keymapper = 0x55555644b8a0 result = { _code = Common::kNoError, _desc = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 0, _str = 0x0, { _storage = "\377\377\377\377\377\377\377\377\000\000\000\000\001\000\000\000\000\000\000", _extern = { _refCount = 0xffffffffffffffff, _capacity = 0 } } }, } } ttsMan = 0x7fffffffd200 #15 0x00005555557bc3d0 in scummvm_main(int, char const* const*) (argc=2, argv=0x7fffffffe268) at base/main.cpp:604 ttsMan = 0x555556433650 result = { _code = Common::kNoError, _desc = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 0, _str = 0x0, { _storage = '\000' , _extern = { _refCount = 0x0, _capacity = 0 } } }, } } chainedGame = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 0, _str = 0x0, { _storage = '\000' , _extern = { _refCount = 0x0, _capacity = 0 } } }, } saveSlot = 0 plugin = 0x555556135c40 enginePlugin = 0x5555564356f0 specialDebug = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 0, _str = 0x7fffffffd6d0 "", { _storage = '\000' , _extern = { _refCount = 0x0, _capacity = 0 } } }, } command = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 7, _str = 0x7fffffffd6a0 "duckman", { _storage = "duckman", '\000' , _extern = { _refCount = 0x6e616d6b637564, _capacity = 0 } } }, } __PRETTY_FUNCTION__ = "int scummvm_main(int, const char* const*)" system = @0x5555560d1348: { = {}, members of OSystem: _vptr.OSystem = 0x55555607eda8 , _audiocdManager = 0x55555644cd50, _eventManager = 0x5555562fe070, _timerManager = 0x5555578b8fd0, _savefileManager = 0x555556139380, _textToSpeechManager = 0x555556433650, _fsFactory = 0x5555560bac00, _clipboard = { > = { static npos = 4294967295, static _builtinCapacity = 29, _size = 0, _str = 0x5555560d1390 U"", { _storage = U'\000' , _extern = { _refCount = 0x0, _capacity = 0 } } }, }, _dummyUnused = false, _backendInitialized = true } settings = { _nodePool = { > = { = { _chunkSize = 80, _pages = { _capacity = 0, _size = 0, _storage = 0x0 }, _next = 0x7fffffffd328, _chunksPerPage = 8 }, members of Common::FixedSizeMemoryPool<80, 10>: _storage = "x\323\377\377\377\177", '\000' , "\310\323\377\377\377\177", '\000' , "\030\324\377\377\377\177", '\000' ... }, }, _defaultVal = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 0, _str = 0x7fffffffd658 "", { _storage = '\000' , _extern = { _refCount = 0x0, _capacity = 0 } } }, }, _storage = 0x5555561331d0, _mask = 15, _size = 0, _deleted = 0, _hash = {}, _equal = {} } res = { _code = Common::kNoError, _desc = { > = { static npos = 4294967295, static _builtinCapacity = 20, _size = 8, _str = 0x7fffffffd2e8 "No error", { _storage = "No error\000rror\000\000\000\000\000\000", _extern = { _refCount = 0x726f727265206f4e, _capacity = 1869771264 } } }, } } #16 0x00005555557b82c5 in main(int, char**) (argc=2, argv=0x7fffffffe268) at backends/platform/sdl/posix/posix-main.cpp:45 __PRETTY_FUNCTION__ = "int main(int, char**)" res = 21845