FUSE(osxfuse)因SIGABRT信号而崩溃

时间:2019-03-21 17:54:17

标签: mono osxfuse

我们在Mac上有一个使用Mono构建的应用程序,并且我们正在使用osxfuse来挂载文件系统并监听文件系统操作。 使用我们的应用程序的用户注意到随机崩溃。 我们使用Mac生成的崩溃报告进行了分析,发现其中一些崩溃是在保险丝收到对fuse_lib_setattr_x的调用并在该代码路径中调用中止的情况下发生的

下面是另一个实例,我们注意到应用程序在setattr_x调用时崩溃:-

Thread 9 Crashed:: tid_c203
0 libsystem_kernel.dylib 0x00007fff59c19b66 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff59de4080 pthread_kill + 333
2 libsystem_c.dylib 0x00007fff59b751ae abort + 127
3 com.Amazon.MyApp 0x000000010fd1ed3b mono_handle_native_crash + 603
4 libsystem_platform.dylib 0x00007fff59dd7f5a _sigtramp + 26
5 ??? 0x0000000116051008 0 + 4664397832
6 libsystem_c.dylib 0x00007fff59b751ae abort + 127
7 libosxfuse.2.dylib 0x00000001160329ef 0x11602c000 + 27119
8 libosxfuse.2.dylib 0x000000011603a340 0x11602c000 + 58176
9 libosxfuse.2.dylib 0x0000000116038d79 0x11602c000 + 52601
10 libosxfuse.2.dylib 0x0000000116040dff 0x11602c000 + 85503
11 libosxfuse.2.dylib 0x000000011603d110 0x11602c000 + 69904
12 libsystem_pthread.dylib 0x00007fff59de1661 _pthread_body + 340
13 libsystem_pthread.dylib 0x00007fff59de150d _pthread_start + 377
14 libsystem_pthread.dylib 0x00007fff59de0bf9 thread_start + 13

atos -o libosxfuse.2.dylib.dSYM/Contents/Resources/DWARF/libosxfuse.2.dylib -l 0x11602c000 0x00000001160329ef 0x000000011603a340 0x0000000116038d79 0x0000000116040dff 0x000000011603d110
fuse_lib_setattr (in libosxfuse.2.dylib) (fuse.c:3224)
get_path_common (in libosxfuse.2.dylib) (fuse.c:1215)
fuse_lib_setattr_x (in libosxfuse.2.dylib) (fuse.c:3092)
fuse_ll_process_buf (in libosxfuse.2.dylib) (fuse_lowlevel.c:2667)
fuse_session_loop (in libosxfuse.2.dylib) (fuse_loop.c:33)

0 个答案:

没有答案