Hi Ted,

On Dec 5, 2007 4:51 PM, ted bonkenburg <[EMAIL PROTECTED]> wrote:

> A crash in Finder or in your filesystem?  I haven't done this with a text
> file, but thumbnail preview and quicklook have worked for me.  Usually the
> Finder will read the contents of the file (not just the xattrs) along with
> performing other operations when doing preview or quicklook. Have you tried
> using "-odebug" and "-f" to see what Finder might be doing just before a
> crash?

Thanks for your reply. Crash Reporter records the following:

Thread 0 Crashed:
0   libSystem.B.dylib                   0xffff0800 __memcpy + 96
1   com.apple.Foundation                0x9675b02f
_NSEncodingFromDataForExtendedAttribute + 271
2   com.apple.AppKit                    0x922015f1
_NSReadAttributedStringFromURLOrData + 4880
3   com.apple.AppKit                    0x92372873
-[NSAttributedString(NSAttributedStringKitAdditions)
initWithURL:options:documentAttributes:error:] + 232
4   com.apple.qlgenerator.text          0x000769b2 GenerateThumbnailForURL + 
3114

The same crash occurs with TextEdit.app:

Thread 0 Crashed:
0   libSystem.B.dylib                   0xffff0800 __memcpy + 96
1   com.apple.Foundation                0x9675b02f
_NSEncodingFromDataForExtendedAttribute + 271
2   com.apple.AppKit                    0x922015f1
_NSReadAttributedStringFromURLOrData + 4880
3   com.apple.AppKit                    0x923a1b93
-[NSMutableAttributedString(NSMutableAttributedStringKitAdditions)
readFromURL:options:documentAttributes:error:] + 53
4   com.apple.TextEdit                  0x0000a32f 0x1000 + 37679

I've reported this crash to Apple, but it still rather mystifies me
why there is a disparity between reading this file from the MacFUSE
volume and reading it from an HFS+ volume.

-odebug reports the following for "open /Volumes/helloworldicns/hello.txt":

unique: 1, opcode: GETATTR (3), nodeid: 2, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 112
unique: 0, opcode: GETATTR (3), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 112
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: GETXATTR (22), nodeid: 2, insize: 69
   unique: 0, error: 0 (Unknown error: 0), outsize: 48
unique: 1, opcode: GETXATTR (22), nodeid: 2, insize: 69
   unique: 1, error: 0 (Unknown error: 0), outsize: 48
unique: 0, opcode: GETXATTR (22), nodeid: 2, insize: 71
   unique: 0, error: 0 (Unknown error: 0), outsize: 24
unique: 1, opcode: GETXATTR (22), nodeid: 2, insize: 71
   unique: 1, error: 0 (Unknown error: 0), outsize: 24
unique: 0, opcode: GETXATTR (22), nodeid: 2, insize: 71
   unique: 0, error: 0 (Unknown error: 0), outsize: 40777
unique: 1, opcode: GETXATTR (22), nodeid: 2, insize: 69
   unique: 1, error: 0 (Unknown error: 0), outsize: 16
unique: 0, opcode: GETXATTR (22), nodeid: 2, insize: 69
   unique: 0, error: 0 (Unknown error: 0), outsize: 48
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: GETXATTR (22), nodeid: 2, insize: 69
   unique: 0, error: 0 (Unknown error: 0), outsize: 48
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: GETXATTR (22), nodeid: 2, insize: 69
   unique: 0, error: 0 (Unknown error: 0), outsize: 48
unique: 1, opcode: GETXATTR (22), nodeid: 2, insize: 71
   unique: 1, error: 0 (Unknown error: 0), outsize: 24
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 1, opcode: GETXATTR (22), nodeid: 2, insize: 69
   unique: 1, error: 0 (Unknown error: 0), outsize: 48
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 1, opcode: OPEN (14), nodeid: 2, insize: 48
   unique: 1, error: 0 (Unknown error: 0), outsize: 32
OPEN[0] flags: 0x0 /hello.txt
unique: 0, opcode: RELEASE (18), nodeid: 2, insize: 64
RELEASE[0] flags: 0x0
   unique: 0, error: 0 (Unknown error: 0), outsize: 16
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 1, opcode: GETXATTR (22), nodeid: 2, insize: 69
   unique: 1, error: 0 (Unknown error: 0), outsize: 48
unique: 0, opcode: GETXATTR (22), nodeid: 2, insize: 71
   unique: 0, error: 0 (Unknown error: 0), outsize: 24
unique: 1, opcode: OPEN (14), nodeid: 2, insize: 48
   unique: 1, error: 0 (Unknown error: 0), outsize: 32
unique: 0, opcode: GETXATTR (22), nodeid: 2, insize: 69
   unique: 0, error: 0 (Unknown error: 0), outsize: 48
OPEN[0] flags: 0x0 /hello.txt
unique: 1, opcode: GETXATTR (22), nodeid: 2, insize: 71
   unique: 1, error: 0 (Unknown error: 0), outsize: 16
unique: 0, opcode: GETATTR (3), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 112
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: RELEASE (18), nodeid: 2, insize: 64
RELEASE[0] flags: 0x0
   unique: 0, error: 0 (Unknown error: 0), outsize: 16
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96

Not quite sure whereabouts in that the crash occurs.

Hamish

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/macfuse-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to