When trying to mount a current android phone with simple-mtpfs I get an error:
LIBMTP PANIC: Trying to dump the error stack of a NULL device!
This has been happening for a while.
I found this related upstream bug:
It contains a patch for libmtp that is related to libusb. It fixes this issue for me. However the reporter calls it a workaround. I'm not familiar with the inner workings of these, so not sure if we should patch this in libmtp. CCing both maintainers.
does this still happen to you with 1.1.19?
The bug has been referenced in the following commit(s):
Author: Miroslav Šulc <firstname.lastname@example.org>
AuthorDate: 2021-10-28 14:09:51 +0000
Commit: Miroslav Šulc <email@example.com>
CommitDate: 2021-10-28 14:09:51 +0000
media-libs/libmtp: removed obsolete 1.1.18
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <firstname.lastname@example.org>
media-libs/libmtp/Manifest | 1 -
media-libs/libmtp/libmtp-1.1.18.ebuild | 72 ----------------------------------
2 files changed, 73 deletions(-)
I've been using another implementation in the meantime, but just checked: it seems with libmtp 1.1.19 simple-mtpfs works again, so closing.