| Summary: | [ Mac wk2 ] http/tests/media/track-in-band-hls-metadata.html is flaky crashing. | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jason Lawrence <Lawrence.j> | ||||||||||
| Component: | Media | Assignee: | Jer Noble <jer.noble> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | cdumez, darin, eric.carlson, jer.noble, rniwa, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Mac | ||||||||||||
| OS: | macOS 10.14 | ||||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=203849 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Jason Lawrence
2020-03-24 13:01:28 PDT
Reverted r258931 for reason: Expectations need to include the timeout that is set in mac. Committed r258933: <https://trac.webkit.org/changeset/258933> I have marked the test as crashing while this issue is investigated. https://trac.webkit.org/changeset/258934/webkit I am able to reproduce this issue with r258908 using the command below. run-webkit-tests --iterations 888 --child-processes 50 --force -f -g http/tests/media/track-in-band-hls-metadata.html [273/888] http/tests/media/track-in-band-hls-metadata.html failed unexpectedly (com.apple.WebKit.WebContent.Development crashed [pid=41268]) Hm... this is very strange. TaskDispatcher<Timer> is getting fired but there is no task left? Created attachment 395576 [details]
Patch
Created attachment 395580 [details]
Patch
Comment on attachment 395580 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395580&action=review > Source/WebCore/ChangeLog:10 > + executing tasks on the main thread, when a GenericTaskQueue is destoryed on a background thread, destroyed > Source/WebCore/ChangeLog:11 > + move the TaskDispatcher into a task, and use the disptacher itself to destroy itself on the dispatcher > Source/WebCore/platform/GenericTaskQueue.h:81 > + : m_dispatcher(makeUniqueRefWithoutFastMallocCheck<TaskDispatcher<T>>()) Isn’t the correct thing to make TaskDispatcher use WTF_MAKE_FAST_ALLOCATED, not to call the "WithoutFastMallocCheck" version? Created attachment 395588 [details]
Patch
(In reply to Darin Adler from comment #8) > Comment on attachment 395580 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=395580&action=review > > > Source/WebCore/ChangeLog:10 > > + executing tasks on the main thread, when a GenericTaskQueue is destoryed on a background thread, > > destroyed > > > Source/WebCore/ChangeLog:11 > > + move the TaskDispatcher into a task, and use the disptacher itself to destroy itself on the > > dispatcher Whoops. Transposed finger syndrome. > > Source/WebCore/platform/GenericTaskQueue.h:81 > > + : m_dispatcher(makeUniqueRefWithoutFastMallocCheck<TaskDispatcher<T>>()) > > Isn’t the correct thing to make TaskDispatcher use WTF_MAKE_FAST_ALLOCATED, > not to call the "WithoutFastMallocCheck" version? Yeah, you're right. Changed. Committed r259593: <https://trac.webkit.org/changeset/259593> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395588 [details]. |