Ticket #12717: duckman_actorTypeId_crash_gdb.txt

File duckman_actorTypeId_crash_gdb.txt, 18.2 KB (added by dwatteau, 3 years ago)

gdb backtrace

Line 
1(gdb) run duckman
2Starting program: scummvm duckman
3[Thread debugging using libthread_db enabled]
4Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
5[New Thread 0x7ffff4651700 (LWP 2486)]
6[New Thread 0x7ffff3e50700 (LWP 2487)]
7[New Thread 0x7ffff364f700 (LWP 2488)]
8[New Thread 0x7ffff2e4e700 (LWP 2489)]
9[Detaching after fork from child process 2490]
10[New Thread 0x7ffff2646700 (LWP 2512)]
11WARNING: You are missing a valid 'translations.dat' file. GUI translation will not be available!
12[New Thread 0x7ffff1dfb700 (LWP 2513)]
13[New Thread 0x7ffff1dba700 (LWP 2514)]
14WARNING: SDL mixer output buffer size: 512 differs from desired: 1024!
15[New Thread 0x7ffff14c8700 (LWP 2515)]
16User picked target 'duckman' (engine ID 'illusions', game ID 'duckman')...
17 Looking for a plugin supporting this target... Illusions
18WARNING: Unsupported Text stream detected!
19_midiMusicCount: 18; midiMusicOffs: 00000010
20MidiPlayer::play(000B000D)
21MidiPlayer::play(000B000C)
22
23Thread 1 "scummvm" received signal SIGSEGV, Segmentation fault.
240x000055555581aa66 in Illusions::Control::startMoveActor (this=0x0, sequenceId=393239, destPt=..., callerThreadId1=131077, callerThreadId2=131077) at engines/illusions/actor.cpp:721
25721 ActorType *actorType = _vm->_dict->findActorType(_actorTypeId);
26(gdb) bt
27#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
28#1 0x00005555557f5b02 in Illusions::ScriptOpcodes_Duckman::opStartMoveActorToObject(Illusions::ScriptThread*, Illusions::OpCall&) (this=0x555557cc1b00, scriptThread=0x55555855a3b0, opCall=...) at engines/illusions/duckman/scriptopcodes_duckman.cpp:514
29#2 0x00005555557f77e3 in Common::Functor2Mem<Illusions::ScriptThread*, Illusions::OpCall&, void, Illusions::ScriptOpcodes_Duckman>::operator()(Illusions::ScriptThread*, Illusions::OpCall&) const (this=0x555557c93ee0, v1=0x55555855a3b0, v2=...) at ./common/func.h:517
30#3 0x000055555580ff8e in Illusions::ScriptOpcodes::execOpcode(Illusions::ScriptThread*, Illusions::OpCall&) (this=0x555557cc1b00, scriptThread=0x55555855a3b0, opCall=...) at engines/illusions/scriptopcodes.cpp:66
31#4 0x0000555555814080 in Illusions::ScriptThread::execOpcode(Illusions::OpCall&) (this=0x55555855a3b0, opCall=...) at engines/illusions/threads/scriptthread.cpp:68
32#5 0x0000555555813f1d in Illusions::ScriptThread::onUpdate() (this=0x55555855a3b0) at engines/illusions/threads/scriptthread.cpp:45
33#6 0x0000555555816976 in Illusions::Thread::update() (this=0x55555855a3b0) at engines/illusions/thread.cpp:114
34#7 0x0000555555816b51 in Illusions::ThreadList::updateThreads() (this=0x555557abd590) at engines/illusions/thread.cpp:154
35#8 0x00005555557ea5f2 in Illusions::IllusionsEngine_Duckman::updateScript(unsigned int) (this=0x555557e49360, flags=0) at engines/illusions/duckman/illusions_duckman.cpp:302
36#9 0x00005555557ee1a1 in Common::Functor1Mem<unsigned int, int, Illusions::IllusionsEngine_Duckman>::operator()(unsigned int) const (this=0x555557acdf80, v1=0) at ./common/func.h:461
37#10 0x0000555555817f98 in Illusions::UpdateFunction::run() (this=0x555557acdfd0) at ./engines/illusions/updatefunctions.h:47
38#11 0x0000555555817df1 in Illusions::UpdateFunctions::update() (this=0x555557acbbc0) at engines/illusions/updatefunctions.cpp:61
39#12 0x00005555557f84a7 in Illusions::IllusionsEngine::runUpdateFunctions() (this=0x555557e49360) at engines/illusions/illusions.cpp:124
40#13 0x00005555557e9c4e in Illusions::IllusionsEngine_Duckman::run() (this=0x555557e49360) at engines/illusions/duckman/illusions_duckman.cpp:204
41#14 0x00005555557babd6 in runGame(Plugin const*, Plugin const*, OSystem&, Common::String const&) (plugin=0x555556135c40, enginePlugin=0x5555564356f0, system=..., debugLevels=...) at base/main.cpp:307
42#15 0x00005555557bc3d0 in scummvm_main(int, char const* const*) (argc=2, argv=0x7fffffffe268) at base/main.cpp:604
43#16 0x00005555557b82c5 in main(int, char**) (argc=2, argv=0x7fffffffe268) at backends/platform/sdl/posix/posix-main.cpp:45
44(gdb) p _actorTypeId
45Cannot access memory at address 0x28
46(gdb) bt full
47#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
48 pathNode = 0x7fffffffc440
49 actorType = 0x5555557e506b <Illusions::Dictionary::getObjectControl(unsigned int)+39>
50 newFacing = 21845
51#1 0x00005555557f5b02 in Illusions::ScriptOpcodes_Duckman::opStartMoveActorToObject(Illusions::ScriptThread*, Illusions::OpCall&) (this=0x555557cc1b00, scriptThread=0x55555855a3b0, opCall=...) at engines/illusions/duckman/scriptopcodes_duckman.cpp:514
52 objectId1 = 262152
53 objectId2 = 262147
54 sequenceId = 393239
55 control1 = 0x0
56 pos = {
57 x = 190,
58 y = 61
59 }
60#2 0x00005555557f77e3 in Common::Functor2Mem<Illusions::ScriptThread*, Illusions::OpCall&, void, Illusions::ScriptOpcodes_Duckman>::operator()(Illusions::ScriptThread*, Illusions::OpCall&) const (this=0x555557c93ee0, v1=0x55555855a3b0, v2=...) at ./common/func.h:517
61#3 0x000055555580ff8e in Illusions::ScriptOpcodes::execOpcode(Illusions::ScriptThread*, Illusions::OpCall&) (this=0x555557cc1b00, scriptThread=0x55555855a3b0, opCall=...) at engines/illusions/scriptopcodes.cpp:66
62#4 0x0000555555814080 in Illusions::ScriptThread::execOpcode(Illusions::OpCall&) (this=0x55555855a3b0, opCall=...) at engines/illusions/threads/scriptthread.cpp:68
63#5 0x0000555555813f1d in Illusions::ScriptThread::onUpdate() (this=0x55555855a3b0) at engines/illusions/threads/scriptthread.cpp:45
64 opCall = {
65 _op = 55 '7',
66 _opSize = 20 '\024',
67 _threadId = 131077,
68 _callerThreadId = 131077,
69 _deltaOfs = 20,
70 _code = 0x55555845d7d8 "\335\335\335\335\002\004\356\356\064\f\335\335\b",
71 _result = 4
72 }
73#6 0x0000555555816976 in Illusions::Thread::update() (this=0x55555855a3b0) at engines/illusions/thread.cpp:114
74 status = 2
75#7 0x0000555555816b51 in Illusions::ThreadList::updateThreads() (this=0x555557abd590) at engines/illusions/thread.cpp:154
76 status = 4
77 thread = 0x55555855a3b0
78 it = {
79 _node = 0x5555586761e0
80 }
81#8 0x00005555557ea5f2 in Illusions::IllusionsEngine_Duckman::updateScript(unsigned int) (this=0x555557e49360, flags=0) at engines/illusions/duckman/illusions_duckman.cpp:302
82#9 0x00005555557ee1a1 in Common::Functor1Mem<unsigned int, int, Illusions::IllusionsEngine_Duckman>::operator()(unsigned int) const (this=0x555557acdf80, v1=0) at ./common/func.h:461
83#10 0x0000555555817f98 in Illusions::UpdateFunction::run() (this=0x555557acdfd0) at ./engines/illusions/updatefunctions.h:47
84#11 0x0000555555817df1 in Illusions::UpdateFunctions::update() (this=0x555557acbbc0) at engines/illusions/updatefunctions.cpp:61
85 r = 1
86 it = {
87 _node = 0x555557ac21f0
88 }
89#12 0x00005555557f84a7 in Illusions::IllusionsEngine::runUpdateFunctions() (this=0x555557e49360) at engines/illusions/illusions.cpp:124
90#13 0x00005555557e9c4e in Illusions::IllusionsEngine_Duckman::run() (this=0x555557e49360) at engines/illusions/duckman/illusions_duckman.cpp:204
91 gameDataDir = {
92 <Common::ArchiveMember> = {
93 _vptr.ArchiveMember = 0x555556073de8 <vtable for Common::FSNode+16>
94 },
95 members of Common::FSNode:
96 _realNode = {
97 <Common::BasePtr<AbstractFSNode>> = {
98 <Common::SafeBool<Common::BasePtr<AbstractFSNode>, Common::impl::no_base<Common::BasePtr<AbstractFSNode> > >> = {
99 <Common::impl::no_base<Common::BasePtr<AbstractFSNode> >> = {<No data fields>}, <No data fields>},
100 members of Common::BasePtr<AbstractFSNode>:
101 _refCount = 0x5555562fa480,
102 _deletion = 0x5555582a3880,
103 _pointer = 0x5555582a5ad0
104 }, <No data fields>}
105 }
106#14 0x00005555557babd6 in runGame(Plugin const*, Plugin const*, OSystem&, Common::String const&) (plugin=0x555556135c40, enginePlugin=0x5555564356f0, system=..., debugLevels=...) at base/main.cpp:307
107 __PRETTY_FUNCTION__ = "Common::Error runGame(const Plugin*, const Plugin*, OSystem&, const Common::String&)"
108 dir = {
109 <Common::ArchiveMember> = {
110 _vptr.ArchiveMember = 0x555556073de8 <vtable for Common::FSNode+16>
111 },
112 members of Common::FSNode:
113 _realNode = {
114 <Common::BasePtr<AbstractFSNode>> = {
115 <Common::SafeBool<Common::BasePtr<AbstractFSNode>, Common::impl::no_base<Common::BasePtr<AbstractFSNode> > >> = {
116 <Common::impl::no_base<Common::BasePtr<AbstractFSNode> >> = {<No data fields>}, <No data fields>},
117 members of Common::BasePtr<AbstractFSNode>:
118 _refCount = 0x5555582a19e0,
119 _deletion = 0x5555582a1550,
120 _pointer = 0x5555582a3a10
121 }, <No data fields>}
122 }
123 target = {
124 <Common::BaseString<char>> = {
125 static npos = 4294967295,
126 static _builtinCapacity = 20,
127 _size = 7,
128 _str = 0x7fffffffcb00 "duckman",
129 {
130 _storage = "duckman", '\000' <repeats 12 times>,
131 _extern = {
132 _refCount = 0x6e616d6b637564,
133 _capacity = 0
134 }
135 }
136 }, <No data fields>}
137 err = {
138 _code = Common::kNoError,
139 _desc = {
140 <Common::BaseString<char>> = {
141 static npos = 4294967295,
142 static _builtinCapacity = 20,
143 _size = 8,
144 _str = 0x7fffffffcad8 "No error",
145 {
146 _storage = "No error\000\320\377\377\377\177\000\000\240\206", <incomplete sequence \367>,
147 _extern = {
148 _refCount = 0x726f727265206f4e,
149 _capacity = 4294955008
150 }
151 }
152 }, <No data fields>}
153 }
154 engine = 0x555557e49360
155 metaEngineDetection = @0x555556135bc0: {
156 <PluginObject> = {
157 _vptr.PluginObject = 0x555556079118 <vtable for IllusionsMetaEngineDetection+16>
158 }, <No data fields>}
159 metaEngine = @0x555556281170: {
160 <PluginObject> = {
161 _vptr.PluginObject = 0x555556081020 <vtable for IllusionsMetaEngine+16>
162 }, <No data fields>}
163 caption = {
164 <Common::BaseString<char>> = {
165 static npos = 4294967295,
166 static _builtinCapacity = 20,
167 _size = 25,
168 _str = 0x555556134080 "Duckman (Windows/English)",
169 {
170 _storage = "\340\030\023VUU\000\000 \000\000\000\000\000\000\000\001\000\000",
171 _extern = {
172 _refCount = 0x5555561318e0,
173 _capacity = 32
174 }
175 }
176 }, <No data fields>}
177 tokenizer = {
178 _str = {
179 <Common::BaseString<char>> = {
180 static npos = 4294967295,
181 static _builtinCapacity = 20,
182 _size = 0,
183 _str = 0x7fffffffca40 "",
184 {
185 _storage = '\000' <repeats 19 times>,
186 _extern = {
187 _refCount = 0x0,
188 _capacity = 0
189 }
190 }
191 }, <No data fields>},
192 _delimiters = {
193 <Common::BaseString<char>> = {
194 static npos = 4294967295,
195 static _builtinCapacity = 20,
196 _size = 2,
197 _str = 0x7fffffffca68 " ,",
198 {
199 _storage = " ,\000\377\377\377\377\377\000\000\000\000\000\000\000\000 \320\377\377",
200 _extern = {
201 _refCount = 0xffffffffff002c20,
202 _capacity = 0
203 }
204 }
205 }, <No data fields>},
206 _tokenBegin = 0,
207 _tokenEnd = 0
208 }
209 previousLanguage = {
210 <Common::BaseString<char>> = {
211 static npos = 4294967295,
212 static _builtinCapacity = 20,
213 _size = 1,
214 _str = 0x7fffffffca10 "C",
215 {
216 _storage = "C\000\000\000\000\000\000\000\v\000\000\000\000\000\000\000\000\000\000",
217 _extern = {
218 _refCount = 0x43,
219 _capacity = 11
220 }
221 }
222 }, <No data fields>}
223 gameKeymaps = {
224 _capacity = 1,
225 _size = 1,
226 _storage = 0x5555582a38a0
227 }
228 keymapper = 0x55555644b8a0
229 result = {
230 _code = Common::kNoError,
231 _desc = {
232 <Common::BaseString<char>> = {
233 static npos = 4294967295,
234 static _builtinCapacity = 20,
235 _size = 0,
236 _str = 0x0,
237 {
238 _storage = "\377\377\377\377\377\377\377\377\000\000\000\000\001\000\000\000\000\000\000",
239 _extern = {
240 _refCount = 0xffffffffffffffff,
241 _capacity = 0
242 }
243 }
244 }, <No data fields>}
245 }
246 ttsMan = 0x7fffffffd200
247#15 0x00005555557bc3d0 in scummvm_main(int, char const* const*) (argc=2, argv=0x7fffffffe268) at base/main.cpp:604
248 ttsMan = 0x555556433650
249 result = {
250 _code = Common::kNoError,
251 _desc = {
252 <Common::BaseString<char>> = {
253 static npos = 4294967295,
254 static _builtinCapacity = 20,
255 _size = 0,
256 _str = 0x0,
257 {
258 _storage = '\000' <repeats 19 times>,
259 _extern = {
260 _refCount = 0x0,
261 _capacity = 0
262 }
263 }
264 }, <No data fields>}
265 }
266 chainedGame = {
267 <Common::BaseString<char>> = {
268 static npos = 4294967295,
269 static _builtinCapacity = 20,
270 _size = 0,
271 _str = 0x0,
272 {
273 _storage = '\000' <repeats 19 times>,
274 _extern = {
275 _refCount = 0x0,
276 _capacity = 0
277 }
278 }
279 }, <No data fields>}
280 saveSlot = 0
281 plugin = 0x555556135c40
282 enginePlugin = 0x5555564356f0
283 specialDebug = {
284 <Common::BaseString<char>> = {
285 static npos = 4294967295,
286 static _builtinCapacity = 20,
287 _size = 0,
288 _str = 0x7fffffffd6d0 "",
289 {
290 _storage = '\000' <repeats 19 times>,
291 _extern = {
292 _refCount = 0x0,
293 _capacity = 0
294 }
295 }
296 }, <No data fields>}
297 command = {
298 <Common::BaseString<char>> = {
299 static npos = 4294967295,
300 static _builtinCapacity = 20,
301 _size = 7,
302 _str = 0x7fffffffd6a0 "duckman",
303 {
304 _storage = "duckman", '\000' <repeats 12 times>,
305 _extern = {
306 _refCount = 0x6e616d6b637564,
307 _capacity = 0
308 }
309 }
310 }, <No data fields>}
311 __PRETTY_FUNCTION__ = "int scummvm_main(int, const char* const*)"
312 system = @0x5555560d1348: {
313 <Common::NonCopyable> = {<No data fields>},
314 members of OSystem:
315 _vptr.OSystem = 0x55555607eda8 <vtable for OSystem_POSIX+1648>,
316 _audiocdManager = 0x55555644cd50,
317 _eventManager = 0x5555562fe070,
318 _timerManager = 0x5555578b8fd0,
319 _savefileManager = 0x555556139380,
320 _textToSpeechManager = 0x555556433650,
321 _fsFactory = 0x5555560bac00,
322 _clipboard = {
323 <Common::BaseString<char32_t>> = {
324 static npos = 4294967295,
325 static _builtinCapacity = 29,
326 _size = 0,
327 _str = 0x5555560d1390 U"",
328 {
329 _storage = U'\000' <repeats 28 times>,
330 _extern = {
331 _refCount = 0x0,
332 _capacity = 0
333 }
334 }
335 }, <No data fields>},
336 _dummyUnused = false,
337 _backendInitialized = true
338 }
339 settings = {
340 _nodePool = {
341 <Common::FixedSizeMemoryPool<80, 10>> = {
342 <Common::MemoryPool> = {
343 _chunkSize = 80,
344 _pages = {
345 _capacity = 0,
346 _size = 0,
347 _storage = 0x0
348 },
349 _next = 0x7fffffffd328,
350 _chunksPerPage = 8
351 },
352 members of Common::FixedSizeMemoryPool<80, 10>:
353 _storage = "x\323\377\377\377\177", '\000' <repeats 74 times>, "\310\323\377\377\377\177", '\000' <repeats 74 times>, "\030\324\377\377\377\177", '\000' <repeats 74 times>...
354 }, <No data fields>},
355 _defaultVal = {
356 <Common::BaseString<char>> = {
357 static npos = 4294967295,
358 static _builtinCapacity = 20,
359 _size = 0,
360 _str = 0x7fffffffd658 "",
361 {
362 _storage = '\000' <repeats 19 times>,
363 _extern = {
364 _refCount = 0x0,
365 _capacity = 0
366 }
367 }
368 }, <No data fields>},
369 _storage = 0x5555561331d0,
370 _mask = 15,
371 _size = 0,
372 _deleted = 0,
373 _hash = {<No data fields>},
374 _equal = {<No data fields>}
375 }
376 res = {
377 _code = Common::kNoError,
378 _desc = {
379 <Common::BaseString<char>> = {
380 static npos = 4294967295,
381 static _builtinCapacity = 20,
382 _size = 8,
383 _str = 0x7fffffffd2e8 "No error",
384 {
385 _storage = "No error\000rror\000\000\000\000\000\000",
386 _extern = {
387 _refCount = 0x726f727265206f4e,
388 _capacity = 1869771264
389 }
390 }
391 }, <No data fields>}
392 }
393#16 0x00005555557b82c5 in main(int, char**) (argc=2, argv=0x7fffffffe268) at backends/platform/sdl/posix/posix-main.cpp:45
394 __PRETTY_FUNCTION__ = "int main(int, char**)"
395 res = 21845