Bug 24642

Summary: REGRESSION: Nightly builds sometimes erroneously display a message about failing to launch successfully
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: blinxwang, cwg_007, mrowe
Priority: P2 Keywords: Regression
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://nightly.webkit.org/
Attachments:
Description Flags
Warning dialog none

David Kilzer (:ddkilzer)
Reported 2009-03-17 06:36:31 PDT
* SUMMARY When launching WebKit nightly r41707, an error dialog is displayed about WebKit not being able to launch. Hitting the "Continue" button, though launches Safari with the gold icon anyway, but NOT using the nightly libraries (which is even more confusing).
Attachments
Warning dialog (32.79 KB, image/png)
2009-03-17 06:37 PDT, David Kilzer (:ddkilzer)
no flags
David Kilzer (:ddkilzer)
Comment 1 2009-03-17 06:37:28 PDT
Created attachment 28686 [details] Warning dialog
David Kilzer (:ddkilzer)
Comment 2 2009-03-17 07:46:23 PDT
This appears to be an issue with only the Launcher as the bisect-builds works just fine with nightly build r41760.
David Kilzer (:ddkilzer)
Comment 3 2009-03-17 10:03:33 PDT
Happens as far back as r39682 (which is the first nightly build that works with Safari 4 Public Beta). Can't really test before that.
Mark Rowe (bdash)
Comment 4 2009-03-17 10:16:57 PDT
That is not a surprise, given that this part of the launcher code has not changed in a very long time.
Mark Rowe (bdash)
Comment 5 2009-03-17 11:33:21 PDT
It seems unlikely that this is specific to Tiger as well.
Mark Rowe (bdash)
Comment 6 2009-03-24 09:50:38 PDT
*** Bug 24774 has been marked as a duplicate of this bug. ***
Mark Rowe (bdash)
Comment 7 2009-03-24 09:50:43 PDT
*** Bug 24773 has been marked as a duplicate of this bug. ***
CWG
Comment 8 2009-03-29 01:07:59 PDT
Still seeing this in r42075, just downloaded. This in OS X 10.4.11.
CWG
Comment 9 2009-04-09 14:44:32 PDT
Still seeing this in r42260.
CWG
Comment 10 2009-04-16 14:36:57 PDT
Still seeing this in r2583. Been a month. Are we ever again going to see a Webkit that will launch?
CWG
Comment 11 2009-04-16 14:38:36 PDT
Correction: *in r42583*
David Kilzer (:ddkilzer)
Comment 12 2009-04-16 14:59:19 PDT
Mark, we fixed this by using a "defaults delete" command. Do you recall which key it was? It must have been in org.webkit.nightly.WebKit somewhere. CWG: What does "defaults read org.webkit.nightly.WebKit" print for you from Terminal?
CWG
Comment 13 2009-04-17 11:51:26 PDT
David: CWs-MBP:~ cw$ defaults read org.webkit.nightly.WebKit { ApplicationCrashedAfterRelaunch = 0; SUEnableAutomaticChecks = 1; SUHasLaunchedBefore = 1; SULastCheckTime = 2009-03-20 01:28:48 -0700; SUSendProfileInfo = 0; StartPageShownInVersion = 42583; }
David Kilzer (:ddkilzer)
Comment 14 2009-04-17 12:02:04 PDT
(In reply to comment #13) > David: > > CWs-MBP:~ cw$ defaults read org.webkit.nightly.WebKit > { > ApplicationCrashedAfterRelaunch = 0; > SUEnableAutomaticChecks = 1; > SUHasLaunchedBefore = 1; > SULastCheckTime = 2009-03-20 01:28:48 -0700; > SUSendProfileInfo = 0; > StartPageShownInVersion = 42583; > } I think it's safe simply to delete all of the org.webkit.nightly.WebKit settings, since that will put you back to a state before you ever launched a WebKit nightly build. $ defaults delete org.webkit.nightly.WebKit What happened is that one of the flags gets set when you launched the bad build, but doesn't get reset when launching future good builds. Deleting all the settings for org.webkit.nightly.WebKit simply wipes the slate clean and lets you continue using the good builds again.
Mark Rowe (bdash)
Comment 15 2009-04-17 12:09:09 PDT
(In reply to comment #14) > What happened is that one of the flags gets set when you launched the bad > build, but doesn't get reset when launching future good builds. Deleting all > the settings for org.webkit.nightly.WebKit simply wipes the slate clean and > lets you continue using the good builds again. The relevant settings are actually stored in the com.apple.Safari preference domain. It uses the keys WKNERunState and WKNEShouldMonitorShutdowns.
CWG
Comment 16 2009-04-17 17:46:00 PDT
David: > > $ defaults delete org.webkit.nightly.WebKit > Thanks for the attempt, but that didn't do it. Even repeated and with a fresh Webkit dragged in, still got the: WebKit failed to open correctly on your previous attempt. Please disable any Safari extensions that you may have installed. If the problem continues to occur, please file a bug report at http://webkit.org/quality/reporting.html "Continue" dialog on launch. Defaults now read: CWs-MBP:~ cw$ defaults read org.webkit.nightly.WebKit {StartPageShownInVersion = 42583; } Thanks again,
CWG
Comment 17 2009-04-17 17:51:17 PDT
Mark: > > The relevant settings are actually stored in the com.apple.Safari preference > domain. It uses the keys WKNERunState and WKNEShouldMonitorShutdowns. > WKNERunState = 1; Could not find any: WKNEShouldMonitorShutdowns Can I change that RunState, without defaulting the rest of my Safari prefs? If so, how, and to what? Thanks,
Mark Rowe (bdash)
Comment 18 2009-06-09 00:33:31 PDT
Fixed in r44524. There'll be a new nightly up soon.
CWG
Comment 19 2009-06-11 09:58:29 PDT
So I noted, last download. Thank you very much. CW
CWG
Comment 20 2009-06-11 10:00:01 PDT
It's been a long time, without WebKit.
Note You need to log in before you can comment on or make changes to this bug.