#16171: [bfs_fuse] Segmentation fault: 11 on macOS
------------------------+----------------------------
Reporter: diver | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: - General | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
------------------------+----------------------------
Description changed by diver:
Old description:
hrev54280 on macOS 10.14.6.
I hacked up bfs_shell to build on macOS:
{{{
diff --git a/src/tools/bfs_shell/Jamfile b/src/tools/bfs_shell/Jamfile
index 80f4175323..373b3e3bf7 100644
--- a/src/tools/bfs_shell/Jamfile
+++ b/src/tools/bfs_shell/Jamfile
@@ -86,7 +86,7 @@ BuildPlatformMain <build>bfs_fuse
<build>bfs.o
<build>fuse_module.a
$(HOST_LIBSUPC++) $(HOST_LIBSTDC++)
- $(HOST_STATIC_LIBROOT) $(fsShellCommandLibs) fuse
+ $(HOST_STATIC_LIBROOT) $(fsShellCommandLibs) libosxfuse.2.dylib
;
SEARCH on [ FGristFiles DeviceOpener.cpp QueryParserUtils.cpp ]
diff --git a/src/tools/fs_shell/fuse.cpp b/src/tools/fs_shell/fuse.cpp
index d975e4e4cb..9b386696fb 100644
--- a/src/tools/fs_shell/fuse.cpp
+++ b/src/tools/fs_shell/fuse.cpp
@@ -5,7 +5,7 @@
#define FUSE_USE_VERSION 27
-#include <fuse/fuse.h>
+#include <osxfuse/fuse/fuse.h>
#include <stdio.h>
#include <stdlib.h>
#include <syslog.h>
}}}
However, when I try to use it it segfaults:
{{{
sudo objects/darwin/x86_64/release/tools/bfs_shell/bfs_fuse -d
/dev/disk0s4 /Volumes/Haiku64
Segmentation fault: 11
}}}
Not sure what to do here.