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 764291 - gnome-music crashes if spotify resource not available
gnome-music crashes if spotify resource not available
Status: RESOLVED DUPLICATE of bug 764814
Product: grilo
Classification: Other
Component: lua
0.3.x
Other Linux
: Normal major
: ---
Assigned To: grilo-maint
grilo-maint
: 764932 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-03-28 19:29 UTC by Heiko Adams
Modified: 2016-10-22 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace of gnome-music (876.00 KB, text/plain)
2016-03-28 22:11 UTC, Heiko Adams
Details

Description Heiko Adams 2016-03-28 19:29: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'
Comment 1 Heiko Adams 2016-03-28 19:33:24 UTC
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)
Comment 2 Victor Toso 2016-03-28 21:05:47 UTC
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
Comment 3 Heiko Adams 2016-03-28 21:23:32 UTC
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/
Comment 4 Victor Toso 2016-03-28 21:50:29 UTC
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 ;)
Comment 5 Heiko Adams 2016-03-28 22:11:48 UTC
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)
Comment 6 Victor Toso 2016-03-29 22:51:44 UTC
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!
Comment 7 Heiko Adams 2016-03-30 19:11:03 UTC
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
Comment 8 Victor Toso 2016-04-12 08:22:05 UTC
*** Bug 764932 has been marked as a duplicate of this bug. ***
Comment 9 Victor Toso 2016-04-29 12:34:43 UTC
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
Comment 10 Victor Toso 2016-10-22 12:25:29 UTC
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 ***