| Summary: | [Mac] Secondary WebKit processes get re-exec'ed twice when running under ASan | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||||||
| Component: | WebKit2 | Assignee: | Alexey Proskuryakov <ap> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | andersca, commit-queue, dburkart, mrowe, sam | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=140316 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Alexey Proskuryakov
2015-01-06 23:52:12 PST
Created attachment 244143 [details]
proposed fix
As a separate fix, we'll also need to insert the library into the main process in run-webkit-tests and in run-safari. Having an extra re-exec in secondary process is the more annoying problem, because various IPC timeouts can pass while one resumes the process.
Created attachment 244144 [details]
proposed fix
Better behavior for release builds in the theoretical case where ASan library name becomes different.
It's not a big problem to re-exec in release build, because it's probably not being debugged. So it doesn't have to be fatal if we can't find the library.
Created attachment 244167 [details]
proposed fix
Structured it slightly nicer.
Attachment 244167 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/Launcher/mac/ProcessLauncherMac.mm:97: One line control clauses should not use braces. [whitespace/braces] [4]
Total errors found: 1 in 2 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Committed <http://trac.webkit.org/r178043>, build fix in <http://trac.webkit.org/r178044>. |