GNOME Bugzilla – Bug 678349
Rhythmbox segfaults when trying to access Android 4.0 MTP device already mounted by Nautilus
Last modified: 2016-03-09 12:53:36 UTC
Using Fedora 17 and Rhythmbox checkout 0a606d1e Description: Upon detecting an MTP device for the first time, Rhythmbox will attempt to gain exclusive access by causing gvfs to unmount the device. However, if gvfs re-mounts the device, attempting to access the device in Rhythmbox will lead to a segfault. Steps to Reproduce: 1. Plug in device. Unmount the device if it proceeds to mount. Ensure the device is unlocked and remains unlocked throughout the steps. 2. Open a Nautilus window 3. Open Rhythmbox 4. In Rhythmbox, click on the device "Media Player" in the left-hand column 5. In Rhythmbox, wait for the "Media Player" label to be replaced by the real name of the device and for the music browser to be populated 6. In Nautilus, mount the device 7. In Rhythmbox, click on a song on the device in the music browser Expected Results: Either the device should be unmounted from Nautilus again, or Rhythmbox should do something to indicate that the device can't be accessed. Received Results: Rhythmbox cycles through all the songs on the MTP device, failing to play each one. When it has cycled through all the songs in the browser, it segfaults.
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
What follows is the requested stack trace:
+ Trace 230386
In the process of acquiring the stack trace, I also received the message: *** glibc detected *** $(HOME)/rhythmbox-devel/bin/rhythmbox: double free or corruption (out): 0x00007fffd402fd10 ***
I apologize for not reading the whole of http://live.gnome.org/GettingTraces. What follows is a stack trace generated with "threads apply all bt" instead of bt. Thread 68 (Thread 0x7fff4a7f4700 (LWP 1925)):
+ Trace 230391
Thread 1 (Thread 0x7ffff73e59c0 (LWP 1838))
Closing this because rhythmbox now accesses android devices via the gvfs mount, so this shouldn't be an issue.