RESOLVED FIXED 14520
REGRESSION: Freeze in Java on activating javascript: link
https://bugs.webkit.org/show_bug.cgi?id=14520
Summary REGRESSION: Freeze in Java on activating javascript: link
Alex Stapleton
Reported 2007-07-04 03:23:10 PDT
Click on the more> link above the chart on the right hand side of the page. WebKit should freeze.
Attachments
Text Output from Spin Control (28.47 KB, text/plain)
2007-07-04 03:24 PDT, Alex Stapleton
no flags
Symbolicated sample from 10.4 (28.06 KB, text/plain)
2007-09-10 05:28 PDT, Mark Rowe (bdash)
no flags
Alex Stapleton
Comment 1 2007-07-04 03:24:31 PDT
Created attachment 15382 [details] Text Output from Spin Control
Alexey Proskuryakov
Comment 2 2007-07-06 04:07:38 PDT
Confirmed as a regression with r23922.
David Kilzer (:ddkilzer)
Comment 3 2007-07-07 11:43:18 PDT
Maciej Stachowiak
Comment 4 2007-07-15 18:17:36 PDT
It seems very odd for http://trac.webkit.org/projects/webkit/changeset/23922 to have caused this.
Alexey Proskuryakov
Comment 5 2007-07-15 22:20:05 PDT
I haven't performed full regression testing - I've only tried r23922 and shipping Tiger WebKit.
Alex Stapleton
Comment 6 2007-09-10 05:15:44 PDT
Also reproduces all the way back to r21528 and in Safari 3.0 and apparently only under Tiger. Not a WebKit bug?
Mark Rowe (bdash)
Comment 7 2007-09-10 05:28:38 PDT
Created attachment 16245 [details] Symbolicated sample from 10.4 This appears to be specific to 10.4.x. It seems as though the main thread (Thread_1007) is deadlocked with the final thread (Thread_2603). Thread_2603 appears to be associated with a JVM that is attempting to create some type of native window. It is blocked waiting for a method to be called on the main thread. The main thread appears to be blocking in Java-related code below -[NSView _setWindow:]. A method named "MethodSwizzle" shows up there, which suggests something unpleasant is going on.
Mark Rowe (bdash)
Comment 8 2007-09-10 05:31:06 PDT
grep informs me that MethodSwizzle is a method inside JavaPluginCocoa.bundle. It seems highly sketchy that Java is blocking the main thread in response to a call to -[NSView _setWindow:]. My instinct here is to pass the blame to those doing the sketchy things.
David Kilzer (:ddkilzer)
Comment 9 2008-01-11 19:14:25 PST
This should be fixed as of Java Update 6 for Mac OS X 10.4. Alex, could you please verify? Thanks!
Note You need to log in before you can comment on or make changes to this bug.