Bug 24642 - REGRESSION: Nightly builds sometimes erroneously display a message about failing to launch successfully
Summary: REGRESSION: Nightly builds sometimes erroneously display a message about fail...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://nightly.webkit.org/
Keywords: Regression
: 24773 24774 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-17 06:36 PDT by David Kilzer (:ddkilzer)
Modified: 2009-06-11 10:00 PDT (History)
3 users (show)

See Also:


Attachments
Warning dialog (32.79 KB, image/png)
2009-03-17 06:37 PDT, David Kilzer (:ddkilzer)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 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).
Comment 1 David Kilzer (:ddkilzer) 2009-03-17 06:37:28 PDT
Created attachment 28686 [details]
Warning dialog
Comment 2 David Kilzer (:ddkilzer) 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.
Comment 3 David Kilzer (:ddkilzer) 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.
Comment 4 Mark Rowe (bdash) 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.
Comment 5 Mark Rowe (bdash) 2009-03-17 11:33:21 PDT
It seems unlikely that this is specific to Tiger as well.
Comment 6 Mark Rowe (bdash) 2009-03-24 09:50:38 PDT
*** Bug 24774 has been marked as a duplicate of this bug. ***
Comment 7 Mark Rowe (bdash) 2009-03-24 09:50:43 PDT
*** Bug 24773 has been marked as a duplicate of this bug. ***
Comment 8 CWG 2009-03-29 01:07:59 PDT
Still seeing this in r42075, just downloaded.

This in OS X 10.4.11.



Comment 9 CWG 2009-04-09 14:44:32 PDT
Still seeing this in r42260.

Comment 10 CWG 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?

Comment 11 CWG 2009-04-16 14:38:36 PDT
Correction: *in r42583*

Comment 12 David Kilzer (:ddkilzer) 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?
Comment 13 CWG 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; 
}
Comment 14 David Kilzer (:ddkilzer) 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.
Comment 15 Mark Rowe (bdash) 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.
Comment 16 CWG 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,







Comment 17 CWG 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,





Comment 18 Mark Rowe (bdash) 2009-06-09 00:33:31 PDT
Fixed in r44524.  There'll be a new nightly up soon.
Comment 19 CWG 2009-06-11 09:58:29 PDT
So I noted, last download.

Thank you very much.

CW
Comment 20 CWG 2009-06-11 10:00:01 PDT
It's been a long time, without WebKit.