Bug 21048

Summary: Webkit stops responding totally
Product: WebKit Reporter: Jyrki Wahlstedt <jyrki.wahlstedt>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Critical CC: ap, aroben, desamo, mihnea
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Installed plug-ins
none
List of modules in the system (Win XP) none

Jyrki Wahlstedt
Reported 2008-09-24 00:42:12 PDT
After using Webkit for some time, it stops responding totally. This is a new behaviour seen in r36766, may happen even while scrolling a page, most often though after using another app for a while, return does not happen. It might be related to this that at launch the main window does not appear in front, which would be normal, but stays in background and must be explicitly selected. There is no way to recover, but to kill the whole process.
Attachments
Installed plug-ins (3.54 KB, text/html)
2008-11-10 03:34 PST, Jyrki Wahlstedt
no flags
List of modules in the system (Win XP) (7.15 KB, text/plain)
2009-01-07 03:41 PST, Jyrki Wahlstedt
no flags
Jyrki Wahlstedt
Comment 1 2008-09-24 23:31:30 PDT
Happens with r36882
Jyrki Wahlstedt
Comment 2 2008-09-30 22:39:09 PDT
and with r37113, one symptom of course being that if I change to another app, I don't see any Webkit window anymore (oh well, I miss OS X sampling, could see what is happening, but this doesn't even crash, just stays there silent, doing nothing)
Jyrki Wahlstedt
Comment 3 2008-09-30 22:39:59 PDT
Seems somehow time-related, all is fine for half an hour or so
Jyrki Wahlstedt
Comment 4 2008-10-01 03:12:34 PDT
Started r37113 twice, ran 10-20 minutes, then froze. My usual setup: five windows with 26 tabs (9+2+7+5+3) similar tabs grouped together.
Jyrki Wahlstedt
Comment 5 2008-10-07 22:50:53 PDT
and r37382
Jyrki Wahlstedt
Comment 6 2008-10-09 22:31:22 PDT
and with r37458
Jyrki Wahlstedt
Comment 7 2008-10-16 22:15:07 PDT
and with r37604
Jyrki Wahlstedt
Comment 8 2008-10-23 22:48:52 PDT
and r37819:-(
Jyrki Wahlstedt
Comment 9 2008-10-24 00:11:52 PDT
Well, so far I haven't mentioned (should have) that all WebKit tasks shown in Task Manager show the state as 'Not responding'
Jyrki Wahlstedt
Comment 10 2008-10-26 23:37:37 PDT
and r37894
Jyrki Wahlstedt
Comment 11 2008-10-30 05:56:37 PDT
and, no surprise here, with r37990
Alexey Proskuryakov
Comment 12 2008-10-31 03:51:03 PDT
Please attach a sample of the process, taken with /Applications/Utilities/Activity Monitor.app. Please also make sure that you don't have any "Safari enhancers" installed via SIMBL, input managers or other methods.
Jyrki Wahlstedt
Comment 13 2008-11-02 22:11:18 PST
Sorry, this is on Windows (wouldn't use it by choice), if there is a similar sampler somewhere, it would be nice to know (no access to MSDN or similar though) On OS X, sampling a process is really useful, would have done that already, I'd guess
Jyrki Wahlstedt
Comment 14 2008-11-03 02:27:26 PST
and no, there are no enhancers of any kind involved
Jyrki Wahlstedt
Comment 15 2008-11-07 05:54:40 PST
and r38192...
Alexey Proskuryakov
Comment 16 2008-11-07 06:35:16 PST
Do the freezes correlate with which sites you visit in any way? Also, will they persist if you disable Java and plug-ins?
Jyrki Wahlstedt
Comment 18 2008-11-09 22:35:50 PST
r38240, with this page set, froze quickly
Jyrki Wahlstedt
Comment 19 2008-11-09 23:02:42 PST
r38240, plugins and Java disabled, freezes
Alexey Proskuryakov
Comment 20 2008-11-09 23:40:45 PST
Jyrki Wahlstedt
Comment 21 2008-11-10 03:29:29 PST
Sorry, I might have made a hasty conclusion, not sure about it, but maybe killing the process from "Task Manager" leaves something behind, in any case after a normal quit I ran quite a while, longer than expected, have to check on disabling Java/plugins separately
Jyrki Wahlstedt
Comment 22 2008-11-10 03:34:08 PST
Created attachment 25013 [details] Installed plug-ins with r38240, on Nov 10th
Jyrki Wahlstedt
Comment 23 2008-11-10 22:40:47 PST
Now, then, the blame seems to be more on plug-ins, as I had r38240 running with plug-ins disabled, and Java enabled, it staying operational overnight, after which I enabled plugins (cf. attached file) leading to a freeze
Jyrki Wahlstedt
Comment 24 2008-11-14 01:29:09 PST
FWIW, Safari 3.2 shows similar behaviour (running it at the moment with plug-ins disabled, so we'll see)
Alexey Proskuryakov
Comment 25 2008-11-14 01:57:58 PST
Safari 3.2 only has very minimal WebKit changes, so this is extremely strange. Are you sure that running Safari 3.1 with r36712 (the last nightly revision before r36766 ) didn't expose the problem? Maybe this is something that changed on on of the sites you visit that started triggering it?
Jyrki Wahlstedt
Comment 26 2008-11-18 04:09:53 PST
Yes, extremely strange, that's what I think of this, too, but anyway it's recurrent, and so far the only connecting thing is enabling/disabling the plug-ins, though what would be the potential culprit, I have no faintest idea (I tried to ascertain I'm running the basic Safari, not Webkit-nightly, and the quickest way seems to be to launch Web Inspector that shows in Webkit only). There seems to be no apparent relation to the visited pages, it seems really to be more related to the time the process has been running, strange...
Deirdre Saoirse Moen
Comment 27 2009-01-05 14:30:05 PST
Jyrki, what other things might you have installed other than plug-ins proper? E.g. input managers, etc. (The easiest way to see this is to look at a relatively recent Safari crash log at the bottom section (Binary Images) and look for items with a + right before the name. Crash logs can be found at ~/Library/Logs/CrashReporter/)
Jyrki Wahlstedt
Comment 28 2009-01-07 03:40:31 PST
Hi, I'd love to know, how to find that information on the problematic platform (i.e. Win XP), as that path looks very much like OS X... But I add an older module list from my system as seen by Dr. Watson.
Jyrki Wahlstedt
Comment 29 2009-01-07 03:41:53 PST
Created attachment 26489 [details] List of modules in the system (Win XP)
Jyrki Wahlstedt
Comment 30 2009-01-07 03:49:50 PST
Adding to the previous comment, there is no real way to get a crash log, as the app does not crash, it just does nothing ('not responding' in Task Manager). If someone knows a way to do the thing sampling on OS X does on Windows, I'd be happy to do that, but a (very) brief search gave nothing.
Jyrki Wahlstedt
Comment 31 2010-12-02 02:02:11 PST
This hasn't happened for a long time, so this could be closed by me...
Alexey Proskuryakov
Comment 32 2010-12-02 09:06:58 PST
Thanks for the update!
Note You need to log in before you can comment on or make changes to this bug.