Page 1 of 1

CEF mini dumps with crash handler on MAC

PostPosted: Thu Sep 09, 2021 12:40 pm
by ccbournejr
I have a mini dump produced by crashpad on MAC and I'm trying to use dump_syms to generate symbolic debug for CEF framework.
Code: Select all
> dump_syms -g ~/Downloads/cef_binary_92.0.21+ga9ec100+chromium-92.0.4515.107_macosx64_debug_symbols/Chromium\ Embedded\ Framework.dSYM/Contents/Resources/DWARF/Chromium\ Embedded\ Framework ~/Downloads/cef_binary_92.0.21+ga9ec100+chromium-92.0.4515.107_macosx64/Release/Chromium\ Embedded\ Framework.framework/Chromium\ Embedded\ Framework > stackDumps/sym/C.sym


This produces an empty file (after an hour) and this is the last output to stderr:
Code: Select all
Cannot generate a symbol file from split sources that do not match.


I've done this for my application part and it produces symbols for minidump_stackwalk to consume. Has anyone had luck producing symbols from a dwarf on MAC?
Thanks in advance,

Re: CEF mini dumps with crash handler on MAC

PostPosted: Thu Sep 09, 2021 12:44 pm
by magreenblatt

Re: CEF mini dumps with crash handler on MAC

PostPosted: Thu Sep 09, 2021 12:54 pm
by ccbournejr
I built the breakpad repo tools on my mac.

Re: CEF mini dumps with crash handler on MAC

PostPosted: Thu Sep 09, 2021 12:59 pm
by ccbournejr
Specifically, used the xcode project in breakpad for dump_syms

Code: Select all
xcodebuild -project dump_syms.xcodeproj -configuration Release

Re: CEF mini dumps with crash handler on MAC

PostPosted: Thu Sep 09, 2021 1:58 pm
by ccbournejr
Maybe it is due to using a debug DWARF and a Release CEF ELF - just looked at the breakpad dump_syms source on that error :(
Works. Sorry. :)