in reply to Re^4: FUSE, fuse_get_context and private = dangling pointer woes
in thread FUSE, fuse_get_context and private = dangling pointer woes

Hello Anonymous Monk,

Let me show you a complete error output, maybe you can see something that I am missing.

Debug:

FUSE library version: 2.9.2 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.22 flags=0x0000f7fb max_readahead=0x00020000 INIT: 7.19 flags=0x00000011 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 unique: 1, success, outsize: 40 unique: 2, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 2, success, outsize: 32 unique: 3, opcode: LOOKUP (1), nodeid: 1, insize: 47, pid: 2907 LOOKUP /.Trash getattr /.Trash unique: 3, error: -2 (No such file or directory), outsize: 16 unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 57, pid: 4122 LOOKUP /.xdg-volume-info getattr /.xdg-volume-info unique: 4, error: -2 (No such file or directory), outsize: 16 unique: 5, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 2907 LOOKUP /.Trash-1000 getattr /.Trash-1000 unique: 5, error: -2 (No such file or directory), outsize: 16 unique: 6, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 4121 LOOKUP /autorun.inf getattr /autorun.inf unique: 6, error: -2 (No such file or directory), outsize: 16 unique: 7, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 7, error: -38 (Function not implemented), outsize: 16 unique: 8, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 8, success, outsize: 16 unique: 9, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 9, success, outsize: 32 unique: 10, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 10, error: -38 (Function not implemented), outsize: 16 unique: 11, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 11, success, outsize: 16 unique: 12, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 12, success, outsize: 32 unique: 13, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 13, error: -38 (Function not implemented), outsize: 16 unique: 14, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 14, success, outsize: 16 unique: 15, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 15, success, outsize: 32 unique: 16, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 16, error: -38 (Function not implemented), outsize: 16 unique: 17, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 17, success, outsize: 16 unique: 18, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 18, success, outsize: 32 unique: 19, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 19, error: -38 (Function not implemented), outsize: 16 unique: 20, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 20, success, outsize: 16 unique: 21, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 21, success, outsize: 32 unique: 22, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 22, error: -38 (Function not implemented), outsize: 16 unique: 23, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 23, success, outsize: 16 unique: 24, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 24, success, outsize: 32 unique: 25, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 25, error: -38 (Function not implemented), outsize: 16 unique: 26, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 26, success, outsize: 16 unique: 27, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 27, success, outsize: 32 unique: 28, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 28, error: -38 (Function not implemented), outsize: 16 unique: 29, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 29, success, outsize: 16 unique: 30, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 30, success, outsize: 32 unique: 31, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 31, error: -38 (Function not implemented), outsize: 16 unique: 32, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 32, success, outsize: 16 unique: 33, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 33, success, outsize: 32 unique: 34, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 34, error: -38 (Function not implemented), outsize: 16 unique: 35, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 35, success, outsize: 16 unique: 36, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 36, success, outsize: 32 unique: 37, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 37, error: -38 (Function not implemented), outsize: 16 unique: 38, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 38, success, outsize: 16 unique: 39, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 39, success, outsize: 32 unique: 40, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 40, error: -38 (Function not implemented), outsize: 16 unique: 41, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 41, success, outsize: 16 unique: 42, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 42, success, outsize: 32 unique: 43, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 43, error: -38 (Function not implemented), outsize: 16 unique: 44, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 44, success, outsize: 16 unique: 45, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 45, success, outsize: 32 unique: 46, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 46, error: -38 (Function not implemented), outsize: 16 unique: 47, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 47, success, outsize: 16 unique: 48, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 48, success, outsize: 32 unique: 49, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 49, error: -38 (Function not implemented), outsize: 16 unique: 50, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 50, success, outsize: 16 unique: 51, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 51, success, outsize: 32 unique: 52, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 52, error: -38 (Function not implemented), outsize: 16 unique: 53, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 53, success, outsize: 16 unique: 54, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 54, success, outsize: 32 unique: 55, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 55, error: -38 (Function not implemented), outsize: 16 unique: 56, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 56, success, outsize: 16 unique: 57, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 57, success, outsize: 32 unique: 58, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 58, error: -38 (Function not implemented), outsize: 16 unique: 59, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 59, success, outsize: 16 unique: 60, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 60, success, outsize: 32 unique: 61, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 61, error: -38 (Function not implemented), outsize: 16 unique: 62, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 62, success, outsize: 16 unique: 63, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 63, success, outsize: 32 unique: 64, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 64, error: -38 (Function not implemented), outsize: 16 unique: 65, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 65, success, outsize: 16 unique: 66, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 2799 unique: 66, success, outsize: 32 unique: 67, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 2799 unique: 67, error: -38 (Function not implemented), outsize: 16 unique: 68, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 68, success, outsize: 16 unique: 69, opcode: OPENDIR (27), nodeid: 1, insize: 48, pid: 4122 unique: 69, success, outsize: 32 unique: 70, opcode: READDIR (28), nodeid: 1, insize: 80, pid: 4121 unique: 70, error: -38 (Function not implemented), outsize: 16 unique: 71, opcode: RELEASEDIR (29), nodeid: 1, insize: 64, pid: 0 unique: 71, success, outsize: 16 unique: 72, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 4122 LOOKUP /autorun.inf getattr /autorun.inf unique: 72, error: -2 (No such file or directory), outsize: 16

The script is the one that I posted above, the only modification is this:

my $mountpoint = "/home/thanos/test_fuse"; #$mountpoint = $ARGV[1] or die "You forgot to provide the mountpoint!\ +n";

I am running on:

Linux OS 3.13.0-38-generic #65-Ubuntu SMP Thu Oct 9 11:36:50 UTC 2014 +x86_64 x86_64 x86_64 GNU/Linux

Perl Version:

This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-li +nux-gnu-thread-multi

Hope this gives more information in possible representation of error. If you have any possible thoughts on how to get over this error please let me know. Thanks in advance.

Seeking for Perl wisdom...on the process of learning...not there...yet!

Replies are listed 'Best First'.
Re^6: FUSE, fuse_get_context and private = dangling pointer woes
by CandyAngel (Initiate) on Oct 13, 2014 at 23:50 UTC

    I'm not sure what you are regarding to be an error..

    "Function not implemented" is returned by the Fuse module by default if you don't provide a callback for that function, which you haven't done (it would be handled by Fuse::main (getdir => ...);