Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Joined: May 2004
Posts: 966
Likes: 38
D
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 966
Likes: 38
If gdb is missing you can install it with "pacman -S mingw-w64-x86_64-gdb" (assuming 64-bit).

Joined: Sep 2008
Posts: 87
J
John IV Online Content OP
Member
OP Online Content
Member
J
Joined: Sep 2008
Posts: 87
Thanks Duke!

Joined: Sep 2008
Posts: 87
J
John IV Online Content OP
Member
OP Online Content
Member
J
Joined: Sep 2008
Posts: 87
Here are the results of the MK4 seg fault backtrace with the mame daily build and its sym file. I'm not sure why lines 0-7 are empty in their parens, doesn't look helpful. In the future what is the minimum required to get a backtrace to help dev debug. I'm not a programmer, but know enough to build nightly and would appreciate a bit more insight.

Can someone explain a few things about getting a back trace:
1. Do I have to build a -DEBUG and -SYMBOLS build, when I do it's 2.5GB and WIndows 10 is currently telling me 'this app won't run on your PC'
2. Is it sufficient to just build with -SYMBOLS to get the *.sym file to match the .exe.
3. When it's said that MAME now 'contains' a debugger how does that relate to a -DEBUG build are they redundant?
4. Why would you build with SYMBOLS=1 and strip them with STRIP_SYMBOLS=1 in the same make?
5. What should be showing in those ?? () lines in the backtrace?

(gdb) run mk4 -str 90 -nothrottle -norc -screen \\.\DISPLAY2 -window
Starting program: c:\O\Games\MAME\mame64.exe mk4 -str 90 -nothrottle -norc -screen \\.\DISPLAY2 -window
[New Thread 7212.0x1b54]
[New Thread 7212.0x3740]
[New Thread 7212.0x3338]
[New Thread 7212.0x33c4]
[New Thread 7212.0x37c8]
warning: onecore\windows\directx\database\helperlibrary\lib\perappusersettingsqueryimpl.cpp(121)\d3d9.dll!00007FFDE5F578D0: (caller: 00007FFDE5F16442) ReturnHr(1) tid(1068) 8000FFFF Catastrophic failure
warning: onecore\windows\directx\database\helperlibrary\lib\perappusersettingsqueryimpl.cpp(98)\d3d9.dll!00007FFDE5F1646B: (caller: 00007FFDE5F14C2D) ReturnHr(2) tid(1068) 8000FFFF Catastrophic failure
warning: onecore\windows\directx\database\helperlibrary\lib\directxdatabasehelper.cpp(1410)\d3d9.dll!00007FFDE5F16597: (caller: 00007FFDE5F14C2D) ReturnHr(3) tid(1068) 8000FFFF Catastrophic failure
[New Thread 7212.0x33d4]
warning: onecore\com\combase\objact\objact.cxx(827)\combase.dll!00007FFE150AD7D9: (caller: 00007FFE150AC5AA) ReturnHr(1) tid(1068) 800401F0 CoInitialize has not been called.
[New Thread 7212.0x3144]
[New Thread 7212.0x2188]
[New Thread 7212.0x1cc0]
[New Thread 7212.0x6b4]
[New Thread 7212.0x16d0]
[New Thread 7212.0x870]
[New Thread 7212.0x2eac]
[New Thread 7212.0x1fd0]
[New Thread 7212.0x3294]
[New Thread 7212.0x1bc]
[New Thread 7212.0x1724]
[New Thread 7212.0xd8c]
[New Thread 7212.0x1b1c]
[New Thread 7212.0x90c]
c32boot.bin ROM NEEDS REDUMP
WARNING: the machine might not run correctly.
[New Thread 7212.0x9c0]
[New Thread 7212.0xd14]
[New Thread 7212.0xe38]
[New Thread 7212.0x22ac]
[New Thread 7212.0x340c]

Thread 22 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 7212.0x9c0]
0x000000014542c632 in ?? ()
(gdb) bt
#0 0x000000014542c632 in ?? ()
#1 0x000000014542c81d in ?? ()
#2 0x00000001454350a1 in ?? ()
#3 0x000000014493f240 in ?? ()
#4 0x000000014493f47b in ?? ()
#5 0x000000014493ff22 in ?? ()
#6 0x000000014ac1f271 in ?? ()
#7 0x000000014734d283 in ?? ()
#8 0x00007ffe14f5af5a in msvcrt!_beginthreadex () from C:\WINDOWS\System32\msvcrt.dll
#9 0x00007ffe14f5b02c in msvcrt!_endthreadex () from C:\WINDOWS\System32\msvcrt.dll
#10 0x00007ffe15f87034 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll
#11 0x00007ffe16422651 in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll
#12 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

[update:] Pull in the last hour 0.230 (mame0230-111-gec1cbee4c4f) appears to have fixed the issue, I'd still like to know the answers to the questions above though for the next back trace adventure. Thanks -

Last edited by John IV; 04/07/21 03:25 AM.
Page 2 of 2 1 2

Link Copied to Clipboard
Who's Online Now
1 members (Vas Crabb), 28 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,132
Posts119,651
Members5,029
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com