dmo60 / lLyrics

A Rhythmbox plugin for displaying lyrics in the sidebar.
75 stars 40 forks source link

lLyrics makes RB 2.97 crash when lyrics are not found #18

Closed jrbastien closed 10 years ago

jrbastien commented 12 years ago

I have Rhythmbox 2.97 on Ubuntu 12.04 and lLyrics turned on. This works well for songs where it finds lyrics but when not found, it just makes RB crash and close unexpectedly.

If I uncheck all databases, it display "Lyric not found" but does not crash.

How can I gather more information for you?

dmo60 commented 12 years ago

Thanks for your report! It would be great if you could run Rhythmbox from a terminal with the command 'rhythmbox -D lLyrics', reproduce the crash and then post the output here. That gives me some debugging information.

jrbastien commented 12 years ago

Here it is (all sources turned on but letras.terra.com.br) :

~$ rhythmbox -D lLyrics (07:27:00) [0x264a490] [lLyrics.do_activate] /usr/lib/rhythmbox/plugins/llyrics/lLyrics.py:261: activated plugin lLyrics

(rhythmbox:17566): Gtk-CRITICAL **: gtk_box_pack: assertion `gtk_widget_get_parent (child) == NULL' failed (07:27:08) [0x264a490] [lLyrics.search_lyrics] /usr/lib/rhythmbox/plugins/llyrics/lLyrics.py:712: search lyrics for AC/DC - Stormy May Day (07:27:08) [0x481ff20] [lLyrics.get_lyrics_from_source] /usr/lib/rhythmbox/plugins/llyrics/lLyrics.py:1341: source: Lyricwiki.org

* (rhythmbox:17566): WARNING _: Error calling get_info: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, args, _keywords) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/platform/linux/dbus_interface.py", line 723, in get_info return self.service.folders.get_info(path) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 166, in inner result = f(_new_args, _new_kwargs) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/logger.py", line 283, in inner res = f(_args, _kwargs) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 717, in get_info mdobj = self.fs_manager.get_by_path(path) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 794, in get_by_path mdid = self._idx_path[path] KeyError: '/home/jrbastien/.ubuntuone/Purchased from Ubuntu One'

\ (rhythmbox:17566): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed (07:27:11) [0x481ff20] [lLyrics.get_lyrics_from_source] /usr/lib/rhythmbox/plugins/llyrics/lLyrics.py:1341: source: Metrolyrics.com (07:27:11) [0x481ff20] [lLyrics.get_lyrics_from_source] /usr/lib/rhythmbox/plugins/llyrics/lLyrics.py:1341: source: Chartlyrics.com Erreur de segmentation (core dumped)

dmo60 commented 12 years ago

That's it? Nothing helpful here... Thanks anyway. So do you use the latest version from Github or did you install via PPA?

jrbastien commented 12 years ago

I was using the FossFreedom PPA. So I removed it and re-installed it from a fresh git clone. No success either.

I also uncheck chartlyrics.com but the next song I tried crashed on MetroLyrics.com. I can't find a real pattern other than if it does not exist in any of these sites, it eventually crash with this segmentation fault error.

Do you use Ubuntu 12.04 and RB 2.97?

dmo60 commented 12 years ago

I use Fedora 17 with RB 2.97. I'm sorry, I can't reproduce this at all an the only error messages in your debug output are produced by Ubuntu One and not by lLyrics. Perhaps it has something to do with it? Please be patient, I'm not at home for the next two weeks, so I'm not able to set up a virutal machine to simulate you setup for further testing. And even if I could, I'm quite sure it is something specific to your scenario, because it all seems to work for other Ubuntu users. So please tell me if you can find any more information about this issue. I'm sorry I can't do anything about it for now, but I will try as soon as I'm back home.

jrbastien commented 12 years ago

You are too kind. I certainly can wait. I understand that it is open source and you are not making a business of of this!

I'm trying on another computer which is in standard US configuration (the first one was in French Canadian). It looks more stable but it still crashes. In this example, I was able to play and search for 4 songs before it crashed.

Sorry for the long log, I can't find an option to attach it separately:

rhythmbox -D lLyrics

(rhythmbox:6658): Gtk-CRITICAL **: gtk_box_pack: assertion `gtk_widget_get_parent (child) == NULL' failed (08:13:52) [0xfaaaa0] [lLyrics.do_activate] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:261: activated plugin lLyrics

* (rhythmbox:6658): WARNING _: Error calling get_info: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, args, _keywords) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/platform/linux/dbus_interface.py", line 723, in get_info return self.service.folders.get_info(path) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 166, in inner result = f(_new_args, _new_kwargs) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/logger.py", line 283, in inner res = f(_args, _kwargs) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 717, in get_info mdobj = self.fs_manager.get_by_path(path) File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 794, in get_by_path mdid = self._idx_path[path] KeyError: '/home/jrbastien/.ubuntuone/Purchased from Ubuntu One'

* (rhythmbox:6658): CRITICAL _: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDERINFO (finfo)' failed * Message: console message: https://one.ubuntu.com/music/login?oauth_consumer_key=W4G3w3X&oauth_nonce=sMu151cDieTDZ1sUbGaTd4o4e2&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1348920835&oauth_token=XEHVWJAqWWtuQqArFGjQVHkwytdiNLIoIrlBJaqhEfjJNWebnf&oauth_version=1.0&oauth_signature=lhbD79ga8MM29nqofR84Y22sAYI%3D @7: Viewport argument value "160dpi" for key "target-densitydpi" was truncated to its numeric prefix.

(08:15:23) [0xfaaaa0] [lLyrics.search_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:712: search lyrics for AC/DC - Stormy May Day (08:15:23) [0x7f215c002260] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyricwiki.org (08:15:23) [0x7f215c002260] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:99: call lyrikwiki API: http://lyrics.wikia.com/api.php?func=getSong&artist=ac-dc&song=stormy%20may%20day&fmt=xml (08:15:23) [0x7f215c002260] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:110: url: http://lyrics.wikia.com/AC%2FDC:Stormy_May_Day (08:15:25) [0x7f215c002260] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:116: could not open lyricwiki url (08:15:25) [0x7f215c002260] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Metrolyrics.com (08:15:25) [0x7f215c002260] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:72: metrolyrics Url http://www.metrolyrics.com/stormy-may-day-lyrics-acdc.html (08:15:25) [0x7f215c002260] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:95: wrong artist/title! ac/dc - stormy may day (08:15:25) [0x7f215c002260] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Chartlyrics.com (08:15:25) [0x7f215c002260] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/ChartlyricsParser.py:115: call chartlyrics API: http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect?artist=ac-dc&song=stormy%20may%20day (08:15:26) [0x7f215c002260] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyrdb.com (08:15:26) [0x7f215c002260] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:55: call lyrdb API http://webservices.lyrdb.com/lookup.php?q=ac-dc|stormy%20may%20day&for=match&agent=llyrics (08:15:29) [0x7f215c002260] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:59: could not connect to lyrdb.com (08:15:29) [0x7f215c002260] [lLyrics.show_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1384: no lyrics found (08:16:44) [0xfaaaa0] [lLyrics.search_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:712: search lyrics for Bryan Adams - Take Me Back (08:16:44) [0x7f2178119ec0] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyricwiki.org (08:16:44) [0x7f2178119ec0] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:99: call lyrikwiki API: http://lyrics.wikia.com/api.php?func=getSong&artist=bryan%20adams&song=take%20me%20back&fmt=xml (08:16:45) [0x7f2178119ec0] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:110: url: http://lyrics.wikia.com/Bryan_Adams:Take_Me_Back (08:16:45) [0x7f2178119ec0] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character 114 (08:16:45) [0x7f2178119ec0] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character 63 (08:16:45) [0x7f2178119ec0] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character

91 (08:16:45) [0x7f2178119ec0] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character 73 (08:16:45) [0x7f2178119ec0] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character 93 (08:16:45) [0x7f2178119ec0] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character

10 (08:16:45) [0x7f2178119ec0] [Parser.get_lyrics] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:175: uncomplete lyrics (08:16:45) [0x7f2178119ec0] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Metrolyrics.com (08:16:45) [0x7f2178119ec0] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:72: metrolyrics Url http://www.metrolyrics.com/take-me-back-lyrics-bryan-adams.html (08:16:45) [0x7f2178119ec0] [Parser.get_lyrics] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:154: lyrics start not found (08:16:45) [0x7f2178119ec0] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Chartlyrics.com (08:16:45) [0x7f2178119ec0] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/ChartlyricsParser.py:115: call chartlyrics API: http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect?artist=bryan%20adams&song=take%20me%20back (08:16:46) [0x7f2178119ec0] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyrdb.com (08:16:46) [0x7f2178119ec0] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:55: call lyrdb API http://webservices.lyrdb.com/lookup.php?q=bryan%20adams|take%20me%20back&for=match&agent=llyrics (08:16:49) [0x7f2178119ec0] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:59: could not connect to lyrdb.com (08:16:49) [0x7f2178119ec0] [lLyrics.show_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1384: no lyrics found (08:17:03) [0xfaaaa0] [lLyrics.search_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:712: search lyrics for Bryan Adams - Hidin` From Love (08:17:03) [0x7f2178117a70] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyricwiki.org (08:17:03) [0x7f2178117a70] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:99: call lyrikwiki API: http://lyrics.wikia.com/api.php?func=getSong&artist=bryan%20adams&song=hidin%60%20from%20love&fmt=xml (08:17:05) [0x7f2178117a70] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Metrolyrics.com (08:17:05) [0x7f2178117a70] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:72: metrolyrics Url http://www.metrolyrics.com/hidin-from-love-lyrics-bryan-adams.html (08:17:05) [0x7f2178117a70] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:95: wrong artist/title! bryan adams - hidin' from love (08:17:05) [0x7f2178117a70] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Chartlyrics.com (08:17:05) [0x7f2178117a70] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/ChartlyricsParser.py:115: call chartlyrics API: http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect?artist=bryan%20adams&song=hidin%60%20from%20love (08:17:06) [0x7f2178117a70] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyrdb.com (08:17:06) [0x7f2178117a70] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:55: call lyrdb API http://webservices.lyrdb.com/lookup.php?q=bryan%20adams|hidin%60%20from%20love&for=match&agent=llyrics (08:17:09) [0x7f2178117a70] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:59: could not connect to lyrdb.com (08:17:09) [0x7f2178117a70] [lLyrics.show_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1384: no lyrics found (08:17:22) [0xfaaaa0] [lLyrics.search_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:712: search lyrics for Bryan Adams - Home Again (08:17:22) [0x7f2178011550] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyricwiki.org (08:17:22) [0x7f2178011550] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:99: call lyrikwiki API: http://lyrics.wikia.com/api.php?func=getSong&artist=bryan%20adams&song=home%20again&fmt=xml (08:17:22) [0x7f2178011550] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:110: url: http://lyrics.wikia.com/Bryan_Adams:Home_Again (08:17:22) [0x7f2178011550] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character 114 (08:17:22) [0x7f2178011550] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character 63 (08:17:22) [0x7f2178011550] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character

91 (08:17:22) [0x7f2178011550] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character 73 (08:17:22) [0x7f2178011550] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character 93 (08:17:22) [0x7f2178011550] [decode_chars] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:217: unknown character

10 (08:17:22) [0x7f2178011550] [Parser.get_lyrics] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:175: uncomplete lyrics (08:17:22) [0x7f2178011550] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Metrolyrics.com (08:17:22) [0x7f2178011550] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:72: metrolyrics Url http://www.metrolyrics.com/home-again-lyrics-bryan-adams.html (08:17:23) [0x7f2178011550] [Parser.get_lyrics] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:154: lyrics start not found (08:17:23) [0x7f2178011550] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Chartlyrics.com (08:17:23) [0x7f2178011550] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/ChartlyricsParser.py:115: call chartlyrics API: http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect?artist=bryan%20adams&song=home%20again (08:17:23) [0x7f2178011550] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/ChartlyricsParser.py:120: could not connect to chartlyric.com API (08:17:23) [0x7f2178011550] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyrdb.com

(rhythmbox:6658): LIBDBUSMENU-GLIB-CRITICAL **: dbusmenu_menuitem_get_id: assertion `DBUSMENU_IS_MENUITEM(mi)' failed (08:17:23) [0x7f2178011550] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:55: call lyrdb API http://webservices.lyrdb.com/lookup.php?q=bryan%20adams|home%20again&for=match&agent=llyrics (08:17:27) [0x7f2178011550] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:59: could not connect to lyrdb.com (08:17:27) [0x7f2178011550] [lLyrics.show_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1384: no lyrics found (08:17:57) [0xfaaaa0] [lLyrics.search_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:712: search lyrics for Les Chiens - la nuit derobee (08:17:57) [0x309ee10] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyricwiki.org (08:17:57) [0x309ee10] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:99: call lyrikwiki API: http://lyrics.wikia.com/api.php?func=getSong&artist=les%20chiens&song=la%20nuit%20derobee&fmt=xml (08:17:57) [0x309ee10] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Metrolyrics.com (08:17:57) [0x309ee10] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:72: metrolyrics Url http://www.metrolyrics.com/la-nuit-derobee-lyrics-les-chiens.html (08:17:57) [0x309ee10] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:95: wrong artist/title! rough silk - les chiens de la guerre (08:17:57) [0x309ee10] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Chartlyrics.com (08:17:57) [0x309ee10] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/ChartlyricsParser.py:115: call chartlyrics API: http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect?artist=les%20chiens&song=la%20nuit%20derobee (08:17:58) [0x309ee10] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyrdb.com (08:17:58) [0x309ee10] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:55: call lyrdb API http://webservices.lyrdb.com/lookup.php?q=les%20chiens|la%20nuit%20derobee&for=match&agent=llyrics (08:18:01) [0x309ee10] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:59: could not connect to lyrdb.com Segmentation fault (core dumped)

dmo60 commented 12 years ago

can you somehow switch off ubuntu one for rhythmbox?

Boi-pants commented 12 years ago

just to interject, I nor anyone who I know use llyric plugin in ubuntu 12.04 with the latest rhythmbox has problems, so it is exclusive to you.

jrbastien commented 12 years ago

Boi-pants, do you use Ubuntu 12.04 with RB 2.97 and this plugin?

I still get crashes with Ubuntu one turned off. I spare you from the whole log this time but here is what happened on the third songs:

.... (15:56:21) [0x1376aa0] [lLyrics.search_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:712: search lyrics for AC/DC - Stormy May Day (15:56:21) [0x327df90] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyricwiki.org (15:56:21) [0x327df90] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:99: call lyrikwiki API: http://lyrics.wikia.com/api.php?func=getSong&artist=ac-dc&song=stormy%20may%20day&fmt=xml (15:56:21) [0x327df90] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:110: url: http://lyrics.wikia.com/AC%2FDC:Stormy_May_Day (15:56:22) [0x327df90] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:116: could not open lyricwiki url (15:56:22) [0x327df90] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Metrolyrics.com (15:56:22) [0x327df90] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:72: metrolyrics Url http://www.metrolyrics.com/stormy-may-day-lyrics-acdc.html (15:56:23) [0x327df90] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/MetrolyricsParser.py:95: wrong artist/title! ac/dc - stormy may day (15:56:23) [0x327df90] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Chartlyrics.com (15:56:23) [0x327df90] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/ChartlyricsParser.py:115: call chartlyrics API: http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect?artist=ac-dc&song=stormy%20may%20day (15:56:23) [0x327df90] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyrdb.com (15:56:23) [0x327df90] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:55: call lyrdb API http://webservices.lyrdb.com/lookup.php?q=ac-dc|stormy%20may%20day&for=match&agent=llyrics (15:56:26) [0x327df90] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyrdbParser.py:59: could not connect to lyrdb.com Segmentation fault (core dumped)

Could it be a connection time-out issue? The last trace says "could not connect to lyrdb.com". If I try with Firefox, I can go to lyrdb.com without any issue.

dmo60 commented 12 years ago

No, that's a normal debug output that says that there was a timeout when connecting to lyrdb. That happens quite often with lyrdb and is normal and no error. The output doesn't help, because the interesting part would be what comes behind the segmentation fault, but there is nothing... Do you have any other third party plugins enabled? If so, try to disable them all and try again :)

jrbastien commented 12 years ago

Ok, really sorry but will all plugins disabled but Llyrics, it still crashes. With Llyrics disabled, I cannot make it crash.

I'm looking at my syslog and have found something interesting:

Sep 30 22:37:01 JR-Isa-HP-Pavillon kernel: [25325.345931] rhythmbox[27463]: segfault at 6574617c ip 00007fa0bed0c93e sp 00007fff24c73850 error 4 in libdbusmenu-glib.so.4.0.13[7fa0bed00000+1a000] Sep 30 22:39:05 JR-Isa-HP-Pavillon kernel: [25449.274248] rhythmbox[4125]: segfault at 6574617c ip 00007f69e527d93e sp 00007fff9ccf51b0 error 4 in libdbusmenu-glib.so.4.0.13[7f69e5271000+1a000] Sep 30 22:39:12 JR-Isa-HP-Pavillon AptDaemon: INFO: Quitting due to inactivity Sep 30 22:39:12 JR-Isa-HP-Pavillon AptDaemon: INFO: Quitting was requested Sep 30 22:39:34 JR-Isa-HP-Pavillon dbus[1070]: [system] Activating service name='org.debian.apt' (using servicehelper) Sep 30 22:39:34 JR-Isa-HP-Pavillon AptDaemon: INFO: Initializing daemon Sep 30 22:39:34 JR-Isa-HP-Pavillon dbus[1070]: [system] Successfully activated service 'org.debian.apt' Sep 30 22:39:34 JR-Isa-HP-Pavillon AptDaemon.PackageKit: INFO: Initializing PackageKit compat layer Sep 30 22:40:27 JR-Isa-HP-Pavillon kernel: [25531.713505] rhythmbox[8806]: segfault at 6574617c ip 00007f99eadc393e sp 00007fff434443b0 error 4 in libdbusmenu-glib.so.4.0.13[7f99eadb7000+1a000] Sep 30 22:40:27 JR-Isa-HP-Pavillon kernel: [25531.713677] CIFS VFS: Unexpected lookup error -512 Sep 30 22:42:21 JR-Isa-HP-Pavillon kernel: [25645.598613] rhythmbox[12479]: segfault at 1d7a ip 00007f137400f7c0 sp 00007fff57be6518 error 4 in libgobject-2.0.so.0.3200.3[7f1373fde000+4d000] Sep 30 22:42:21 JR-Isa-HP-Pavillon kernel: [25645.598795] CIFS VFS: Unexpected lookup error -512

segfault at ... error 4 in libdbusmenu-glib.so.4.0.13 ? --> Is this the same version as in Fedora?

CIFS VFS: Unexpected lookup error -512 --> My music is on a NAS permantly mounted to /home/NAS. Could it have an impact on this problem?

Boi-pants commented 12 years ago

I use 2.98, update your rhythmbox and see if u get the same problem

jrbastien commented 12 years ago

I wish it would have solved it but unfortunately not. I have still the same error with 2.98. Boi-pants, can you confirm which distribution and version you use please?

Boi-pants commented 12 years ago

I have ubuntu 12.04 LTS running what I just found out was rhythmbox 2.96 actually, try that, if that doesnt work I can offer anything for you are almost emulating my situation

jrbastien commented 12 years ago

Ok, I went all the way to revert to 2.96 with a ppa-purge but it still crashes with the same error. It might be something else I have installed on my 2 machines but it is strange that it affects this plugin specifically.

dmo60 commented 12 years ago

Ok guys, for now I have no idea at all what causes this and where to start, but I'm back home and will report any progress I make!

jrbastien commented 12 years ago

One important thing I forgot to mention is that my system is 64 bits.

BoneCracker commented 11 years ago

Hello, I've got the same Problem. I'm using a 64 bit System too. I started and reproduced the crash. Here's the output

christoph@christoph-pc:~$ rhythmbox -D lLyrics (09:11:41) [0x1c1b8d0] [lLyrics.do_activate] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:261: activated plugin lLyrics (09:11:47) [0x1c1b8d0] [lLyrics.search_lyrics] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:712: search lyrics for Mrs. Greenbird - Shooting Stars & Fairy Tales (09:11:47) [0x326c190] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyricwiki.org (09:11:47) [0x326c190] [Parser.parse] .local/share/rhythmbox/plugins/lLyrics/LyricwikiParser.py:99: call lyrikwiki API: http://lyrics.wikia.com/api.php?func=getSong&artist=mrs.%20greenbird&song=shooting%20stars%20and%20fairy%20tales&fmt=xml (09:11:49) [0x326c190] [lLyrics.get_lyrics_from_source] .local/share/rhythmbox/plugins/lLyrics/lLyrics.py:1341: source: Lyrdb.com Speicherzugriffsfehler (Speicherabzug geschrieben)

If I disable the plugin, then rhythmbox will not crash. I tried different lyrics sources, but it doesn't help. Can I help to fix this bug somehow?

My Rhythmbox-Version is 2.97. I installed this plugin from https://github.com/dmo60/lLyrics/downloads

BoneCracker commented 11 years ago

I forgot: Syslog sais:

Dec 8 08:52:33 christoph-pc kernel: [37413.743080] rhythmbox[19286]: segfault at 7f006574617c ip 00007f77435f0b29 sp 00007fff499436b0 error 4 in libdbusmenu-glib.so.4.0.12[7f77435e4000+1a000] Dec 8 08:53:06 christoph-pc kernel: [37446.968513] rhythmbox[19866]: segfault at 7f006574617c ip 00007fa29a298b29 sp 00007fff2595c350 error 4 in libdbusmenu-glib.so.4.0.12[7fa29a28c000+1a000]

(I made Rhythmbox crash 2 times)

Well.. I can only make Rhythmbox crash if it doesn't find any lyrics.

cmlsharp commented 11 years ago

I have the same problem with Rhythmbox 2.98 in Ubuntu 12.10 64 bit. I listen to a lot of jazz so if this plugin is enabled my Rhythmsbox crashes, even if it is not open in the sidebar. This is such a great plugin otherwise I really wish it would work with songs with no lyrics

bayonne commented 11 years ago

It crashes here too on songs for which no lyrics are found -- Ubuntu 12.10 64-bit, Rhythmbox 2.97. The plugin is installed with fossfreedom PPA.

dmo60 commented 10 years ago

Sorry guys, I was never able to reproduce this issue. Now I'm concentrating my time on the Rhythmbox 3 branch, which is unfortunatly incompatible with RB 2.xx. I can't maintain them both, so I won't fix this issue, I'm sorry!