[Webkit-unassigned] [Bug 13988] Slash in file path crashes WebKit Nightly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 5 06:42:39 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13988





------- Comment #6 from ddkilzer at webkit.org  2007-06-05 06:42 PDT -------
(In reply to comment #5)
> 1.  I don't understand why your renaming of the folder rather than the binary
> (your second test scenario) didn't reproduce the problem, yet it did for me. 
> There might be two issues lurking here.

The difference is that I only copied the DMG file into the directory with a
slash in the name.  In my second attempt to reproduce the issue when I mounted
the DMG, it's path to the WebKit binary became something like
/Volumes/WebKit/WebKit.app, so it didn't even know about the slash in the path
where the DMG was located.  That's the difference between my steps and your
steps.  (You actually copied the WebKit.app application to the folder with the
slash, and/or renamed the application itself to contain a slash.)

My first set of steps was testing that an HTML file in a directory with a slash
caused the issue, but that wasn't the same as your steps either.

> Care to retry by following my steps?  

I did reproduce the issue using your steps from Comment #4, although I only
renamed the WebKit executable on the Desktop.  I trust the other methods
produce similar crashes, and they're easy enough for others to reproduce with
the detailed instructions now available.

> 2.  I suspect the program is launched correctly, and the correct path
> manipulation (handling the / special case) is done by the loader, but the
> dynamic linker isn't using the same logic, and, in particular the path
> manipulation logic isn't called.   

There is custom code used in the WebKit Nightly to launch Safari with a
different DYLD path.  I believe that code may not be parsing the path
correctly, although I'm not entirely sure.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list