NEW 193117
[WPE][GTK] WEBKIT_WEB_PROCESS_CRASHED should not trigger on Ctrl+C
https://bugs.webkit.org/show_bug.cgi?id=193117
Summary [WPE][GTK] WEBKIT_WEB_PROCESS_CRASHED should not trigger on Ctrl+C
Michael Catanzaro
Reported 2019-01-03 11:50:40 PST
$ epiphany ^C ** (epiphany:2): WARNING **: 13:46:18.727: Web process crashed ** (epiphany:2): WARNING **: 13:46:18.727: Web process crashed ** (epiphany:2): WARNING **: 13:46:18.727: Web process crashed ** (epiphany:2): WARNING **: 13:46:18.727: Web process crashed ** (epiphany:2): WARNING **: 13:46:18.727: Web process crashed SIGINT causes one "web process crashed" warning to print per open tab. It's because web-process-terminated is emitted with WEBKIT_WEB_PROCESS_CRASHED whenever WebKit's IPC socket is closed (SIGHUP) without checking the exit status of the child process. We should really add a new WebKitWebProcessTerminationReason to account for stuff like this. SIGINT is not a crash, nor is SIGTERM or SIGKILL. Crashes are for SIGSEGV, SIGABRT, SIGILL, SIGBUS, etc.
Attachments
Note You need to log in before you can comment on or make changes to this bug.