fuse (userlandfs) causes a page fault - user access in kernel area
|Reported by:||Blub||Owned by:||bonefish|
|Has a Patch:||no||Platform:||All|
I'm currently trying to run sshfs on haiku, svn rev 32167 I was able to successfully run the "hello-world" fuse-filesystem using fuse, but when I try to mount using sshfs, just after I logged in and typed in my password, a page-fault happens when creating the file-cookie-locker I have prepared GDB and syslog output after building userlandfs+subdirectories with debug information and am trying to debug this, but I hardly know the code so it's hard for me to find the problem.
It's a bit hard to reproduce since sshfs depends on glib2 (with thread support) and you need a fuse pkgconfig (.pc) file, but once you have that you can simply - without any changes to the source - do:
mkdir ~/config/add-ons/userlandfs #if not already done
cp sshfs ~/config/add-ons/userlandfs/sshfs
mount -t userlandfs -o 'sshfs user@host:' mountpoint/
You can download all the needed dependencies from:
(scroll down to the package list)
they can simply unzipped into /boot: unzip -d package....pkg.zip
glib2 there is compield with the system-PCRE so you need to download:
fuse-proto (if you don't already have a fuse.pc file)
pkgconfig (so ./configure finds what it needs)
and the current sshfs-fuse source from http://fuse.sourceforge.net/sshfs.html
syslog and gdb output files follow...
The problem happens within FUSE, so I doubt it is a problem with sshfs
And even if it was a bug in sshfs, it shouldn't be allowed to crash userlandfs/fuse in such a way.
After such an unsuccessful mount, any further attempt to mount something else results in a message
mount: General system error