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 773329 - Music crashes with DNS connectivity problem with spotify
Music crashes with DNS connectivity problem with spotify
Status: RESOLVED DUPLICATE of bug 771338
Product: grilo
Classification: Other
Component: general
0.3.x
Other Linux
: Normal major
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2016-10-21 18:48 UTC by Baptiste Mille-Mathias
Modified: 2016-10-21 20:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Baptiste Mille-Mathias 2016-10-21 18:48:54 UTC
as the event of a DNS failure (today this is the Dyn DNS service current attack), Music crashes.


(gnome-music:18244): Grilo-WARNING **: [lua-library] grl-lua-library.c:504: Can't fetch element 1 (URL: https://api.spotify.com/v1/search?q=album:Bring%20on%20the%20Night%20%28CD%201%29+artist:Sting&type=album&limit=1): 'Data not available'

(gnome-music:18244): Grilo-WARNING **: [lua-library] grl-lua-library.c:504: Can't fetch element 1 (URL: https://api.spotify.com/v1/search?q=album:Bring%20on%20the%20Night%20%28CD%202%29+artist:Sting&type=album&limit=1): 'Data not available'
**
ERROR:grl-net-wc.c:730:get_url_cb: assertion failed: (c == d)
Abandon (core dumped)

curl 'https://api.spotify.com/v1/search?q=album:Bring%20on%20the%20Night%20%28CD%202%29+artist:Sting&type=album&limit=1'
curl: (6) Could not resolve host: api.spotify.com

Music should handle that gracefully
Comment 1 Marinus Schraal 2016-10-21 18:57:56 UTC
Not really, it's a core dump in grilo.

And the problem is not the dns but the grl-net-wc line, probably a dupe of bug #771338 but I let the grilo devs decide.
Comment 2 Victor Toso 2016-10-21 20:36:29 UTC
(In reply to Marinus Schraal from comment #1)
> Not really, it's a core dump in grilo.
> 
> And the problem is not the dns but the grl-net-wc line, probably a dupe of
> bug #771338 but I let the grilo devs decide.

Yes, you are right.

The commit that fixes the issue is:
https://git.gnome.org/browse/grilo/commit/?id=ca91b2823643aa963837776a82147693e448c6cc

*** This bug has been marked as a duplicate of bug 771338 ***