Bug 155721 - [iOS Simulator WK1] Crash in MediaPlayer::setPrivateBrowsingMode()
Summary: [iOS Simulator WK1] Crash in MediaPlayer::setPrivateBrowsingMode()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Local Build
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-03-21 08:55 PDT by Daniel Bates
Modified: 2016-04-06 17:14 PDT (History)
7 users (show)

See Also:


Attachments
DumpRenderTree-93680-crash-log (84.68 KB, text/plain)
2016-03-21 08:55 PDT, Daniel Bates
no flags Details
Proposed patch. (9.32 KB, patch)
2016-04-06 16:14 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2016-03-21 08:55:01 PDT
Created attachment 274599 [details]
DumpRenderTree-93680-crash-log

On the Apple iOS 9 Simulator Release WK1 (Tests) bot, the test LayoutTests/fast/replaced/replaced-child-of-absolute-with-auto-height.html crashes in MediaPlayer::setPrivateBrowsingMode():

[[
Process:               DumpRenderTree [93680]
...
Crashed Thread:        3  WebThread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000000000ea
Exception Note:        EXC_CORPSE_NOTIFY
...
Thread 3 Crashed:: WebThread
0   com.apple.WebCore             	0x0000000105ff35f4 WebCore::MediaPlayer::setPrivateBrowsingMode(bool) + 4 (MediaPlayer.cpp:1075)
1   com.apple.WebCore             	0x0000000105a61d3d WebCore::HTMLMediaElement::loadResource(WebCore::URL const&, WebCore::ContentType&, WTF::String const&) + 1805 (HTMLMediaElement.cpp:1309)
2   com.apple.WebCore             	0x0000000105a6124f WebCore::HTMLMediaElement::selectMediaResource() + 943 (HTMLMediaElement.cpp:1208)
3   com.apple.WebCore             	0x0000000105a5adfc WebCore::HTMLMediaElement::pendingActionTimerFired() + 76 (HTMLMediaElement.cpp:885)
4   com.apple.WebCore             	0x0000000106526b5f WebCore::ThreadTimers::sharedTimerFiredInternal() + 175 (ThreadTimers.cpp:124)
5   com.apple.WebCore             	0x0000000105fd16cf WebCore::timerFired(__CFRunLoopTimer*, void*) + 31 (MainThreadSharedTimerCF.cpp:75)
6   com.apple.CoreFoundation      	0x0000000103035364 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
7   com.apple.CoreFoundation      	0x0000000103034f11 __CFRunLoopDoTimer + 1089
8   com.apple.CoreFoundation      	0x0000000102ff68b1 __CFRunLoopRun + 1937
9   com.apple.CoreFoundation      	0x0000000102ff5e98 CFRunLoopRunSpecific + 488
10  com.apple.WebCore             	0x00000001065d0d55 RunWebThread(void*) + 469 (WebCoreThread.mm:691)
11  libsystem_pthread.dylib       	0x000000010a1fdc13 _pthread_body + 131
12  libsystem_pthread.dylib       	0x000000010a1fdb90 _pthread_start + 168
13  libsystem_pthread.dylib       	0x000000010a1fb375 thread_start + 13
]]
<https://build.webkit.org/results/Apple%20iOS%209%20Simulator%20Release%20WK1%20(Tests)/r198483%20(4337)/DumpRenderTree-93680-crash-log.txt>

For convenience the associated test results page is at <https://build.webkit.org/results/Apple%20iOS%209%20Simulator%20Release%20WK1%20(Tests)/r198483%20(4337)/results.html>.
Comment 1 Eric Carlson 2016-04-06 15:42:07 PDT
<rdar://problem/18590481>
Comment 2 Eric Carlson 2016-04-06 16:14:53 PDT
Created attachment 275828 [details]
Proposed patch.
Comment 3 WebKit Commit Bot 2016-04-06 17:14:44 PDT
Comment on attachment 275828 [details]
Proposed patch.

Clearing flags on attachment: 275828

Committed r199126: <http://trac.webkit.org/changeset/199126>
Comment 4 WebKit Commit Bot 2016-04-06 17:14:48 PDT
All reviewed patches have been landed.  Closing bug.