Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 754672

Summary: sys-fs/simple-mtpfs / media-libs/libmtp: "LIBMTP PANIC: Trying to dump the error stack of a NULL device!"
Product: Gentoo Linux Reporter: Hanno Böck <hanno>
Component: Current packagesAssignee: Jakov Smolić <jsmolic>
Status: RESOLVED FIXED    
Severity: normal CC: fordfrog, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hanno Böck gentoo-dev 2020-11-15 08:46:44 UTC
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.
Comment 1 Miroslav Šulc gentoo-dev 2021-10-26 07:17:11 UTC
does this still happen to you with 1.1.19?
Comment 2 Larry the Git Cow gentoo-dev 2021-10-28 14:09:56 UTC
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(-)
Comment 3 Hanno Böck gentoo-dev 2021-10-28 14:34:43 UTC
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.