<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>138749</bug_id>
          
          <creation_ts>2014-11-14 11:36:24 -0800</creation_ts>
          <short_desc>Crash under WebCore::TimerBase::heapDeleteMin()</short_desc>
          <delta_ts>2014-11-30 14:25:42 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 8.1</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>137009</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stuart Morgan">stuartmorgan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1048810</commentid>
    <comment_count>0</comment_count>
    <who name="Stuart Morgan">stuartmorgan</who>
    <bug_when>2014-11-14 11:36:24 -0800</bug_when>
    <thetext>A significant number of UIWebView crashes in Chrome for iOS look like this:

Thread 18 CRASHED [EXC_BAD_ACCESS / KERN_INVALID_ADDRESS @ 0x10000000000000000] MAGIC SIGNATURE THREAD
0x00000001936dd1b0	[WebCore + 0x000291b0 ]	void std::__1::__push_heap_front&lt;WebCore::TimerHeapLessThanFunction&amp;, WebCore::TimerHeapIterator&gt;(WebCore::TimerHeapIterator, WebCore::TimerHeapIterator, WebCore::TimerHeapLessThanFunction&amp;, std::__1::iterator_traits&lt;WebCore::TimerHeapIterator&gt;::difference_type)
0x00000001936dd0c4	[WebCore + 0x000290c4 ]	WebCore::TimerBase::heapDeleteMin()
0x00000001936dcf50	[WebCore + 0x00028f50 ]	WebCore::ThreadTimers::sharedTimerFiredInternal()
0x00000001936dcec0	[WebCore + 0x00028ec0 ]	WebCore::timerFired(__CFRunLoopTimer*, void*)
0x0000000185c91fd0	[CoreFoundation + 0x000ddfd0 ]	__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
0x0000000185c91c80	[CoreFoundation + 0x000ddc80 ]	__CFRunLoopDoTimer
0x0000000185c8f6cc	[CoreFoundation + 0x000db6cc ]	__CFRunLoopRun
0x0000000185bbd1f0	[CoreFoundation + 0x000091f0 ]	CFRunLoopRunSpecific
0x0000000193763fe8	[WebCore + 0x000affe8 ]	RunWebThread(void*)
0x0000000196befe7c	[libsystem_pthread.dylib + 0x00003e7c ]	_pthread_body
0x0000000196befdd8	[libsystem_pthread.dylib + 0x00003dd8 ]	_pthread_start
0x0000000196becfac	[libsystem_pthread.dylib + 0x00000fac ]	thread_start

Unfortunately these are coming from automated reports, and we don&apos;t have repro steps. Is there any information we could gather from aggregated reports that could help pinpoint this?

Note that this is also filed as rdar//16068939</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1049883</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-11-19 13:09:36 -0800</bug_when>
    <thetext>Please let us know once you have crash data from iOS 8.1.1. Bug 137009 may have addressed a portion of these crashes (or even all of them, if we are lucky).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1049948</commentid>
    <comment_count>2</comment_count>
    <who name="Stuart Morgan">stuartmorgan</who>
    <bug_when>2014-11-19 15:43:40 -0800</bug_when>
    <thetext>We don&apos;t have much data yet, but so far none of our 8.1.1 crashes seem to have heapDeleteMin, which is a good sign. I&apos;ll update at the beginning of next week when we&apos;ve had time to collect more data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1050483</commentid>
    <comment_count>3</comment_count>
    <who name="Stuart Morgan">stuartmorgan</who>
    <bug_when>2014-11-21 10:07:51 -0800</bug_when>
    <thetext>Still 0 hits on anything with WebCore::TimerBase::heapDeleteMin in the stack for 8.1.1; I think we have enough data that we can call this fixed. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1051364</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-11-30 14:25:42 -0800</bug_when>
    <thetext>Great! I&apos;ll call this a duplicate of bug 137009 then.

*** This bug has been marked as a duplicate of bug 137009 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>