Skip to content

Mounts, but crashes on file access. #1

@t3rminus

Description

@t3rminus

I've compiled BoxFS on MAC OS X 10.7.
I have OS X FUSE installed (not MacFUSE since it is unsupported on OS X 10.7)

The boxfs filesystem mounts without error, but when I try to view contents or perform a file operation, it crashes.

Crash report attached:

Process: boxfs [1917]
Path: /usr/local/bin/boxfs
Identifier: boxfs
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [1]

Date/Time: 2011-10-27 16:34:35.470 -0700
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9

Crashed Thread: 3

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[1912]: garbage collection is OFF
*** error for object 0x7fc4e4800000: pointer being freed was not allocated

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff89625bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff89c35274 _pthread_cond_wait + 840
2 libosxfuse_i64.2.dylib 0x00000001046c3873 fuse_sem_wait + 142
3 libosxfuse_i64.2.dylib 0x00000001046bbfe9 fuse_session_loop_mt + 287
4 libosxfuse_i64.2.dylib 0x00000001046bf759 fuse_loop_mt + 45
5 libosxfuse_i64.2.dylib 0x00000001046c192b fuse_main_common + 138
6 libosxfuse_i64.2.dylib 0x00000001046c19a0 fuse_main_real + 60
7 boxfs 0x000000010469e980 0x10469d000 + 6528
8 boxfs 0x000000010469e2e4 0x10469d000 + 4836

Thread 1:
0 libsystem_kernel.dylib 0x00007fff89626af2 read + 10
1 libosxfuse_i64.2.dylib 0x00000001046bb633 fuse_kern_chan_receive + 115
2 libosxfuse_i64.2.dylib 0x00000001046c0dc7 fuse_chan_recv + 89
3 libosxfuse_i64.2.dylib 0x00000001046bba0f fuse_do_work + 81
4 libsystem_c.dylib 0x00007fff89c318bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff89c34b75 thread_start + 13

Thread 2:
0 libsystem_kernel.dylib 0x00007fff89626af2 read + 10
1 libosxfuse_i64.2.dylib 0x00000001046bb633 fuse_kern_chan_receive + 115
2 libosxfuse_i64.2.dylib 0x00000001046c0dc7 fuse_chan_recv + 89
3 libosxfuse_i64.2.dylib 0x00000001046bba0f fuse_do_work + 81
4 libsystem_c.dylib 0x00007fff89c318bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff89c34b75 thread_start + 13

Thread 3 Crashed:
0 libsystem_kernel.dylib 0x00007fff89625ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff89c337d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff89c24a7a abort + 143
3 libsystem_c.dylib 0x00007fff89c8384c free + 389
4 boxfs 0x00000001046a1636 0x10469d000 + 17974
5 boxfs 0x000000010469fe61 0x10469d000 + 11873
6 libosxfuse_i64.2.dylib 0x00000001046b380b fuse_fs_getattr + 72
7 libosxfuse_i64.2.dylib 0x00000001046b5644 fuse_lib_getattr + 180
8 libosxfuse_i64.2.dylib 0x00000001046bd2ce do_getattr + 62
9 libosxfuse_i64.2.dylib 0x00000001046bf0d7 fuse_ll_process + 752
10 libosxfuse_i64.2.dylib 0x00000001046c0ac5 fuse_session_process + 54
11 libosxfuse_i64.2.dylib 0x00000001046bbae3 fuse_do_work + 293
12 libsystem_c.dylib 0x00007fff89c318bf _pthread_start + 335
13 libsystem_c.dylib 0x00007fff89c34b75 thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff89626af2 read + 10
1 libosxfuse_i64.2.dylib 0x00000001046bb633 fuse_kern_chan_receive + 115
2 libosxfuse_i64.2.dylib 0x00000001046c0dc7 fuse_chan_recv + 89
3 libosxfuse_i64.2.dylib 0x00000001046bba0f fuse_do_work + 81
4 libsystem_c.dylib 0x00007fff89c318bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff89c34b75 thread_start + 13

Thread 3 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x0000000107e0ab58 rdx: 0x0000000000000000
rdi: 0x0000000000000c03 rsi: 0x0000000000000006 rbp: 0x0000000107e0ab80 rsp: 0x0000000107e0ab58
r8: 0x00007fff73d82fb8 r9: 0x00007fff89c96230 r10: 0x00007fff89625d0a r11: 0xffffff80002d8220
r12: 0x00000001046ae000 r13: 0x0000000000000002 r14: 0x0000000107e0b000 r15: 0x0000000000000002
rip: 0x00007fff89625ce2 rfl: 0x0000000000000246 cr2: 0x00007fff73d84ef0
Logical CPU: 0

Binary Images:
0x10469d000 - 0x1046a8fff +boxfs (??? - ???) <116DFC9A-9B8D-375C-9E38-D9DA01750F21> /usr/local/bin/boxfs
0x1046b1000 - 0x1046d1fff +libosxfuse_i64.2.dylib (10.3.0 - compatibility 10.0.0) <6E18AA57-2944-3524-985D-1AD1D8B87CF2> /usr/local/lib/libosxfuse_i64.2.dylib
0x1046e1000 - 0x104811fef +libxml2.2.dylib (10.8.0 - compatibility 10.0.0) /opt/local/lib/libxml2.2.dylib
0x104847000 - 0x104890fef +libcurl.4.dylib (7.0.0 - compatibility 7.0.0) <8A6D2E86-BCE8-3A4E-B940-6D949F840C6D> /opt/local/lib/libcurl.4.dylib
0x1048a1000 - 0x1048aaff7 +libzip.2.dylib (4.0.0 - compatibility 4.0.0) <86F45483-F47D-3BA7-9852-5EB1AEDFD60A> /opt/local/lib/libzip.2.dylib
0x1048b2000 - 0x1048c5fff +libz.1.dylib (1.2.5 - compatibility 1.0.0) /opt/local/lib/libz.1.dylib
0x1048c9000 - 0x1049c2ff7 +libiconv.2.dylib (8.1.0 - compatibility 8.0.0) <1B8D243B-F617-301E-97B1-EE78A72617AB> /opt/local/lib/libiconv.2.dylib
0x1049d6000 - 0x104a04fef +libidn.11.dylib (18.5.0 - compatibility 18.0.0) <212AD654-E5C2-3292-AF68-CF77A959AEDC> /opt/local/lib/libidn.11.dylib
0x104a09000 - 0x104a4ffff +libssl.1.0.0.dylib (??? - ???) /opt/local/lib/libssl.1.0.0.dylib
0x104a6b000 - 0x104ba4fe7 +libcrypto.1.0.0.dylib (??? - ???) <7F96E224-D81D-32BC-856F-208B0A1D3544> /opt/local/lib/libcrypto.1.0.0.dylib
0x104c18000 - 0x104c20fff +libintl.8.dylib (10.1.0 - compatibility 10.0.0) <9FEA328D-A24A-3D1F-AD16-CBC4FEAB0608> /opt/local/lib/libintl.8.dylib
0x7fff6429d000 - 0x7fff642d1ac7 dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld
0x7fff82c66000 - 0x7fff82c67fff libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib
0x7fff83a28000 - 0x7fff83a2efff libmacho.dylib (800.0.0 - compatibility 1.0.0) /usr/lib/system/libmacho.dylib
0x7fff83d49000 - 0x7fff83d97fff libauto.dylib (??? - ???) /usr/lib/libauto.dylib
0x7fff83faa000 - 0x7fff83fafff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
0x7fff86947000 - 0x7fff86948fff libsystem_sandbox.dylib (??? - ???) <8D14139B-B671-35F4-9E5A-023B4C523C38> /usr/lib/system/libsystem_sandbox.dylib
0x7fff86984000 - 0x7fff86989fff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
0x7fff8735c000 - 0x7fff87440def libobjc.A.dylib (228.0.0 - compatibility 1.0.0) /usr/lib/libobjc.A.dylib
0x7fff879f0000 - 0x7fff879f2fff libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib
0x7fff88084000 - 0x7fff8808aff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
0x7fff8816a000 - 0x7fff8816efff libdyld.dylib (195.5.0 - compatibility 1.0.0) /usr/lib/system/libdyld.dylib
0x7fff88235000 - 0x7fff88262fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <095FDD3C-3961-3865-A59B-A5B0A4B8B923> /usr/lib/libSystem.B.dylib
0x7fff88263000 - 0x7fff88263fff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
0x7fff8960f000 - 0x7fff8962ffff libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib
0x7fff89636000 - 0x7fff8963dfff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib
0x7fff896d1000 - 0x7fff896daff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) /usr/lib/system/libsystem_notify.dylib
0x7fff89be3000 - 0x7fff89cc0fef libsystem_c.dylib (763.12.0 - compatibility 1.0.0) /usr/lib/system/libsystem_c.dylib
0x7fff89cc1000 - 0x7fff89cc2ff7 libremovefile.dylib (21.0.0 - compatibility 1.0.0) /usr/lib/system/libremovefile.dylib
0x7fff8a3b4000 - 0x7fff8a588fff com.apple.CoreFoundation (6.7.1 - 635.15) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8a5fd000 - 0x7fff8a670fff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
0x7fff8ad14000 - 0x7fff8ad56ff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) /usr/lib/system/libcommonCrypto.dylib
0x7fff8ad69000 - 0x7fff8ad71fff libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8b037000 - 0x7fff8b239fff libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101> /usr/lib/libicucore.A.dylib
0x7fff8b2fe000 - 0x7fff8b2fffff libunc.dylib (24.0.0 - compatibility 1.0.0) /usr/lib/system/libunc.dylib
0x7fff8cf9c000 - 0x7fff8cfb9ff7 libxpc.dylib (77.17.0 - compatibility 1.0.0) <72A16104-2F23-3C22-B474-1953F06F9376> /usr/lib/system/libxpc.dylib
0x7fff8cfba000 - 0x7fff8d02fff7 libc++.1.dylib (19.0.0 - compatibility 1.0.0) /usr/lib/libc++.1.dylib
0x7fff8d103000 - 0x7fff8d111fff libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib
0x7fff8d6c8000 - 0x7fff8d6daff7 libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
0x7fff8db85000 - 0x7fff8dbc0ff7 libsystem_info.dylib (??? - ???) <9C8C2DCB-96DB-3471-9DCE-ADCC26BE2DD4> /usr/lib/system/libsystem_info.dylib
0x7fff8dd23000 - 0x7fff8dd24fff libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff8deff000 - 0x7fff8df04fff libcache.dylib (47.0.0 - compatibility 1.0.0) /usr/lib/system/libcache.dylib
0x7fff8df71000 - 0x7fff8df7cff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
0x7fff8e11e000 - 0x7fff8e122fff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) /usr/lib/system/libmathCommon.A.dylib
0x7fff8e758000 - 0x7fff8e759ff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
0x7fff8f358000 - 0x7fff8f362ff7 liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1361490
thread_create: 1
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=61.0M resident=28.0M(46%) swapped_out_or_unallocated=33.0M(54%)
Writable regions: Total=95.9M written=1160K(1%) resident=2320K(2%) swapped_out=0K(0%) unallocated=93.6M(98%)

REGION TYPE VIRTUAL
=========== =======
MALLOC 85.4M
MALLOC guard page 32K
STACK GUARD 56.0M
Stack 10.0M
VM_ALLOCATE 8K
__DATA 1232K
__LINKEDIT 48.0M
__TEXT 13.0M
__UNICODE 544K
shared memory 12K
=========== =======
TOTAL 214.2M

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions