WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
45726
Crash when binding to <audio> 'play' event
https://bugs.webkit.org/show_bug.cgi?id=45726
Summary
Crash when binding to <audio> 'play' event
Alexander Kahn
Reported
2010-09-13 18:42:58 PDT
On the page I'm working on, when I bind a function the the play event of an audio element, the browser crashes. I'm binding to the event using jQuery with the code below: $('audio').bind('play', function() { alert('started playing'); }); Attached is the page. It's simple but not all the way reduced. Maybe this has to do with the fact that the MP3 file I'm playing with my audio tag is a stream as opposed to a file. But that's just a guess.
Attachments
Test page
(3.21 KB, text/html)
2010-09-13 18:43 PDT
,
Alexander Kahn
no flags
Details
Crash report
(48.04 KB, text/plain)
2010-09-13 18:45 PDT
,
Alexander Kahn
no flags
Details
Reduced test page
(611 bytes, text/html)
2010-09-13 19:03 PDT
,
Alexander Kahn
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexander Kahn
Comment 1
2010-09-13 18:43:55 PDT
Created
attachment 67504
[details]
Test page
Alexander Kahn
Comment 2
2010-09-13 18:45:56 PDT
Created
attachment 67505
[details]
Crash report
Alexander Kahn
Comment 3
2010-09-13 18:49:28 PDT
I should add that since this page makes an AJAX request, it needs to be downloaded and run locally, or else the AJAX request fails due to cross domain restrictions.
Alexander Kahn
Comment 4
2010-09-13 19:03:25 PDT
I'm adding a reduced test page. The page indicates that the crash occurs when binding using jQuery, but not when simply using addEventListener.
Alexander Kahn
Comment 5
2010-09-13 19:03:57 PDT
Created
attachment 67508
[details]
Reduced test page
Alexander Kahn
Comment 6
2010-09-13 19:12:28 PDT
It seems that part of the problem is, indeed, the fact that the media is an audio stream as opposed to a discrete file. Change the audio src to
http://dl.dropbox.com/u/2104764/test.mp3
(an actual MP3 file) and the browser no longer crashes.
Eric Seidel (no email)
Comment 7
2010-09-14 12:02:09 PDT
This seesm to be a crash in QuickTime itself? The Apple folks are needed here.
Simon Fraser (smfr)
Comment 8
2010-09-14 12:06:59 PDT
<
rdar://problem/8429052
>
Simon Fraser (smfr)
Comment 9
2010-09-14 12:10:24 PDT
It doesn't crash for me.
Eric Carlson
Comment 10
2010-09-14 12:31:45 PDT
This works for me on 10.6.4 with both Safari 5 and TOT WebKit. From the crash log I wonder if this was a CFNetwork but that was fixed in 10.6.4?
Eric Carlson
Comment 11
2010-09-20 14:22:29 PDT
(In reply to
comment #6
)
> It seems that part of the problem is, indeed, the fact that the media is an audio stream as opposed > to a discrete file. Change the audio src to
http://dl.dropbox.com/u/2104764/test.mp3
(an > actual MP3 file) and the browser no longer crashes.
Are you able to reproduce this with 10.6.4?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug