On 6/6/07, Amit Singh <[EMAIL PROTECTED]> wrote:
>
> New source, binary, and article:
>
> http://www.osxbook.com/blog/2007/06/05/making-procfs-cooler/


Hi,

nice work on procfs! I've only just tried it out for the first time
(on Macbook Pro, OSX 10.4.9) and am seeing consistent crashes
of the procfs process upon access of /proc/byname.
Here's the output of procfs when running in debug mode (-d) and
doing something like `ls /proc/byname`:

-------------
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40
   unique: 2, error: 0 (Unknown error: 0), outsize: 112
unique: 1, opcode: OPENDIR (27), nodeid: 1, insize: 48
   unique: 1, error: 0 (Unknown error: 0), outsize: 32
unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 0, error: 0 (Unknown error: 0), outsize: 96
unique: 3, opcode: READDIR (28), nodeid: 1, insize: 64
   unique: 3, error: 0 (Unknown error: 0), outsize: 2904
unique: 4, opcode: READDIR (28), nodeid: 1, insize: 64
   unique: 4, error: 0 (Unknown error: 0), outsize: 16
unique: 2, opcode: RELEASEDIR (29), nodeid: 1, insize: 64
   unique: 2, error: 0 (Unknown error: 0), outsize: 16
unique: 1, opcode: GETATTR (3), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 112
unique: 0, opcode: LOOKUP (1), nodeid: 1, insize: 47
LOOKUP /byname
   NODEID: 2
   unique: 0, error: 0 (Unknown error: 0), outsize: 136
unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 47
LOOKUP /byname
   NODEID: 2
   unique: 3, error: 0 (Unknown error: 0), outsize: 136
unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 47
LOOKUP /byname
   NODEID: 2
   unique: 4, error: 0 (Unknown error: 0), outsize: 136
unique: 2, opcode: OPENDIR (27), nodeid: 2, insize: 48
   unique: 2, error: 0 (Unknown error: 0), outsize: 32
unique: 1, opcode: STATFS (17), nodeid: 1, insize: 40
   unique: 1, error: 0 (Unknown error: 0), outsize: 96
unique: 0, opcode: READDIR (28), nodeid: 2, insize: 64
Bus error
-------------

The other functions of procfs seem to be working fine (e.g.
display and camera screenshots). I've attached the crash
report  and the output from ktrace, which I attached to the
procfs process right before the crash. I'm using the binary
distribution of procfs 1.52 from osxbook.com.

[EMAIL PROTECTED]:~$ procfs -V
FUSE library version: 2.6.5
MacFUSE version 0.4.0
using FUSE kernel interface version 7.8

Leander

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

Attachment: procfs.crash.log
Description: Binary data

Attachment: ktrace.out
Description: Binary data

Reply via email to