CEF/Crashpad ExternalHandler config attribute on windows

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF/Crashpad ExternalHandler config attribute on windows

Postby ccbournejr » Wed Sep 15, 2021 2:40 pm

I've integrated CEF crashpad onto my MAC distro and it seems to work as expected.
On windows, the additional ExternalHandler in CEF config, can point to a crashpad_handler.exe build?

Code: Select all
[Config]
ExternalHandler=c:\splat\Crashpad\build\crashpad-2021-07-16-release-x86-fd70c47fc249659db8a7345b00026b14a3963d6d\bin\crashpad_handler.exe
[CrashKeys]
ExampleKey1=small
ExampleKey1=medium
ExampleKey2=large


This is resulting in output (below) to stderr. Which I guess, is the same argument set that would be passed to my main process - in the case where I didn't use "ExternalHandler"? I had originally thought that the "type=crashpad-handler" would only be passed to the main if I didn't have the external handler.
Code: Select all
c:\splat\Crashpad\build\crashpad-2021-07-16-release-x86-fd70c47fc249659db8a7345b00026b14a3963d6d\bin\crashpad_handler.exe: invalid option -- `-t'
Try 'crashpad_handler.exe --help' for more information.


Thanks for the advice/help.
ccbournejr
Techie
 
Posts: 30
Joined: Mon Aug 23, 2021 7:47 am

Re: CEF/Crashpad ExternalHandler config attribute on windows

Postby ccbournejr » Thu Sep 16, 2021 10:25 am

I'm supposing that there is never the intent to have an external crashpad handler process with CEF, per se. Simply a different mechanism for process initialization based on the type arguments. I had read too much into the ExternalHandler attribute and the fact that I had previously had another application that used an external crashpad with a mini-chromium library.
ccbournejr
Techie
 
Posts: 30
Joined: Mon Aug 23, 2021 7:47 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 28 guests