GNOME Bugzilla – Bug 439544
crash in Rhythmbox Music Player: I had used the purchase ...
Last modified: 2007-11-28 12:54:42 UTC
What were you doing when the application crashed? I had used the purchase album button in the magnatune plugin, and it had gotten to the point of saying "Downloading Magnatune Album(s)" in the status bar. It then crashed. Distribution: Gentoo Base System release 1.12.10 Gnome Release: 2.16.3 2007-05-02 (Gentoo) BugBuddy Version: 2.16.1 System: Linux 2.6.19-gentoo-r5 #1 SMP Wed May 2 18:56:32 PDT 2007 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 70200000 Selinux: No Accessibility: Disabled Memory status: size: 519880704 vsize: 519880704 resident: 82391040 share: 34254848 rss: 82391040 rss_rlim: -1 CPU usage: start_time: 1179328331 rtime: 33041 utime: 31922 stime: 1119 cutime:2 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/rhythmbox' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 47521993830400 (LWP 23807)] [New Thread 1132755264 (LWP 3746)] [New Thread 1166326080 (LWP 3696)] [New Thread 1107310912 (LWP 3694)] [New Thread 1149540672 (LWP 3693)] [New Thread 1098918208 (LWP 3692)] [New Thread 1141147968 (LWP 3691)] [New Thread 1082132800 (LWP 3690)] [New Thread 1124362560 (LWP 12591)] [New Thread 1115969856 (LWP 23819)] [New Thread 1090525504 (LWP 23814)] 0x00002b388d89153e in __libc_waitpid (pid=3747, stat_loc=0x7fff1da69e9c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41 in ../sysdeps/unix/sysv/linux/waitpid.c
+ Trace 134889
Thread 1 (Thread 47521993830400 (LWP 23807))
0x00002b388d89153e 41 in ../sysdeps/unix/sysv/linux/waitpid.c The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal] ----------- .xsession-errors (44677 sec old) --------------------- at org.gudy.azureus2.core3.util.ThreadPool$threadPoolWorker$1.runSupport(ThreadPool.java:523) at org.gudy.azureus2.core3.util.AEThread.run(AEThread.java:69) Caused by: java.io.IOException: HTTP request failed:HTTP/1.1 500 Internal Server Error at com.aelitis.net.upnp.impl.UPnPImpl.performSOAPRequest(UPnPImpl.java:727) at com.aelitis.net.upnp.impl.UPnPImpl.performSOAPRequest(UPnPImpl.java:588) at com.aelitis.net.upnp.impl.services.UPnPActionInvocationImpl.invoke(UPnPActionInvocationImpl.java:98) ... 13 more [plug] [UPnP] UPnP: Mapping 'Incoming Peer Data Port (UDP/12252)' failed DEBUG::Fri May 18 03:31:43 PDT 2007::com.aelitis.azureus.plugins.upnp.UPnPPluginService::checkMapping::266: com.aelitis.net.upnp.UPnPException: Invoke of 'urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping' fails: Connection refused at com.aelitis.net.upnp.impl.services.UPnPActionInvocationImpl.invoke(UPnPActionInvocationImpl.java:134) at com.aelitis.net.upnp.impl.services.UPnPSSWANConnectionImpl.addPortMapping(UPnPSSWANConnectionImpl.java:319) at com.aelitis.azureus.plugins.upnp.UPnPPlugin ...Too much output, ignoring rest... --------------------------------------------------
If you start rhythmbox again and select the Magnatune source, it should automatically restart the download. Does it crash again if you do that? If not, I suspect it's maybe an issue with gnomevfs. If it does, any command-line output would be appreciated.
Okay, the first time it did crash again, outputting only this to the console: Fatal Python error: deletion of interned string failed Now, whenever I start Rhythmbox and go to Magnatune, I get an "Authentication Required" dialog box telling me "You must log in to access magnatune.com:80/Jeff Wahl" and asking for a user name and password.
I'm going to guess that the fatal error is something internal to python or rhythmbox's bindings, or possibly something to do with your specific environment. I don't really know what would cause that, but some quick googling suggests that the problem isn't within the plugin code itself. James, does that make sense, or could it be a problem with my code? The authentication error is strange, since the URL http://jw554:jw554@magnatune.com/artists/music/New%20Age/Jeff%20Wahl/Guinevere/Jeff%20Wahl%20-%20Guinevere%20-%20flac.zip (from the stack trace above) works fine for me (i.e., the password hasn't been changed). Could you check the contents of $HOME/.gnome2/rhythmbox/magnatune/in_progress_<album name> and see if it contains that URL or something else?
It did indeed contain that URL. I restarted my computer to see if it would stop asking me for my password, but it did not. I tried typing the username and password into the dialog box, and it just kept asking me again. Finally, I typed it in and checked the box to remember it for the session, and then it downloaded the whole thing without issue. I will let you know what happens the next time I purchase an album, but I am not sure when that will be.
I'm pretty sure this was a python threading problem. Since we now enable python threading, the magnatune album download code should work properly. *** This bug has been marked as a duplicate of 469852 ***