[Webkit-unassigned] [Bug 13988] slash in file path crashes safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 4 18:10:17 PDT 2007


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





------- Comment #3 from glenn.marshall at objectdevelopmentlabs.com  2007-06-04 18:10 PDT -------
David:

Fast work! :)

In more detail:

1.  I refreshed with the latest build, r21970.

2.  I downloaded it to: (\/ indicates a literal slash in the filename, / is the
directory separator)

/Applications/downloaded/WebKit nightlies/June 4\/07/WebKit June 4\/07

Precisely:
  - made a new folder in WebKit nightlies via shift+flower+N in the finder
  - renamed it in the finder to (no leading spaces):
      June 4/07
  - opened it via double click
  - opened the disk image via double click
  - dragged the 2 files from the disk image to the newly created folder
  - renamed WebKit in the new folder using the finder to (no leading spaces):
      WebKit June 4/07

Next, I double clicked on the WebKit June 4/07 icon, near instant crash, as
before.

3. I renamed it to:

/Applications/downloaded/WebKit nightlies/June 4-07/WebKit June 4-07

worked fine.

4.  I renamed it back to:

/Applications/downloaded/WebKit nightlies/June 4-07/WebKit June 4\/07

crashed again.

5.  I renamed it to:

/Applications/downloaded/WebKit nightlies/June 4\/07/WebKit June 4-07

crashed again.

6.  So, to summarize:  for me, having a literal slash in the immediate parent
directory, or the root file name, or both, causes a crash.  Renaming it to
remove the slash(es) makes the crash go away.  Renaming it back brings it back.

I'm surprised your second test scenario didn't produce the crash.

7.  the crashlog entries seem to be saying that the / in the filename is being
interpreted as a directory.

8.  notice that I haven't upgraded to the latest version of OS X, and I don't
auto upgrade.  The boot image I'm running off is rather out of date at 10.4.3,
but since it works fine, and (for me) Unix people don't reboot...

8.  the last crashlog entries covering all of the retesting above (some of the
tests were run twice):

**********

Host Name:      glenn-ap-marshalls-ibook
Date/Time:      2007-06-04 20:04:10.701 -0400
OS Version:     10.4.3 (Build 8F46)
Report Version: 3

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  WindowServer [54]

Version: 2.0.2 (416.12)

PID:    24058
Thread: Unknown

Link (dyld) error:

could not load inserted library: /Applications/downloaded/WebKit nightlies/June
4

**********

Host Name:      glenn-ap-marshalls-ibook
Date/Time:      2007-06-04 20:04:53.818 -0400
OS Version:     10.4.3 (Build 8F46)
Report Version: 3

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  WindowServer [54]

Version: 2.0.2 (416.12)

PID:    24061
Thread: Unknown

Link (dyld) error:

could not load inserted library: /Applications/downloaded/WebKit nightlies/June
4-07/WebKit June 4

**********

Host Name:      glenn-ap-marshalls-ibook
Date/Time:      2007-06-04 20:05:43.638 -0400
OS Version:     10.4.3 (Build 8F46)
Report Version: 3

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  WindowServer [54]

Version: 2.0.2 (416.12)

PID:    24066
Thread: Unknown

Link (dyld) error:

could not load inserted library: /Applications/downloaded/WebKit nightlies/June
4-07/WebKit June 4

**********

Host Name:      glenn-ap-marshalls-ibook
Date/Time:      2007-06-04 20:23:47.360 -0400
OS Version:     10.4.3 (Build 8F46)
Report Version: 3

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  WindowServer [54]

Version: 2.0.2 (416.12)

PID:    24080
Thread: Unknown

Link (dyld) error:

could not load inserted library: /Applications/downloaded/WebKit nightlies/June
4-07/WebKit June 4

**********

Host Name:      glenn-ap-marshalls-ibook
Date/Time:      2007-06-04 20:24:22.477 -0400
OS Version:     10.4.3 (Build 8F46)
Report Version: 3

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  WindowServer [54]

Version: 2.0.2 (416.12)

PID:    24084
Thread: Unknown

Link (dyld) error:

could not load inserted library: /Applications/downloaded/WebKit nightlies/June
4


-- 
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