WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
221554
[Flatpak] http server is not properly tear down
https://bugs.webkit.org/show_bug.cgi?id=221554
Summary
[Flatpak] http server is not properly tear down
Xabier Rodríguez Calvar
Reported
2021-02-08 08:11:15 PST
1. Run http tests, that force the http server to be spawed. In my case I used http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html in parallel 100 times. 2. Before it ends, press Ctrl+C to shut down the testing. 3. Goto 1. It will fail as the server could not be spawned.
Attachments
Patch
(2.62 KB, patch)
2021-09-20 04:42 PDT
,
Philippe Normand
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2021-02-12 02:46:34 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.
Xabier Rodríguez Calvar
Comment 2
2021-02-12 03:50:22 PST
I think that clean up should be implemented before launching the server.
Philippe Normand
Comment 3
2021-09-20 04:42:16 PDT
Created
attachment 438656
[details]
Patch
Lauro Moura
Comment 4
2021-10-13 12:46:47 PDT
Tested locally and it's working as expected, cleaning the stale segments and allowing the server to start normally.
Adrian Perez
Comment 5
2021-11-11 05:48:50 PST
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 🤯️
EWS
Comment 6
2021-11-11 06:55:36 PST
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]
.
Radar WebKit Bug Importer
Comment 7
2021-11-11 06:56:44 PST
<
rdar://problem/85297816
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug