Have you tried attaching a debugger to the process and seeing if it's
hitting some weird error case somewhere and terminating/being
terminated?

Sam Moffatt
http://pasamio.id.au



On Thu, Jul 7, 2011 at 11:47 PM, Kenny <[email protected]> wrote:
> So, I tried all of these things:
>
> - Added sleep() between 'touch' commands. Does not help, only makes it
> work longer.
> - Tried updating EncFS to the latest version: didn't help
> - Compiled EncFS on Fuse4x (wasn't sure whether it's a problem in
> EncFS or MacFuse) and tried that: didn't help. However, since Fuse4x
> is just a fork of MacFuse, it could be in both I guess.
> - grepped in the sourcecode of both MacFuse (trunk) and EncFS for the
> error message: no results found!
>
> I'm stuck here guys, what do I do next?
> Where do I look for more logging?
> Where does the error come from?
>
> Is anyone else here using 64 bit macs? EncFS?
>
> thanks,
>
>
> - Kenny
>
> On Jun 27, 5:32 pm, Kenny <[email protected]> wrote:
>> Hello, I'm still struggling with this, but found a bit more logging
>> (still not much I'm afraid) using the -v (verbose) and -d (debug)
>> options of both MacFuse and EncFS.
>> Any suggestions where I might find more? Or do any of you see any
>> fatal errors in this logging?
>>
>> So, my test script basically just continuously creates files (touch
>> command), on a MacFuse drive with the EncFS filesystem.
>>
>> The test script output:
>> ...
>> Creating file no 7917
>> Creating file no 7918
>> Creating file no 7919
>> touch: /tmp/mount/random-dir-7/random-file.7919: Socket is not
>> connected
>>
>> Before the error pops up, there is a long time where nothing happens
>> and everything seems to hang (timeout?)
>>
>> Output from MacFuse/Encfs: (encfs lines start with timestamp, MacFuse
>> output does not):
>> (note that the file with name 7918 worked properly, it fails when
>> attempting to create the file with name 7919)
>> The ''No such file or directory" seem normal to me, as they also
>> appear in all other (correctly created) files.
>>
>> MKNOD /random-dir-7/random-file.7918
>> 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8,
>> randBytes = 0
>> 16:52:23 (FileNode.cpp:140) calling setIV on (null)
>> 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1: No
>> such file or directory
>> 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV =
>> 13721226668822013149, fileIV = 0
>> 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1
>> 16:52:23 (encfs.cpp:258) mknod on /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/
>> 7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1, mode 33188, dev 0
>> 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8,
>> randBytes = 0
>> 16:52:23 (FileNode.cpp:140) calling setIV on (null)
>> 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV =
>> 13721226668822013149, fileIV = 0
>> 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1
>> 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/
>> 7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1
>>    NODEID: 67926
>>    unique: 0, error: 0 (Unknown error: 0), outsize: 152
>> unique: 1, opcode: LOOKUP (1), nodeid: 60008, insize: 59
>> LOOKUP /random-dir-7/._random-file.7918
>> 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8,
>> randBytes = 0
>> 16:52:23 (FileNode.cpp:140) calling setIV on (null)
>> 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/nxdd5Xs1tCWupzTPBEDilZU26j,vVI3SmgM72IaRCgmGZ1: No
>> such file or directory
>> 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV =
>> 13170079601340108218, fileIV = 0
>> 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/nxdd5Xs1tCWupzTPBEDilZU26j,vVI3SmgM72IaRCgmGZ1
>> 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/
>> nxdd5Xs1tCWupzTPBEDilZU26j,vVI3SmgM72IaRCgmGZ1
>> 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/nxdd5Xs1tCWupzTPBEDilZU26j,vVI3SmgM72IaRCgmGZ1: No
>> such file or directory
>> 16:52:23 (encfs.cpp:138) getattr error: No such file or directory
>>    unique: 1, error: -2 (No such file or directory), outsize: 16
>> unique: 0, opcode: GETATTR (3), nodeid: 67926, insize: 40
>> 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8,
>> randBytes = 0
>> 16:52:23 (FileNode.cpp:140) calling setIV on (null)
>> 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV =
>> 13721226668822013149, fileIV = 0
>> 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1
>> 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/
>> 7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1
>>    unique: 0, error: 0 (Unknown error: 0), outsize: 128
>> unique: 1, opcode: OPEN (14), nodeid: 67926, insize: 48
>> 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8,
>> randBytes = 0
>> 16:52:23 (FileNode.cpp:140) calling setIV on (null)
>> 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV =
>> 13721226668822013149, fileIV = 0
>> 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1
>> 16:52:23 (RawFileIO.cpp:129) open call for writable file
>> 16:52:23 (RawFileIO.cpp:151) open file with flags 2, result = 4
>> 16:52:23 (encfs.cpp:573) encfs_open for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1, flags
>> 1
>>    unique: 1, error: 0 (Unknown error: 0), outsize: 32
>> OPEN[40346368] flags: 0x1 /random-dir-7/random-file.7918
>> unique: 0, opcode: FLUSH (25), nodeid: 67926, insize: 64
>> FLUSH[40346368]
>> 16:52:23 (encfs.cpp:134) flush /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/
>> 7CcwjpnquD-XgwYpu5bSoOxRjP3JOMIrE8gEOReUoXU4H1
>> 16:52:23 (RawFileIO.cpp:129) open call for read only file
>> 16:52:23 (RawFileIO.cpp:136) using existing file descriptor
>>    unique: 0, error: 0 (Unknown error: 0), outsize: 16
>> unique: 1, opcode: RELEASE (18), nodeid: 67926, insize: 64
>> RELEASE[40346368] flags: 0x1
>>    unique: 1, error: 0 (Unknown error: 0), outsize: 16
>> unique: 0, opcode: LOOKUP (1), nodeid: 60008, insize: 57
>> LOOKUP /random-dir-7/random-file.7919
>> 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8,
>> randBytes = 0
>> 16:52:23 (FileNode.cpp:140) calling setIV on (null)
>> 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No
>> such file or directory
>> 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV =
>> 5367271293300729610, fileIV = 0
>> 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-
>> 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/
>> jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-
>> 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No
>> such file or directory
>> 16:52:23 (encfs.cpp:138) getattr error: No such file or directory
>>    unique: 0, error: -2 (No such file or directory), outsize: 16
>> unique: 1, opcode: LOOKUP (1), nodeid: 60008, insize: 57
>> LOOKUP /random-dir-7/random-file.7919
>> 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8,
>> randBytes = 0
>> 16:52:23 (FileNode.cpp:140) calling setIV on (null)
>> 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No
>> such file or directory
>> 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV =
>> 5367271293300729610, fileIV = 0
>> 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-
>> 16:52:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/
>> jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-
>> 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No
>> such file or directory
>> 16:52:23 (encfs.cpp:138) getattr error: No such file or directory
>>    unique: 1, error: -2 (No such file or directory), outsize: 16
>> unique: 0, opcode: MKNOD (8), nodeid: 60008, insize: 65
>> MKNOD /random-dir-7/random-file.7919
>> 16:52:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8,
>> randBytes = 0
>> 16:52:23 (FileNode.cpp:140) calling setIV on (null)
>> 16:52:23 (RawFileIO.cpp:191) getAttr error on /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-: No
>> such file or directory
>> 16:52:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV =
>> 5367271293300729610, fileIV = 0
>> 16:52:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-
>> 16:52:23 (encfs.cpp:258) mknod on /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/
>> jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-, mode 33188, dev 0
>> 16:53:23 (MACFileIO.cpp:67) fs block size = 1024, macBytes = 8,
>> randBytes = 0
>> 16:53:23 (FileNode.cpp:140) calling setIV on (null)
>> 16:53:23 (CipherFileIO.cpp:105) in setIV, current IV = 0, new IV =
>> 5367271293300729610, fileIV = 0
>> 16:53:23 (DirNode.cpp:781) created FileNode for /tmp/data/ocZ1JyZS-
>> ZXhUW,Chp7bssyC/jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-
>> 16:53:23 (encfs.cpp:134) getattr /tmp/data/ocZ1JyZS-ZXhUW,Chp7bssyC/
>> jmCF1r7QMlbm7xvYpXfY1DnaOhJhp6IZR9DAo2ElO53nh-
>>    NODEID: 67927
>>    unique: 0, error: 0 (Unknown error: 0), outsize: 152
>> fuse: writing device: Socket is not connected
>> 16:53:27 (openssl.cpp:48) Allocating 35 locks for OpenSSL
>>
>> Next things I'll try:
>> Since I think there's some sort of timeout here, I'll try and put
>> sleeps between the touch commands.
>> Also, there seems to be some timeout option in Macfuse, so I'll try
>> that as well.
>> Then again, it seems weird to me, since this script doesn't give any
>> problems on any of my 32 bit machines (both Leopard and Snow Leopard
>> tested), but stops after a minute or 2 on the 64bit SL machine.
>>
>> Any other suggestions here?
>>
>> Is there a later/more stable version than the 2.1.9 (Tuxera) version
>> we currently use? Patches? Known bugs?
>>
>> thanks!
>>
>> - Kenny
>>
>> On Jun 24, 10:38 am, Kenny <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Hello, thanks for the quick response.
>>
>> > The Preference pane tells me that the version installed in 2.1.9 ()
>> > To my knowledge this is still the latest (semi-stable) version that
>> > supports 64-bit?
>> > Is there another version I should try out?
>>
>> > When MacFuse is unmounted (crashed), the encfs process is gone too.
>>
>> > In case it helps, this is the output from dmesg:
>>
>> > ffff8014974120...
>> > fuse_biglock_vnop_reclaim:   biglock 0xffffff8014974120 released!
>> > fuse_biglock_vnop_fsync: Locking node 0xffffff801acc7450...
>> > fuse_biglock_vnop_fsync:   node 0xffffff801acc7450 locked!
>> > fuse_biglock_vnop_fsync: Aquiring
>>
>> ...
>>
>> read more »
>
> --
> You received this message because you are subscribed to the Google Groups 
> "MacFUSE" 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?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"MacFUSE" 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?hl=en.

Reply via email to