<?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>86910</bug_id>
          
          <creation_ts>2012-05-18 15:40:13 -0700</creation_ts>
          <short_desc>ASSERT in JSEventListener::jsFunction() from audioContext.oncompletion</short_desc>
          <delta_ts>2012-12-29 08:21:01 -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 JavaScript</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>102356</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jer Noble">jer.noble</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>ggaren</cc>
    
    <cc>jer.noble</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>628162</commentid>
    <comment_count>0</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2012-05-18 15:40:13 -0700</bug_when>
    <thetext>ASSERTION FAILED: m_wrapper || !m_jsFunction
/Volumes/Users/jer/Projects/WebKit.git/OpenSource/Source/WebCore/bindings/js/JSEventListener.h(90) : JSC::JSObject *WebCore::JSEventListener::jsFunction(WebCore::ScriptExecutionContext *) const
1   0x101f4f5b6 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*)
2   0x1019ee007 WebCore::EventTarget::fireEventListeners(WebCore::Event*, WebCore::EventTargetData*, WTF::Vector&lt;WebCore::RegisteredEventListener, 1ul&gt;&amp;)
3   0x1019ede6b WebCore::EventTarget::fireEventListeners(WebCore::Event*)
4   0x1019edcf7 WebCore::EventTarget::dispatchEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;)
5   0x101501790 WebCore::AudioContext::fireCompletionEvent()
6   0x10243f51d WebCore::OfflineAudioDestinationNode::notifyComplete()
7   0x10243f4e9 WebCore::OfflineAudioDestinationNode::notifyCompleteDispatch(void*)
8   0x1005ac864 WTF::dispatchFunctionsFromMainThread()
9   0x7fff8cd4dea8 __NSThreadPerformPerform
10  0x7fff95792e91 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
11  0x7fff957927b5 __CFRunLoopDoSources0
12  0x7fff957b5a05 __CFRunLoopRun
13  0x7fff957b52f2 CFRunLoopRunSpecific
14  0x7fff8cd0c84e -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
15  0x100019259 runTest(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;)
16  0x10001752d dumpRenderTree(int, char const**)
17  0x100019a99 main
18  0x7fff91f997e1 start</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>628165</commentid>
    <comment_count>1</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2012-05-18 15:40:53 -0700</bug_when>
    <thetext>Assertion occurs when running DumpRenderTree against the following:

webaudio/delaynode-scheduling.html
webaudio/delaynode.html
webaudio/audiobuffersource-multi-channels.html
webaudio/delaynode-maxdelay.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629341</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-21 11:55:40 -0700</bug_when>
    <thetext>Sounds like the listener&apos;s wrapper is not protected from garbage collection.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629376</commentid>
    <comment_count>3</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2012-05-21 12:20:26 -0700</bug_when>
    <thetext>Is this a regression?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629377</commentid>
    <comment_count>4</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2012-05-21 12:22:27 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Is this a regression?

Probably not.  It&apos;s only being discovered as I add support for dumping audio data out of the Mac version of DRT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>653202</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-06-19 22:24:25 -0700</bug_when>
    <thetext>*** Bug 80298 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>653203</commentid>
    <comment_count>6</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-06-19 22:28:44 -0700</bug_when>
    <thetext>Bug 80681 seems to be another dupe but has a tentative patch and some interesting comments from Geoffrey.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>719604</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-09-13 09:48:56 -0700</bug_when>
    <thetext>Philippe, Jer, would it be possible for you to look into this soon? We have a number of tests crashing on this assertion for unrelated reasons, and it would be very helpful to eliminate known and well understood cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>769540</commentid>
    <comment_count>8</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-11-16 11:56:04 -0800</bug_when>
    <thetext>There&apos;s an AudioContext patch up for review that might fix this.  Let me find it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>769541</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-11-16 11:56:21 -0800</bug_when>
    <thetext>https://bugs.webkit.org/show_bug.cgi?id=102356</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>798138</commentid>
    <comment_count>10</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-12-29 08:21:01 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>