Summary: | [Flatpak] http server is not properly tear down | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Xabier Rodríguez Calvar <calvaris> | ||||
Component: | Tools / Tests | Assignee: | Philippe Normand <pnormand> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | aperez, ews-watchlist, glenn, jbedard, lmoura, pnormand, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Xabier Rodríguez Calvar
2021-02-08 08:11:15 PST
In case WebKitBuild/GTK/Release/layout-test-results/error_log.txt mentions "Error: (17)File exists: unable to create scoreboard" the workaround is to manually remove stale SHM segments: https://makandracards.com/fabio-silva/49967-apache-unable-to-create-scoreboard-shared-memory-failure I suppose we could automate this though. I think that clean up should be implemented before launching the server. Created attachment 438656 [details]
Patch
Tested locally and it's working as expected, cleaning the stale segments and allowing the server to start normally. Comment on attachment 438656 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438656&action=review > Tools/ChangeLog:10 > + 'scoreboard' with SHM. The proposed solution is to look for stale SHM segments, eg. segments TIL that Apache still uses SysV persistent SHM segments 🤯️ Committed r285627 (244128@main): <https://commits.webkit.org/244128@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438656 [details]. |