GNOME Bugzilla – Bug 754451
Opensubtitles plugin causes many warnings
Last modified: 2015-09-02 13:03:16 UTC
GNOME Music produces many warnings during startup: (gnome-music:23156): Grilo-CRITICAL **: grl_data_has_key: assertion 'GRL_IS_DATA (data)' failed (gnome-music:23156): Grilo-CRITICAL **: grl_data_has_key: assertion 'GRL_IS_DATA (data)' failed (gnome-music:23156): Grilo-CRITICAL **: grl_data_has_key: assertion 'GRL_IS_DATA (data)' failed It seems to be caused by opensubtitles plugin: Breakpoint 1, g_log (log_domain=0x7fffe4bff7b3 "Grilo", log_level=G_LOG_LEVEL_CRITICAL, format=0x7fffef29e43d "%s: assertion '%s' failed") at gmessages.c:1107 1107 { (gdb) t [Current thread is 1 (Thread 0x7ffff7fd3700 (LWP 27819))] (gdb) bt
+ Trace 235412
*** Bug 754447 has been marked as a duplicate of this bug. ***
The backtrace is too short. Why is expand_operation_keys() being called with a NULL GrlMedia?
STR: jhbuild run gdb -ex 'b grl_opensubtitles_source_may_resolve' -ex 'r' --args python3 ./gnome-music result: Breakpoint 1, grl_opensubtitles_source_may_resolve (source=0x90e5c0, media=0x0, key_id=26, missing_keys=0x7fffffffc0a8) at grl-opensubtitles.c:548 548 { (gdb) bt
+ Trace 235413
Created attachment 310490 [details] [review] opensubtitles: Fix warnings running gnome-music When running gnome-music, grl_source_query() will call expand_operation_keys() to try and find which sources could help add metadata.
Review of attachment 310490 [details] [review]: ::: src/opensubtitles/grl-opensubtitles.c @@ +568,3 @@ } + if (!media || !GRL_IS_MEDIA_VIDEO (media)) This is not necessary as it is covered by the if (!media || ...) above Looks fine other than that
Created attachment 310492 [details] [review] opensubtitles: Fix warnings running gnome-music When running gnome-music, grl_source_query() will call expand_operation_keys() to try and find which sources could help add metadata.
Attachment 310492 [details] pushed as 5a43255 - opensubtitles: Fix warnings running gnome-music