Bug 176234 - ASSERTION FAILED: taken.get() == &job in WebCore::ServiceWorkerContainer::jobDidFinish(WebCore::ServiceWorkerJob &)
Summary: ASSERTION FAILED: taken.get() == &job in WebCore::ServiceWorkerContainer::job...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-09-01 11:00 PDT by Ryan Haddad
Modified: 2017-09-01 16:59 PDT (History)
4 users (show)

See Also:


Attachments
crash log (95.31 KB, text/plain)
2017-09-01 11:00 PDT, Ryan Haddad
no flags Details
Fix (1.49 KB, patch)
2017-09-01 16:25 PDT, Brady Eidson
commit-queue: commit-queue-
Details | Formatted Diff | Diff
Patch (1.49 KB, patch)
2017-09-01 16:30 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2017-09-01 11:00:43 PDT
Created attachment 319620 [details]
crash log

ASSERTION FAILED: taken.get() == &job
/Volumes/Data/slave/elcapitan-debug/build/Source/WebCore/workers/service/ServiceWorkerContainer.cpp(218) : void WebCore::ServiceWorkerContainer::jobDidFinish(WebCore::ServiceWorkerJob &)
1   0x11e28d9f0 WTFCrash
2   0x1128a5683 WebCore::ServiceWorkerContainer::jobDidFinish(WebCore::ServiceWorkerJob&)
3   0x1128a55bc WebCore::ServiceWorkerContainer::jobFailedWithException(WebCore::ServiceWorkerJob&, WebCore::Exception const&)
4   0x1128a56d7 non-virtual thunk to WebCore::ServiceWorkerContainer::jobFailedWithException(WebCore::ServiceWorkerJob&, WebCore::Exception const&)
5   0x1128aacca WebCore::ServiceWorkerJob::failedWithException(WebCore::Exception const&)
6   0x112c1bf63 WebCore::SWClientConnection::jobRejectedInServer(unsigned long long, WebCore::ExceptionData const&)
7   0x10cad0548 void IPC::callMemberFunctionImpl<WebKit::WebSWClientConnection, void (WebCore::SWClientConnection::*)(unsigned long long, WebCore::ExceptionData const&), std::__1::tuple<unsigned long long, WebCore::ExceptionData>, 0ul, 1ul>(WebKit::WebSWClientConnection*, void (WebCore::SWClientConnection::*)(unsigned long long, WebCore::ExceptionData const&), std::__1::tuple<unsigned long long, WebCore::ExceptionData>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>)
8   0x10cad01f8 void IPC::callMemberFunction<WebKit::WebSWClientConnection, void (WebCore::SWClientConnection::*)(unsigned long long, WebCore::ExceptionData const&), std::__1::tuple<unsigned long long, WebCore::ExceptionData>, std::__1::integer_sequence<unsigned long, 0ul, 1ul> >(std::__1::tuple<unsigned long long, WebCore::ExceptionData>&&, WebKit::WebSWClientConnection*, void (WebCore::SWClientConnection::*)(unsigned long long, WebCore::ExceptionData const&))
9   0x10cacfe88 void IPC::handleMessage<Messages::WebSWClientConnection::JobRejectedInServer, WebKit::WebSWClientConnection, void (WebCore::SWClientConnection::*)(unsigned long long, WebCore::ExceptionData const&)>(IPC::Decoder&, WebKit::WebSWClientConnection*, void (WebCore::SWClientConnection::*)(unsigned long long, WebCore::ExceptionData const&))
10  0x10cacfbc5 WebKit::WebSWClientConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
11  0x10cad5806 WebKit::WebToStorageProcessConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
12  0x10c02db93 IPC::Connection::dispatchMessage(IPC::Decoder&)
13  0x10c024e51 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
14  0x10c02e19f IPC::Connection::dispatchOneMessage()
15  0x10c0351cd IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14::operator()()
16  0x10c03511c WTF::Function<void ()>::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14>::call()
17  0x11e2c70fe WTF::Function<void ()>::operator()() const
18  0x11e2e8618 WTF::RunLoop::performWork()
19  0x11e2e8e24 WTF::RunLoop::performWork(void*)
20  0x7fff96e7a7e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
21  0x7fff96e59f0c __CFRunLoopDoSources0
22  0x7fff96e5942f __CFRunLoopRun
23  0x7fff96e58e28 CFRunLoopRunSpecific
24  0x7fff97a00935 RunCurrentEventLoopInMode
25  0x7fff97a0076f ReceiveNextEventCommon
26  0x7fff97a005af _BlockUntilNextEventMatchingListInModeWithFilter
27  0x7fff8e578df6 _DPSNextEvent
28  0x7fff8e578226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
29  0x7fff8e56cd80 -[NSApplication run]
30  0x7fff8e536368 NSApplicationMain
31  0x7fff8a255194 _xpc_objc_main
LEAK: 20 WebPageProxy

https://build.webkit.org/results/Apple%20El%20Capitan%20Debug%20WK2%20(Tests)/r221478%20(2833)/results.html
Comment 1 Radar WebKit Bug Importer 2017-09-01 11:03:49 PDT
<rdar://problem/34211150>
Comment 2 Ryan Haddad 2017-09-01 11:18:41 PDT
This may be related to https://trac.webkit.org/changeset/221461/webkit
Comment 3 Brady Eidson 2017-09-01 15:58:13 PDT
Flakey? Always?
Comment 4 Brady Eidson 2017-09-01 16:02:53 PDT
Building with a clean tree now.
Comment 5 Brady Eidson 2017-09-01 16:20:04 PDT
I can reliably reproduce with:
run-webkit-tests http/tests/workers/service http/tests/xmlhttprequest/workers/abort-exception-assert.html --child-processes=1
Comment 6 Brady Eidson 2017-09-01 16:25:06 PDT
Created attachment 319666 [details]
Fix
Comment 7 WebKit Commit Bot 2017-09-01 16:26:49 PDT
Comment on attachment 319666 [details]
Fix

Rejecting attachment 319666 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 319666, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

/Volumes/Data/EWS/WebKit/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).

Full output: http://webkit-queues.webkit.org/results/4429615
Comment 8 WebKit Commit Bot 2017-09-01 16:29:18 PDT
Comment on attachment 319666 [details]
Fix

Rejecting attachment 319666 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 319666, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

/Volumes/Data/EWS/WebKit/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).

Full output: http://webkit-queues.webkit.org/results/4429642
Comment 9 Brady Eidson 2017-09-01 16:30:50 PDT
Created attachment 319667 [details]
Patch
Comment 10 WebKit Commit Bot 2017-09-01 16:59:24 PDT
Comment on attachment 319667 [details]
Patch

Clearing flags on attachment: 319667

Committed r221509: <http://trac.webkit.org/changeset/221509>
Comment 11 WebKit Commit Bot 2017-09-01 16:59:26 PDT
All reviewed patches have been landed.  Closing bug.