GNOME Bugzilla – Bug 764291
gnome-music crashes if spotify resource not available
Last modified: 2016-10-22 12:25:29 UTC
Gnome-Music crashes right after startup if fetching data from spotify fails. The errormessage raised when running gnome-music from terminal is: Grilo-WARNING **: [lua-library] grl-lua-library.c:496: Can't fetch element 1 (URL: https://api.spotify.com/v1/search?q=album:http%3A%2F%2Fwww.sharoncorr.com+artist:Sharon%20Corr&type=album&limit=1): 'Die angeforderte Ressource wurde nicht gefunden: Not Found'
The complete terminal output is: $ gnome-music 21:30:23 WARNING can't find artwork for album 'Brilliant Thieves' by Fury in the Slaughterhouse 21:30:23 WARNING can't find artwork for album 'The Color Fury' by Fury in the Slaughterhouse 21:30:23 WARNING can't find artwork for album 'Freunde 2' by Wolfgang Petry 21:30:23 WARNING can't find artwork for album 'Die Karawane zieht weiter' by Höhner 21:30:23 WARNING can't find artwork for album 'Maxi' by Lena Meyer-Landrut 21:30:23 WARNING can't find artwork for album 'Mono' by Fury in the Slaughterhouse (gnome-music:11024): Grilo-WARNING **: [lua-library] grl-lua-library.c:496: Can't fetch element 1 (URL: https://api.spotify.com/v1/search?q=album:http%3A%2F%2Fwww.sharoncorr.com+artist:Sharon%20Corr&type=album&limit=1): 'Die angeforderte Ressource wurde nicht gefunden: Not Found' (gnome-music:11024): Grilo-WARNING **: [lua-library] grl-lua-library.c:532: calling source callback function fail: (null) 21:30:24 WARNING can't find artwork for album 'Hey Santa!' by Wilson Phillips 21:30:24 WARNING can't find artwork for album 'Bier her now' by Lotto King Karl & Die Barmbek Dream Boys 21:30:24 WARNING can't find artwork for album 'Keine Faxen mehr' by Zoff 21:30:24 WARNING can't find artwork for album 'Hooka Hey' by Fury in the Slaughterhouse 21:30:24 WARNING can't find artwork for album 'http://www.sharoncorr.com' by Sharon Corr 21:30:24 WARNING can't find artwork for album 'AUS LIEBE ZUM SPIEL' by Lotto King Karl & Die Barmbek Dream Boys 21:30:24 WARNING can't find artwork for album 'Ikarus' by Lotto King Karl & Die Barmbek Dream Boys Segmentation fault (Speicherabzug geschrieben)
Hi, thank you for taking time to report this bug! Could you please get the backtrace when it crashes? https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces/Details
The problem has already been reported downstream so maybe this helps you: https://retrace.fedoraproject.org/faf/reports/1070214/ https://retrace.fedoraproject.org/faf/reports/1069007/
Actually Comment #1 gives me a good pointer of the issue. Could you please attach the debug of this crash using: GRL_DEBUG=*:* gnome-music So I can try to reproduce tomorrow ;)
Created attachment 324904 [details] backtrace of gnome-music Hope this helps: $ GRL_DEBUG=*:* gnome-music > debug_gnome_music.txt 00:06:55 WARNING can't find artwork for album 'AUS LIEBE ZUM SPIEL' by Lotto King Karl & Die Barmbek Dream Boys 00:06:56 WARNING can't find artwork for album 'Bier her now' by Lotto King Karl & Die Barmbek Dream Boys 00:06:57 WARNING can't find artwork for album 'The Color Fury' by Fury in the Slaughterhouse 00:06:57 WARNING can't find artwork for album 'Hey Santa!' by Wilson Phillips 00:06:57 WARNING can't find artwork for album 'Hooka Hey' by Fury in the Slaughterhouse 00:06:57 WARNING can't find artwork for album 'Maxi' by Lena Meyer-Landrut 00:06:57 WARNING can't find artwork for album 'Freunde 2' by Wolfgang Petry 00:06:57 WARNING can't find artwork for album 'Die Karawane zieht weiter' by Höhner 00:06:57 WARNING can't find artwork for album 'Nowhere Fast!' by Fury in the Slaughterhouse 00:06:57 WARNING can't find artwork for album 'Plattengülle Public Viewing' by Plattengülle Public Viewing 00:06:57 WARNING can't find artwork for album 'Viva Südafrika (Champions Edition)' by Höhner 00:06:57 WARNING can't find artwork for album 'Psychédélices (Tour Edition)' by Alizée 00:06:57 WARNING can't find artwork for album 'Volume 11' by Günther, der Treckerfahrer 00:06:57 WARNING can't find artwork for album 'Volume 12' by Günther, der Treckerfahrer 00:06:58 WARNING can't find artwork for album 'Brilliant Thieves' by Fury in the Slaughterhouse 00:06:58 WARNING can't find artwork for album 'Volume 13' by Günther, der Treckerfahrer 00:06:58 WARNING can't find artwork for album 'Volume 14' by Günther, der Treckerfahrer (gnome-music:2076): Grilo-WARNING **: [lua-library] grl-lua-library.c:496: Can't fetch element 1 (URL: https://api.spotify.com/v1/search?q=album:http%3A%2F%2Fwww.sharoncorr.com+artist:Sharon%20Corr&type=album&limit=1): 'Die angeforderte Ressource wurde nicht gefunden: Not Found' (gnome-music:2076): Grilo-WARNING **: [lua-library] grl-lua-library.c:532: calling source callback function fail: (null) 00:06:58 WARNING can't find artwork for album 'http://www.sharoncorr.com' by Sharon Corr 00:06:58 WARNING can't find artwork for album 'Mono' by Fury in the Slaughterhouse 00:06:58 WARNING can't find artwork for album 'Ikarus' by Lotto King Karl & Die Barmbek Dream Boys 00:06:58 WARNING can't find artwork for album 'Was ist eigentlich mit Frank' by Lotto King Karl & Die Barmbek Dream Boys 00:06:58 WARNING can't find artwork for album 'Neues aus Plattengülle - Volume 6' by Neues aus Plattengülle 00:06:58 WARNING can't find artwork for album 'Keine Faxen mehr' by Zoff 00:06:58 WARNING can't find artwork for album 'Volume 10' by Günther, der Treckerfahrer 00:06:58 WARNING can't find artwork for album 'Weihnachtsreise' by Nena 00:06:58 WARNING can't find artwork for album 'Werder Bremen' by Deutschmacher Segmentation fault (Speicherabzug geschrieben)
Hi, (In reply to Heiko Adams from comment #5) > (gnome-music:2076): Grilo-WARNING **: [lua-library] grl-lua-library.c:532: > calling source callback function fail: (null) This is likely the issue although I'm not yet sure how this has happened yet. > Segmentation fault (Speicherabzug geschrieben) The segmentation fault happens elsewhere and it could give a good hint of the problem(s). A proper backtrace would be great. Could you check if you can reproduce the crash with grilo-test-ui-0.3? If yes, link from Comment #2 can help provide the backtrace!
I hope that helps: (grilo-test-ui-0.3:28126): Grilo-WARNING **: [lua-library] grl-lua-library.c:1280: This Lyrics do not match our parser! Please file a bug! (grilo-test-ui-0.3:28126): Grilo-WARNING **: [lua-library] grl-lua-library.c:496: Can't fetch element 1 (URL: https://api.spotify.com/v1/search?q=album:http%3A%2F%2Fwww.sharoncorr.com+artist:Sharon%20Corr&type=album&limit=1): 'Die angeforderte Ressource wurde nicht gefunden: Not Found' (grilo-test-ui-0.3:28126): Grilo-WARNING **: [lua-library] grl-lua-library.c:532: calling source callback function fail: (null) Thread 1 "grilo-test-ui-0" received signal SIGSEGV, Segmentation fault. 0x00007ffff5662ffc in g_slice_alloc () from /lib64/libglib-2.0.so.0
*** Bug 764932 has been marked as a duplicate of this bug. ***
Hey, it would be great if you could test with upstream to verify if it was fixed or not. I've just pushed this patch [0] that could be root cause for this bug. [0] https://git.gnome.org/browse/grilo-plugins/commit/?id=c30ada523fd662ad5e20027ea168071fc604d70c
In needinfo for a few months now and as per comment #9, this seems to be solved. *** This bug has been marked as a duplicate of bug 764814 ***