cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.83k stars 2.92k forks source link

Cannot generate dump file with crash_reporter.cfg #2440

Closed Michael-Tajmajer-Emrsn closed 6 years ago

Michael-Tajmajer-Emrsn commented 6 years ago

What version of the product are you using?

65.0.0-pre02

On what operating system?

Windows 10 (1607)

What steps will reproduce the problem?

Build CefSharp.WinForms.Example, ensure that crash_reporter.cfg is in the CefSharp.WinForms.Example\bin\x86\Release folder.

[Config] ProductName=CefSharp ProductVersion=63.0.0 AppName=CefSharp ExternalHandler=CefSharp.BrowserSubprocess.exe

Run CefSharp.WinForms.Example.exe, naviagate to chrome://crash, or chrome://inducebrowsercrashforrealz and no dmp file is created

Please provide any additional information below.

debug.log:

[0705/110851.221:ERROR:registration_protocol_win.cc(84)] TransactNamedPipe: The pipe has been ended. (0x6D) [0705/110851.229:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: browser [0705/110851.337:ERROR:registration_protocol_win.cc(56)] CreateFile: The system cannot find the file specified. (0x2) [0705/110851.338:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: gpu-process [0705/110851.601:ERROR:gpu_process_transport_factory.cc(1029)] Lost UI shared context. [0705/110851.632:ERROR:registration_protocol_win.cc(56)] CreateFile: The system cannot find the file specified. (0x2) [0705/110851.637:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer [0705/110851.737:ERROR:command_buffer_proxy_impl.cc(114)] ContextResult::kFatalFailure: Shared memory handle is not valid [0705/110856.366:ERROR:render_frame_impl.cc(896)] Intentionally crashing (with null pointer dereference) because user navigated to chrome://crash/ [0705/110859.369:ERROR:registration_protocol_win.cc(56)] CreateFile: The system cannot find the file specified. (0x2) [0705/110859.373:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer [0705/111225.515:ERROR:registration_protocol_win.cc(84)] TransactNamedPipe: The pipe has been ended. (0x6D) [0705/111225.523:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: browser [0705/111225.648:ERROR:registration_protocol_win.cc(56)] CreateFile: The system cannot find the file specified. (0x2) [0705/111225.650:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: gpu-process [0705/111225.987:ERROR:gpu_process_transport_factory.cc(1029)] Lost UI shared context. [0705/111226.017:ERROR:registration_protocol_win.cc(56)] CreateFile: The system cannot find the file specified. (0x2) [0705/111226.024:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer [0705/111321.739:ERROR:crashpad_client_win.cc(130)] crash server failed to launch, self-terminating

Looking in task manager shows that the none of the CefSharp.BrowserSubprocess.exe have a --type=crashpad-handler.

Maybe I am not understanding how to propertly configure the system to generate dump files when CefSharp.BrowserSubprocess.exe crashes? I am trying to track down a e0000008 exception.

amaitland commented 6 years ago

Does it work with the CEF Sample Application? (Details were in the bug report template).

Far as I know it works in 63.0.3, sounds more like a CEF bug than a CefSharp one.

amaitland commented 6 years ago

Looks like it was a CefSharp specific problem, this is resolved in #2449