mtpfs
mtpfs copied to clipboard
Listing fails with a mutex error.
Mounting appears to succeed, but as soon as I try listing the mountpoint, this happens:
Listing raw device(s)
Device 0 (VID=22b8 and PID=2e76) is a Motorola Moto G (ID1).
Found 1 device(s):
Motorola: Moto G (ID1) (22b8:2e76) @ bus 1, dev 17
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: (NULL)
FUSE library version: 2.9.9
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.31
flags=0x03fffffb
max_readahead=0x00020000
INIT: 7.19
flags=0x00000010
max_readahead=0x00020000
max_write=0x00020000
max_background=0
congestion_threshold=0
unique: 2, success, outsize: 40
unique: 4, opcode: ACCESS (34), nodeid: 1, insize: 48, pid: 343884
unique: 4, error: -38 (Function not implemented), outsize: 16
unique: 6, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 343891
getattr /
Attempt to unlock mutex that was not locked
fish: “mtpfs -d droid” terminated by signal SIGABRT (Abort)
(This is with -d.)
package versions: mtpfs 1.1-4 libmtp 1.1.17-1 glib2 2.64.5-1 libid3tag 0.15.1b-11 fuse2 2.9.9-4 libmad 0.15.1b-9
os: archlinux
The device is a Moto G4 (athene), but that should be irrelevant since it works fine on thunar with vgfs-mtp.
I am getting the same issue
Tried to mount a device on ~/mnt/
/ # mtpfs -o debug ~/mnt/ Listing raw device(s) Device 0 (VID=1004 and PID=633e) is a LG Electronics Inc. LG G Flex 2. Found 1 device(s): LG Electronics Inc.: LG G Flex 2 (1004:633e) @ bus 3, dev 2 Attempting to connect device Android device detected, assigning default bug flags Listing File Information on Device with name: WING [../mtpfs-1.1/mtpfs.c:1459] Storage0: 65537 - Internal shared storage
[../mtpfs-1.1/mtpfs.c:1463] Start fuse FUSE library version: 2.9.9 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.31 flags=0x03fffffb max_readahead=0x00020000 [../mtpfs-1.1/mtpfs.c:1321] mtpfs_init [../mtpfs-1.1/mtpfs.c:1324] Ready INIT: 7.19 flags=0x00000010 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 unique: 2, success, outsize: 40 unique: 4, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 7093 getattr / [../mtpfs-1.1/mtpfs.c:941] lock [../mtpfs-1.1/mtpfs.c:941] getattr / [../mtpfs-1.1/mtpfs.c:802] return unlock [../mtpfs-1.1/mtpfs.c:945] getattr exit [../mtpfs-1.1/mtpfs.c:946] return unlock Attempt to unlock mutex that was not locked [1]+ Stopped (signal) mtpfs -o debug ~/mnt/
May be fixed by #21. I see this issue on an Arch Linux version of the package, but latest state of the code from this repo works well.