After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629373 - banshee crash during sync files with MTP device
banshee crash during sync files with MTP device
Status: RESOLVED DUPLICATE of bug 629365
Product: banshee
Classification: Other
Component: Device - MTP
git master
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-11 17:28 UTC by Coudy
Modified: 2010-09-13 22:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
crash during sync (19.53 KB, patch)
2010-09-11 17:28 UTC, Coudy
none Details | Review
screenshot of GUI (151.67 KB, image/png)
2010-09-13 16:23 UTC, Coudy
  Details
sync1 crash log (24.60 KB, patch)
2010-09-13 16:25 UTC, Coudy
none Details | Review

Description Coudy 2010-09-11 17:28:15 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.
Comment 1 Coudy 2010-09-11 17:28:39 UTC
Created attachment 170034 [details] [review]
crash during sync
Comment 2 Alan McGovern 2010-09-12 23:02:38 UTC
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.
Comment 3 Alan McGovern 2010-09-12 23:51:49 UTC
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.
Comment 4 Coudy 2010-09-13 16:23:09 UTC
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
Comment 5 Coudy 2010-09-13 16:23:32 UTC
Created attachment 170171 [details]
screenshot of GUI
Comment 6 Coudy 2010-09-13 16:25:48 UTC
Created attachment 170172 [details] [review]
sync1 crash log
Comment 7 Alan McGovern 2010-09-13 21:34:03 UTC
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'.
Comment 8 Alan McGovern 2010-09-13 22:06:46 UTC
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?
Comment 9 Alan McGovern 2010-09-13 22:14:55 UTC
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 ***