GNOME Bugzilla – Bug 629373
banshee crash during sync files with MTP device
Last modified: 2010-09-13 22:14:55 UTC
Hi, I've added 250songs to playlist and then chose this library to sync with my MTP device Samsung YP-u3. First 140 songs were copied without problem, then banshee crash. Every time when I run banshee, it try to copy different song, so I'm not expecting error in song file. I'm adding crash log with debug informations.
Created attachment 170034 [details] [review] crash during sync
What version of libmtp are you running? The line numbers reported in your stacktrace don't match what I have on my system so I can't tell why libmtp is crashing. It appears to be because the device handle is null, but that should be impossible. The only way that could happen would be if the device had been disconnected, but that shouldn't be happening if you're transferring tracks to it.
Ah, I managed to reproduce the bug. It's a libmtp issue but I can code a workaround easily enough. It'll be fixed in the morning. I'll file a bug with libmtp about this now.
Banshee can't sync files with unicode character in name or path. this files can't be synced to mtp: /home/rchovan/Hudba/Kabát/Suma Sumarum/17. Kralici.mp3 /home/rchovan/Hudba/Kabát/The Best Of 1991 - 2001 CD 1/13. Wonder.mp3 /home/rchovan/Hudba/Kabát/The Best Of 1991 - 2001 CD 1/21. Na sever.mp3 /home/rchovan/Hudba/Kabát/Zeme plna trpasliku/01. Uvod.mp3
Created attachment 170171 [details] screenshot of GUI
Created attachment 170172 [details] [review] sync1 crash log
A critical bug is one which results in a massive security hole in a particular application. 99.9% of the bugs which are filed should be marked as normal and the maintainer of that section of code will readjust the severity as appropriate. This type of bug doesn't warrant a critical tag though I do appreciate that for you it is very important. Just readjusting the severity to 'normal'.
Did banshee actually crash or did it just fail to transfer your songs? There's a big difference. As it stands, this appears to be neither a banshee or libmtp bug. I can transfer songs with the character 'á' in the name to my device without an issue. Could it be that your device is full? The error given by libmtp isn't precise enough to know exactly why it failed. Does the device have multiple places it can store data (some built in, some added like an SD card)? If so is one of those places full?
Hey, The issue you reported here is a duplicate of another issue. So lets move the talk to that bug report as it's more suited for there. Please write your response to my question above in the other report. Thanks! *** This bug has been marked as a duplicate of bug 629365 ***