Bug 215465 - REGRESSION (r265603): ASSERTION FAILED: m_suspended in WebCore::SuspendableTimerBase::resume() seen with http/tests/security/no-indexeddb-from-sandbox.html
Summary: REGRESSION (r265603): ASSERTION FAILED: m_suspended in WebCore::SuspendableTi...
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: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-08-13 14:33 PDT by Hector Lopez
Modified: 2020-09-04 16:03 PDT (History)
4 users (show)

See Also:


Attachments
Crash log (93.59 KB, text/plain)
2020-08-13 14:33 PDT, Hector Lopez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hector Lopez 2020-08-13 14:33:04 PDT
Created attachment 406543 [details]
Crash log

http/tests/security/no-indexeddb-from-sandbox.html

Test is a constant crash on macOS Catalina wk2 Debug and iOS wk2 Debug. The first occurrence of a crash is at r265603.

History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fsecurity%2Fno-indexeddb-from-sandbox.html&limit=50000&platform=ios&platform=mac

Crash log:
CRASHING TEST: /security/navigate-when-restoring-cached-page.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000024cad97ce WTFCrash + 14 (Assertions.cpp:295)
1   com.apple.WebCore             	0x000000022dc0f9eb WTFCrashWithInfo(int, char const*, char const*, int) + 27
2   com.apple.WebCore             	0x00000002318fa798 WebCore::SuspendableTimerBase::resume() + 104 (SuspendableTimer.cpp:74)
3   com.apple.WebCore             	0x0000000230b54d0d auto WebCore::ScriptExecutionContext::resumeActiveDOMObjects(WebCore::ReasonForSuspension)::$_8::operator()<WebCore::ActiveDOMObject>(WebCore::ActiveDOMObject&) const + 29 (ScriptExecutionContext.cpp:280)
4   com.apple.WebCore             	0x0000000230b54cc3 WTF::Detail::CallableWrapper<WebCore::ScriptExecutionContext::resumeActiveDOMObjects(WebCore::ReasonForSuspension)::$_8, WebCore::ScriptExecutionContext::ShouldContinue, WebCore::ActiveDOMObject&>::call(WebCore::ActiveDOMObject&) + 51 (Function.h:52)
5   com.apple.WebCore             	0x0000000230b301fa WTF::Function<WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&)>::operator()(WebCore::ActiveDOMObject&) const + 154 (Function.h:83)
6   com.apple.WebCore             	0x0000000230b30050 WebCore::ScriptExecutionContext::forEachActiveDOMObject(WTF::Function<WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&)> const&) const + 192 (ScriptExecutionContext.cpp:244)
Comment 1 Radar WebKit Bug Importer 2020-08-13 14:33:33 PDT
<rdar://problem/67018075>
Comment 2 Hector Lopez 2020-08-13 14:46:01 PDT
http/tests/security/no-indexeddb-from-sandbox.html

Test is a constant crash on macOS wk2 Debug and iOS wk2 Debug. The first occurrence of a crash is at r265603.

Test expectation while investigated:

https://trac.webkit.org/changeset/265622/webkit
Comment 3 Ryan Haddad 2020-08-13 17:02:54 PDT
ASSERTION FAILED: m_suspended
./page/SuspendableTimer.cpp(74) : virtual void WebCore::SuspendableTimerBase::resume()
Comment 4 Ryan Haddad 2020-08-13 17:25:21 PDT
Based on test history, it looks like this regressed with https://trac.webkit.org/changeset/265603/webkit
Comment 5 Darin Adler 2020-09-04 15:21:55 PDT
This is marked as always crashing in TestExpectations, but I am pretty sure it was fixed by r266148.