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.