Bug 14520 - REGRESSION: Freeze in Java on activating javascript: link
Summary: REGRESSION: Freeze in Java on activating javascript: link
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Java (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL: http://www.plusmarketsgroup.com/detai...
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2007-07-04 03:23 PDT by Alex Stapleton
Modified: 2008-01-11 19:14 PST (History)
2 users (show)

See Also:


Attachments
Text Output from Spin Control (28.47 KB, text/plain)
2007-07-04 03:24 PDT, Alex Stapleton
no flags Details
Symbolicated sample from 10.4 (28.06 KB, text/plain)
2007-09-10 05:28 PDT, Mark Rowe (bdash)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Stapleton 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.
Comment 1 Alex Stapleton 2007-07-04 03:24:31 PDT
Created attachment 15382 [details]
Text Output from Spin Control
Comment 2 Alexey Proskuryakov 2007-07-06 04:07:38 PDT
Confirmed as a regression with r23922.
Comment 3 David Kilzer (:ddkilzer) 2007-07-07 11:43:18 PDT
<rdar://problem/5319435>
Comment 4 Maciej Stachowiak 2007-07-15 18:17:36 PDT
It seems very odd for http://trac.webkit.org/projects/webkit/changeset/23922 to have caused this.
Comment 5 Alexey Proskuryakov 2007-07-15 22:20:05 PDT
I haven't performed full regression testing - I've only tried r23922 and shipping Tiger WebKit.
Comment 6 Alex Stapleton 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?
Comment 7 Mark Rowe (bdash) 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.
Comment 8 Mark Rowe (bdash) 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.
Comment 9 David Kilzer (:ddkilzer) 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!