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: https://github.com/phatina/simple-mtpfs/issues/37 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): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac019b230326a3f5d329aa2bd2005f6f26d785d8 commit ac019b230326a3f5d329aa2bd2005f6f26d785d8 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2021-10-28 14:09:51 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-10-28 14:09:51 +0000 media-libs/libmtp: removed obsolete 1.1.18 Bug: https://bugs.gentoo.org/754672 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.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.