I should add: my guess is that the problem is caused by pymtp being out of sync with the libmtp API. pymtp is a ctypes wrapper of libmtp, so its structs need to match libmtps, or there will be crashes.
** Bug watch added: Debian Bug tracker #633144 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633144 ** Also affects: pymtp (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633144 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1218162 Title: Segfault when calling MTP.get_filelisting() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pymtp/+bug/1218162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs