4coder»Forums
2 posts
Segfault when using sshfs
Edited by serolod on Reason: Initial post
Hi all,

I was trying out the demo and tried opening a file hosted on another machine via sshfs. While tabbing into the folder, 4ed segfaulted. I ran it through gdb once, here is the relevant output:
1
2
3
4
Thread 1 "4ed" received signal SIGSEGV, Segmentation fault.
view_set_file (system=system@entry=0x7bd0c0 <sysfunc>, models=models@entry=0x7ffff3a4d000, 
    view=view@entry=0x7ffff3a81910, file=0x7ffff3a8f6b0)
    at /home/allen/4ed/code/4ed_view.cpp:390


The software I used:
4ed 4.028
SSHFS version 3.5.0
FUSE library version 3.2.6
using FUSE kernel interface version 7.26
fusermount3 version: 3.2.6
linux 4.18

Hope this helps and all the best!
Allen Webster
476 posts / 6 projects
Heyo
Segfault when using sshfs
Thanks for all the info, this will help, I'll let you know when I know more about this.
2 posts
Segfault when using sshfs
I tested this again with 4.0.30 and the crash is gone, but tabbing into folders mounted with sshfs does not work as expected. Suppose you have a folder test with
1
2
3
4
5
6
7
test
├── regular
│   └── a
│       └── foo.txt
└── sshfs
    └── b
        └── bar.txt

where sshfs is mounted from remote. Start 4ed in test, then ctrl+o -> r -> tab -> tab -> tab and foo.txt gets loaded. If on the other hand you do ctrl+o -> s -> tab -> tab it does not change into b after the second tab, but exits file opening mode and returns to whatever buffer you had loaded.