macos-fuse-t / fuse-t

Other
925 stars 7 forks source link

macOS 15 system crash when copy file using finder #75

Open AskFeeds opened 6 days ago

AskFeeds commented 6 days ago

I have used fuse-t in combination with ntfs-3g and fuse to create a demo command-line app on macOS. While the demo works well in general, I have encountered a specific issue on macOS 15 when transferring files.

When I drag and drop files (typically more than six files) from Finder to the mounted directory, I receive the following error: The operation can't be completed because an item with the name "" already exists. (Not sure why an empty file name show up here.), and shortly after this error occurs, the system crashes.

My setup is on a macOS 15.1 system running on Intel. Could this be related to the way fuse-t handles file transfers, or might it be an issue with ntfs-3g or macOS itself?

Since the crash report includes nfs client related info, does it relate to fuse-t?

detailed crash report:

panic(cpu 2 caller 0xffffff801b7487de): Kernel trap at 0xffffff7fb0d4d2a1, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000090, CR3: 0x00000001f0b9f0cc, CR4: 0x00000000003626e0
RAX: 0x0000000000000000, RBX: 0x0000000000000048, RCX: 0x0000000000000001, RDX: 0xffffffbea6b67368
RSP: 0xffffffbea6b67350, RBP: 0xffffffbea6b67350, RSI: 0xffffffbea6b67588, RDI: 0x0000000000000090
R8:  0xffffffbea6b672bc, R9:  0x0000000000000000, R10: 0x0000000000000000, R11: 0x000000000270dfe2
R12: 0x0000000000000000, R13: 0x0000000000000048, R14: 0x0000000000000001, R15: 0xffffff9aa73ed3c0
RFL: 0x0000000000010246, RIP: 0xffffff7fb0d4d2a1, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000090, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 0

Panicked task 0xffffff9f72940870: 12 threads: pid 389: Finder
Backtrace (CPU 2), panicked thread: 0xffffffa43fa215a0, Frame : Return Address
0xffffffbea6b66c10 : 0xffffff801b5ebc91 
0xffffffbea6b66c60 : 0xffffff801b758a0c 
0xffffffbea6b66ca0 : 0xffffff801b7482b3 
0xffffffbea6b66d70 : 0xffffff801b581971 
0xffffffbea6b66d90 : 0xffffff801b5ebf87 
0xffffffbea6b66e90 : 0xffffff801b5eb622 
0xffffffbea6b66f00 : 0xffffff801bdd4078 
0xffffffbea6b66ff0 : 0xffffff801b7487de 
0xffffffbea6b67170 : 0xffffff801b7484d7 
0xffffffbea6b67240 : 0xffffff801b581971 
0xffffffbea6b67260 : 0xffffff7fb0d4d2a1 
0xffffffbea6b67350 : 0xffffff7fb0d2b0f7 
0xffffffbea6b678a0 : 0xffffff7fb0d2c45c 
0xffffffbea6b67950 : 0xffffff801b8108ac 
0xffffffbea6b679a0 : 0xffffff801e0a6888 
0xffffffbea6b67a10 : 0xffffff801e0a6ddc 
0xffffffbea6b67b90 : 0xffffff801e0a81a8 
0xffffffbea6b67bb0 : 0xffffff801e08633e 
0xffffffbea6b67d70 : 0xffffff801bda78f1 
0xffffffbea6b67dc0 : 0xffffff801b80785e 
0xffffffbea6b67ea0 : 0xffffff801b7f9478 
0xffffffbea6b67f40 : 0xffffff801bc3a862 
0xffffffbea6b67fa0 : 0xffffff801b581db6 
      Kernel Extensions in backtrace:
         com.apple.security.sandbox(300.0)[DDFE6463-E52E-3184-89A9-90CAC56C91A8]@0xffffff801e076000->0xffffff801e0d7fff
            dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[9EC9CB9D-5FAA-3E54-A9E8-C76887F6C9D4]@0xffffff801cc92000->0xffffff801cccbfff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[4B0CF2F6-B2D4-37B7-BD27-A96CBA970155]@0xffffff801db57000->0xffffff801db6dfff
            dependency: com.apple.kec.corecrypto(14.0)[448CF70B-11BD-39F2-B6D4-119DE29D7940]@0xffffff801e366000->0xffffff801e3e7fff
            dependency: com.apple.kext.AppleMatch(1.0.0d1)[93DAB2E3-893B-30D9-9363-F771660C280A]@0xffffff801cc8d000->0xffffff801cc8ffff
         com.apple.filesystems.nfs(1.0)[EE82A1EC-101C-34A5-B726-A8E696774151]@0xffffff7fb0cf1000->0xffffff7fb0d98fff
            dependency: com.apple.kec.corecrypto(14.0)[448CF70B-11BD-39F2-B6D4-119DE29D7940]@0xffffff801e366000->0xffffff801e3e7fff
            dependency: com.apple.kext.triggers(1.0)[7D517CBD-10CB-33D0-A752-17EA1E6A2EE2]@0xffffff7fb0e69000->0xffffff7fb0e6bfff

Process name corresponding to current thread (0xffffffa43fa215a0): Finder

Mac OS version:
24B83
macos-fuse-t commented 6 days ago

For now disable extended attribute support and let me know if that helps. You can do it directly in/Library/Application\ Support/fuse-t/cfg/fuse-t.iniby setting namedattr=false

AskFeeds commented 5 days ago

It works! Thx ~