Bug 16372 - run-nightly-webkit.cmd makes safari not start
Summary: run-nightly-webkit.cmd makes safari not start
Status: RESOLVED DUPLICATE of bug 18376
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows Vista
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-09 16:48 PST by Darren VanBuren
Modified: 2008-04-13 18:03 PDT (History)
2 users (show)

See Also:


Attachments
Crash dump file after attempting to launch with new script (62.31 KB, application/octet-stream)
2007-12-09 16:51 PST, Darren VanBuren
no flags Details
other crash dump file (5.29 KB, text/plain)
2007-12-09 16:51 PST, Darren VanBuren
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darren VanBuren 2007-12-09 16:48:48 PST
I hate this new script. When you run it, it copies things?, and crashes.

Attached are the crash dump files.
Comment 1 Darren VanBuren 2007-12-09 16:51:09 PST
Created attachment 17811 [details]
Crash dump file after attempting to launch with new script
Comment 2 Darren VanBuren 2007-12-09 16:51:44 PST
Created attachment 17812 [details]
other crash dump file
Comment 3 Adam Roben (:aroben) 2007-12-09 17:31:52 PST
What version of Safari were you using? And which nightly build did you download?
Comment 4 Darren VanBuren 2007-12-11 18:41:14 PST
hey adam.

I was using 3.0.4 with builds with the script like this:
@echo off
set script="%TMP%\run-webkit-nightly2.cmd"
set vsvars="%VS80COMNTOOLS%\vsvars32.bat"
if exist %vsvars% (
    copy %vsvars% "%script%"
) else (
    del "%script%"
)
FindSafari.exe %1 /printSafariLauncher >> "%script%"
call %script%

It is a stupid method to invoke Safari, we should go back to the old script but use an env. var like %SAFARIDIR%, or %ASAFARIDIR%, then use FindSafari to set that var.
Comment 5 Darren VanBuren 2007-12-11 22:19:15 PST
didn't pay attention when I entered the bug.
Comment 6 Adam Roben (:aroben) 2007-12-11 22:31:15 PST
(In reply to comment #4)
> It is a stupid method to invoke Safari, we should go back to the old script but
> use an env. var like %SAFARIDIR%, or %ASAFARIDIR%, then use FindSafari to set
> that var.

I'd love to see a patch that made this all simpler. Unfortunately things can't be quite as simple as they once were, as Safari now no longer delay-loads WebKit and so can't support an option like /frameworkPath: to specify where to load WebKit.dll from. This is all in Windows' hands now, hence the setting of PATH.
Comment 7 Darren VanBuren 2007-12-12 20:41:37 PST
Would it be possible to drop the nightly build into Safari's directory, then launch with the option /customWebKit ?
Comment 8 Adam Roben (:aroben) 2007-12-12 23:05:32 PST
(In reply to comment #7)
> Would it be possible to drop the nightly build into Safari's directory, then
> launch with the option /customWebKit ?

It's possible, yes, but there are some cases where it wouldn't work (for example, if the user running the nightly didn't have write permissions to the Safari installation folder). It also just seems like a bad idea to be messing around with the installed Safari like that.
Comment 9 Robert Blaut 2008-03-16 11:51:16 PDT
Is the crash still happen in the latest Webkit? As far as I remember the crashes disappeared long time ago.
Comment 10 Darren VanBuren 2008-03-27 16:18:53 PDT
This still happens with Safari 3.1 and latest nightly build.
Comment 11 Darren VanBuren 2008-03-27 16:29:11 PDT
I would really like to test out the nightly of WebKit. Is there like a simple web browser application I can use right now?
Comment 12 ScottN 2008-04-11 03:33:50 PDT
(In reply to comment #10)
> This still happens with Safari 3.1 and latest nightly build.

I confirm. I cannot get any nightly to run ever since installing 3.1 as the base. I had webkit running fine for 3.04 but did a complete uninstall (directories, etc) of 3.04 and installed 3.1 when it came out. Now no webkit will start for me.

I get the error about missing resources, try to reinstall safari.

Comment 13 Darren VanBuren 2008-04-13 16:48:15 PDT
better title.
Comment 14 Adam Roben (:aroben) 2008-04-13 18:03:29 PDT

*** This bug has been marked as a duplicate of 18376 ***