Ticket #14772: gdb-orion-burger-fr-ppc-big-endian.txt

File gdb-orion-burger-fr-ppc-big-endian.txt, 17.7 KB (added by dwatteau, 3 months ago)

GDB backtrace when starting the game on big-endian PowerPC

Line 
1(gdb) run
2Starting program: /home/scummvm/scummvm
3[Thread debugging using libthread_db enabled]
4Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1".
5[New Thread 0x9832e340 (LWP 7697)]
6[New Thread 0x8799f340 (LWP 7698)]
7[New Thread 0x777ff340 (LWP 7699)]
8[New Thread 0x76ffe340 (LWP 7700)]
9WARNING: initWithU32String: Fribidi not available, will use input strings as fallback.!
10User picked target 'burger-fr' (engine ID 'm4', game ID 'burger')...
11 Looking for a plugin supporting this target... M4
12Running Orion Burger (DOS/French)
13burger.has: 3887c30f0d2f93fed7549120748c07fd, 724755 bytes.
14
15Thread 1 "scummvm" received signal SIGSEGV, Segmentation fault.
16__GI_memset () at ../sysdeps/powerpc/powerpc32/memset.S:158
17158 ../sysdeps/powerpc/powerpc32/memset.S: No such file or directory.
18
19(gdb) bt
20#0 __GI_memset () at ../sysdeps/powerpc/powerpc32/memset.S:158
21#1 0x00502bf8 in M4::gr_buffer_rect_fill(M4::Buffer*, int, int, int, int) (target=0x122554c, x1=0, y1=0, w=32, h=32)
22 at engines/m4/graphics/gr_buff.cpp:224
23#2 0x0051a4f0 in M4::transShow(void*, void*, void*, int32, int32) (s=0x122b2e1, r=0x122350a, b=0x0, destX=0, destY=0) at engines/m4/gui/gui_mouse.cpp:180
24#3 0x0051df50 in M4::RestoreScreens(int, int, int, int) (updateX1=0, updateY1=0, updateX2=31, updateY2=31) at engines/m4/gui/gui_vmng_screen.cpp:99
25#4 0x0051c390 in M4::vmng_screen_show(void*) (scrnContent=0xda5e80) at engines/m4/gui/gui_vmng_core.cpp:235
26#5 0x004e5334 in M4::Vars::initMouseSeries(Common::String const&, M4::RGB8*) (this=0x1225540, assetName=..., myPalette=0x0) at engines/m4/vars.cpp:318
27#6 0x004d5574 in M4::Burger::Vars::main_cold_data_init() (this=0x1225540) at engines/m4/burger/vars.cpp:93
28#7 0x004e4780 in M4::Vars::init() (this=0x1225540) at engines/m4/vars.cpp:99
29#8 0x004e0838 in M4::M4Engine::run() (this=0x10b25a0) at engines/m4/m4.cpp:94
30#9 0x0049fcd8 in runGame(Plugin const*, Plugin const*, OSystem&, Common::String const&)
31 (plugin=0xc45250, enginePlugin=0xc45230, system=..., debugLevels=...) at base/main.cpp:326
32#10 0x004a1dfc in scummvm_main(int, char const* const*) (argc=1, argv=0xaffff4e4) at base/main.cpp:806
33#11 0x0049c794 in main(int, char**) (argc=1, argv=0xaffff4e4) at backends/platform/sdl/posix/posix-main.cpp:44
34
35(gdb) bt full
36#0 __GI_memset () at ../sysdeps/powerpc/powerpc32/memset.S:158
37#1 0x00502bf8 in M4::gr_buffer_rect_fill(M4::Buffer*, int, int, int, int) (target=0x122554c, x1=0, y1=0, w=32, h=32)
38 at engines/m4/graphics/gr_buff.cpp:224
39 i = 1
40 start = 0x1fdd4a00 <error: Cannot access memory at address 0x1fdd4a00>
41 color = 0 '\000'
42#2 0x0051a4f0 in M4::transShow(void*, void*, void*, int32, int32) (s=0x122b2e1, r=0x122350a, b=0x0, destX=0, destY=0) at engines/m4/gui/gui_mouse.cpp:180
43 myScreen = 0x122b2e1
44 myRectList = 0x122350a
45 destBuffer = 0x0
46 tempScreen = 0x0
47 mySource = 0xda5e80
48 mySprite = 0x125c1b0
49 myBuff = 0x122554c
50 drawSpriteBuff = {
51 w = -1342187760,
52 h = -1342187728,
53 data = 0x964fb8 <Common::BaseString<char>::~BaseString()+44> "`",
54 encoding = 175 '\257',
55 stride = -1342187744
56 }
57 spriteDrawReq = {
58 Src = 0x0,
59 Dest = 0x0,
60 x = 0,
61 y = 0,
62 scaleX = 0,
63 scaleY = 0,
64 depthCode = 0x0,
65 Pal = 0x0,
66 ICT = 0x0,
67 srcDepth = 0 '\000'
68 }
69 myMatte = 0x122350a
70 tempMatte = {
71 nextMatte = 0x0,
72 myScreen = 0xafffd750,
73 x1 = -1342187616,
74 y1 = 5361820,
75 x2 = 0,
76 y2 = 0,
77 w = 0,
78 h = 0,
79 SrcBuffer = 0x1f <error: Cannot access memory at address 0x1f>,
80 SrcPitch = 31
81 }
82 updateList = 0x1223523
83 updateRect = 0x1223523
84 newUpdateList = 0x52656374
85 rowPtr = 0x2 <error: Cannot access memory at address 0x2>
86 destPtr = 0xafffd74c "\257\377\327P\257\377נ"
87 i = -1342187792
88 j = -1342187760
89#3 0x0051df50 in M4::RestoreScreens(int, int, int, int) (updateX1=0, updateY1=0, updateX2=31, updateY2=31) at engines/m4/gui/gui_vmng_screen.cpp:99
90 myScreen = 0x122b2e1
91 tempScreen = 0x0
92 updateRectList = 0x12234f1
93 scrnUpdateList = 0x122350a
94 tempRect = 0xafffd7e0
95#4 0x0051c390 in M4::vmng_screen_show(void*) (scrnContent=0xda5e80) at engines/m4/gui/gui_vmng_core.cpp:235
96 myScreen = 0x122b2e1
97 tempScreen = 0xdd4a00
98#5 0x004e5334 in M4::Vars::initMouseSeries(Common::String const&, M4::RGB8*) (this=0x1225540, assetName=..., myPalette=0x0) at engines/m4/vars.cpp:318
99 maxW = 520093696
100 maxH = 520093696
101#6 0x004d5574 in M4::Burger::Vars::main_cold_data_init() (this=0x1225540) at engines/m4/burger/vars.cpp:93
102#7 0x004e4780 in M4::Vars::init() (this=0x1225540) at engines/m4/vars.cpp:99
103#8 0x004e0838 in M4::M4Engine::run() (this=0x10b25a0) at engines/m4/m4.cpp:94
104 vars = 0x1225540
105#9 0x0049fcd8 in runGame(Plugin const*, Plugin const*, OSystem&, Common::String const&)
106 (plugin=0xc45250, enginePlugin=0xc45230, system=..., debugLevels=...) at base/main.cpp:326
107 __PRETTY_FUNCTION__ = "Common::Error runGame(const Plugin*, const Plugin*, OSystem&, const Common::String&)"
108 dir = {
109 <Common::ArchiveMember> = {
110 _vptr.ArchiveMember = 0xbdf2e4 <vtable for Common::FSNode+8>
111 },
112 members of Common::FSNode:
113 _realNode = {
114 <Common::SafeBool<Common::SharedPtr<AbstractFSNode>, Common::impl::no_base<Common::SharedPtr<AbstractFSNode> > >> = {
115 <Common::impl::no_base<Common::SharedPtr<AbstractFSNode> >> = {<No data fields>}, <No data fields>},
116 members of Common::SharedPtr<AbstractFSNode>:
117 _pointer = 0x10b7300,
118 _tracker = 0x10cdc00
119 }
120 }
121 target = {
122 <Common::BaseString<char>> = {
123 static npos = 4294967295,
124 static _builtinCapacity = 24,
125 _size = 9,
126 _str = 0xafffdf38 "burger-fr",
127 {
128 _storage = "burger-fr", '\000' <repeats 14 times>,
129 _extern = {
130 _refCount = 0x62757267,
131 _capacity = 1701981542
132 }
133 }
134 }, <No data fields>}
135 err = {
136 _code = Common::kNoError,
137 _desc = {
138 <Common::BaseString<char>> = {
139 static npos = 4294967295,
140 static _builtinCapacity = 24,
141 _size = 0,
142 _str = 0xafffdf5c "",
143 {
144 _storage = '\000' <repeats 23 times>,
145 _extern = {
146 _refCount = 0x0,
147 _capacity = 0
148 }
149 }
150 }, <No data fields>}
151 }
152 engine = 0x10b25a0
153 metaEngineDetection = @0xc71340: {
154 <PluginObject> = {
155 _vptr.PluginObject = 0xbcd91c <vtable for M4MetaEngineDetection+8>
156 }, <No data fields>}
157 tokenizer = {
158 _str = {
159 <Common::BaseString<char>> = {
160 static npos = 4294967295,
161 static _builtinCapacity = 24,
162 _size = 0,
163 _str = 0xafffdf80 "",
164 {
165 _storage = '\000' <repeats 23 times>,
166 _extern = {
167 _refCount = 0x0,
168 _capacity = 0
169 }
170 }
171 }, <No data fields>},
172 _delimiters = {
173 <Common::BaseString<char>> = {
174 static npos = 4294967295,
175 static _builtinCapacity = 24,
176 _size = 2,
177 _str = 0xafffdfa0 " ,",
178 {
179 _storage = " ,\000\350\257\377\336ȯ\377\3360\257\377\336@\000\226\033X\000\300\020`",
180 _extern = {
181 _refCount = 0x202c00e8,
182 _capacity = 2952781512
183 }
184 }
185 }, <No data fields>},
186 _tokenBegin = 0,
187 _tokenEnd = 0
188 }
189 metaEngine = @0xc45240: {
190 <PluginObject> = {
191 _vptr.PluginObject = 0xbcf91c <vtable for M4MetaEngine+8>
192 }, <No data fields>}
193 caption = {
194 <Common::BaseString<char>> = {
195 static npos = 4294967295,
196 static _builtinCapacity = 24,
197 _size = 25,
198 _str = 0xcfab30 "Orion Burger (DOS/French)",
199 {
200 _storage = "\000\311OX\000\000\000 \257\377\337\360\000J4\214\000\000\000\004\000\307\037P",
201 _extern = {
202 _refCount = 0xc94f58,
203 _capacity = 32
204 }
205 }
206 }, <No data fields>}
207 previousLanguage = {
208 <Common::BaseString<char>> = {
209 static npos = 4294967295,
210 static _builtinCapacity = 24,
211 _size = 5,
212 _str = 0xafffdfe8 "fr_FR",
213 {
214 _storage = "fr_FR\000ask\000\333@\000ד\220\244\324?\270\000\000\0005",
215 _extern = {
216 _refCount = 0x66725f46,
217 _capacity = 1375756659
218 }
219 }
220 }, <No data fields>}
221 gameKeymaps = {
222 _capacity = 1,
223 _size = 1,
224 _storage = 0xd2b0b0
225 }
226 keymapper = 0xdbed10
227 result = {
228 _code = 2952781840,
229 _desc = {
230 <Common::BaseString<char>> = {
231 static npos = 4294967295,
232 static _builtinCapacity = 24,
233 _size = 2952781888,
234 _str = 0x4c5244 <Common::Array<Plugin*>::insert_aux(Plugin**, Plugin* const*, Plugin* const*)+544> "H",
235 {
236 _storage = "\000\000\000\001", '\000' <repeats 13 times>, "\306\356P\000\000\000",
237 _extern = {
238 _refCount = 0x1,
239 _capacity = 0
240 }
241 }
242 }, <No data fields>}
243 }
244 ttsMan = 0x0
245#10 0x004a1dfc in scummvm_main(int, char const* const*) (argc=1, argv=0xaffff4e4) at base/main.cpp:806
246 ttsMan = 0x0
247 result = {
248 _code = Common::kMetaEnginePluginNotFound,
249 _desc = {
250 <Common::BaseString<char>> = {
251 static npos = 4294967295,
252 static _builtinCapacity = 24,
253 _size = 2952785692,
254 _str = 0x6e6f7420 <error: Cannot access memory at address 0x6e6f7420>,
255 {
256 _storage = "supported", '\000' <repeats 14 times>, "\b",
257 _extern = {
258 _refCount = 0x73757070,
259 _capacity = 1869771877
260 }
261 }
262 }, <No data fields>}
263 }
264 chainedGame = {
265 <Common::BaseString<char>> = {
266 static npos = 4294967295,
267 static _builtinCapacity = 24,
268 _size = 2952786416,
269 _str = 0xa796c4e8 <operator new(unsigned int)+56> ",\003",
270 {
271 _storage = "\000\276\305\024\257\377\361\360\257\377\362\020\000I/<\000\301\b`\000\000\000\004",
272 _extern = {
273 _refCount = 0xbec514,
274 _capacity = 2952786416
275 }
276 }
277 }, <No data fields>}
278 saveSlot = 0
279 plugin = 0xc45250
280 enginePlugin = 0xc45230
281 specialDebug = {
282 <Common::BaseString<char>> = {
283 static npos = 4294967295,
284 static _builtinCapacity = 24,
285 _size = 0,
286 _str = 0xafffeb2c "",
287 {
288 _storage = '\000' <repeats 23 times>,
289 _extern = {
290 _refCount = 0x0,
291 _capacity = 0
292 }
293 }
294 }, <No data fields>}
295 command = {
296 <Common::BaseString<char>> = {
297 static npos = 4294967295,
298 static _builtinCapacity = 24,
299 _size = 0,
300 _str = 0xafffeb4c "",
301 {
302 _storage = '\000' <repeats 23 times>,
303 _extern = {
304 _refCount = 0x0,
305 _capacity = 0
306 }
307 }
308 }, <No data fields>}
309 __PRETTY_FUNCTION__ = "int scummvm_main(int, const char* const*)"
310 system = @0xc108f8: {
311 <Common::NonCopyable> = {<No data fields>},
312 members of OSystem:
313 _vptr.OSystem = 0xbce9e0 <vtable for OSystem_POSIX+852>,
314 _audiocdManager = 0xdd20b0,
315 _eventManager = 0xdae360,
316 _timerManager = 0xea5790,
317 _savefileManager = 0xc720b0,
318 _textToSpeechManager = 0x0,
319 _fsFactory = 0xc109a0,
320 _dlcStore = 0x0,
321 _clipboard = {
322 <Common::BaseString<char32_t>> = {
323 static npos = 4294967295,
324 static _builtinCapacity = 30,
325 _size = 0,
326 _str = 0xc10920 U"",
327 {
328 _storage = U'\000' <repeats 29 times>,
329 _extern = {
330 _refCount = 0x0,
331 _capacity = 0
332 }
333 }
334 }, <No data fields>},
335 _dummyUnused = false,
336 _backendInitialized = true
337 }
338 settings = {
339 _nodePool = {
340 <Common::FixedSizeMemoryPool<64, 10>> = {
341 <Common::MemoryPool> = {
342 _chunkSize = 64,
343 _pages = {
344 _capacity = 0,
345 _size = 0,
346 _storage = 0x0
347 },
348 _next = 0xafffeb7c,
349 _chunksPerPage = 8
350 },
351 members of Common::FixedSizeMemoryPool<64, 10>:
352 _storage = "\257\377\353\274vices,128x128@2/devices,128x128/emblems,128x128@2/emblems,12\257\377\353\3748/emotes,128x128@2/emotes,128x128/filesystems,128x128@2/file\257\377\354<ems,128x128/intl,128x128@2/intl,128x128/mimetypes,128x128@2/\257\377\354|type"...
353 }, <No data fields>},
354 _defaultVal = {
355 <Common::BaseString<char>> = {
356 static npos = 4294967295,
357 static _builtinCapacity = 24,
358 _size = 0,
359 _str = 0xafffee04 "",
360 {
361 _storage = '\000' <repeats 23 times>,
362 _extern = {
363 _refCount = 0x0,
364 _capacity = 0
365 }
366 }
367 }, <No data fields>},
368 _storage = 0xc54c70,
369 _mask = 15,
370 _size = 0,
371 _deleted = 0,
372 _hash = {<No data fields>},
373 _equal = {<No data fields>}
374 }
375 executable = {
376 <Common::BaseString<char>> = {
377 static npos = 4294967295,
378 static _builtinCapacity = 24,
379 _size = 7,
380 _str = 0xafffee38 "scummvm",
381 {
382 _storage = "scummvm", '\000' <repeats 16 times>,
383 _extern = {
384 _refCount = 0x7363756d,
385 _capacity = 1836477696
386 }
387 }
388 }, <No data fields>}
389 additionalArgs = {
390 _capacity = 0,
391 _size = 0,
392 _storage = 0x0
393 }
394 initConfigFilename = {
395 static _shownSeparatorCollisionWarning = false,
396 static SEPARATOR = 47 '/',
397 static ESCAPE = 124 '|',
398 static ESCAPED_ESCAPE = 124 '|',
399 static ESCAPED_SEPARATOR = 92 '\\',
400 _str = {
401 <Common::BaseString<char>> = {
402 static npos = 4294967295,
403 static _builtinCapacity = 24,
404 _size = 0,
405 _str = 0xafffee64 "",
406 {
407 _storage = '\000' <repeats 23 times>,
408 _extern = {
409 _refCount = 0x0,
410 _capacity = 0
411 }
412 }
413 }, <No data fields>},
414 static kNoSeparator = 0 '\000',
415 static kNativeSeparator = 47 '/'
416 }
417 configLoadStatus = true
418 tokenizer = {
419 _str = {
420 <Common::BaseString<char>> = {
421 static npos = 4294967295,
422 static _builtinCapacity = 24,
423 _size = 0,
424 _str = 0xafffee84 "",
425 {
426 _storage = '\000' <repeats 23 times>,
427 _extern = {
428 _refCount = 0x0,
429 _capacity = 0
430 }
431 }
432 }, <No data fields>},
433 _delimiters = {
434 <Common::BaseString<char>> = {
435 static npos = 4294967295,
436 static _builtinCapacity = 24,
437 _size = 2,
438 _str = 0xafffeea4 " ,",
439 {
440 _storage = " ,\000/categories,96x96@2/c",
441 _extern = {
442 _refCount = 0x202c002f,
443 _capacity = 1667331173
444 }
445 }
446 }, <No data fields>},
447 _tokenBegin = 0,
448 _tokenEnd = 0
449 }
450 res = {
451 _code = Common::kNoError,
452 _desc = {
453 <Common::BaseString<char>> = {
454 static npos = 4294967295,
455 static _builtinCapacity = 24,
456 _size = 0,
457 _str = 0xafffeed0 "",
458 {
459 _storage = '\000' <repeats 23 times>,
460 _extern = {
461 _refCount = 0x0,
462 _capacity = 0
463 }
464 }
465 }, <No data fields>}
466 }
467 gfxModeSetting = {
468 <Common::BaseString<char>> = {
469 static npos = 4294967295,
470 static _builtinCapacity = 24,
471 _size = 0,
472 _str = 0xafffeef0 "",
473 {
474 _storage = '\000' <repeats 23 times>,
475 _extern = {
476 _refCount = 0x0,
477 _capacity = 0
478 }
479 }
480 }, <No data fields>}
481#11 0x0049c794 in main(int, char**) (argc=1, argv=0xaffff4e4) at backends/platform/sdl/posix/posix-main.cpp:44
482 __PRETTY_FUNCTION__ = "int main(int, char**)"
483 res = 0