Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 584120

Summary: [gnome-overlay] media-video/totem-3.20.0 crashes: Totem:ERROR:totem-grilo.c:700:browse_cb: code should not be reached
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 578452    

Description Kobboi 2016-05-25 18:33:32 UTC
$ totem

(totem:7048): Grilo-WARNING **: [dleyna] grl-dleyna-servers-manager.c:138: Unable to fetch the list of available servers: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.intel.dleyna-server was not provided by any .service files

(totem:7048): Grilo-CRITICAL **: grl_source_resolve: assertion 'GRL_IS_SOURCE (source)' failed

(totem:7048): Grilo-CRITICAL **: grl_source_resolve: assertion 'GRL_IS_SOURCE (source)' failed

(totem:7048): Grilo-CRITICAL **: grl_source_resolve: assertion 'GRL_IS_SOURCE (source)' failed

(totem:7048): Grilo-CRITICAL **: grl_source_resolve: assertion 'GRL_IS_SOURCE (source)' failed

(totem:7048): Grilo-CRITICAL **: grl_source_resolve: assertion 'GRL_IS_SOURCE (source)' failed
(...)

(totem:7048): Grilo-CRITICAL **: grl_source_resolve: assertion 'GRL_IS_SOURCE (source)' failed

(totem:7048): Grilo-CRITICAL **: grl_source_resolve: assertion 'GRL_IS_SOURCE (source)' failed

(totem:7048): Grilo-CRITICAL **: grl_source_resolve: assertion 'GRL_IS_SOURCE (source)' failed

(totem:7048): Grilo-CRITICAL **: grl_source_resolve: assertion 'GRL_IS_SOURCE (source)' failed
**
Totem:ERROR:totem-grilo.c:700:browse_cb: code should not be reached
Aborted (core dumped)
Comment 1 Kobboi 2016-05-25 18:33:42 UTC
$ eix -e totem
[I] media-video/totem
     Available versions:  3.16.4 3.18.1 (~)3.20.0{tbz2}[1] **9999[1] {debug doc +introspection lirc nautilus +python test vala zeitgeist PYTHON_TARGETS="python2_7"}
     Installed versions:  3.20.0{tbz2}[1](22:12:59 24/05/16)(introspection nautilus python -debug -lirc -test -zeitgeist PYTHON_TARGETS="python2_7")
     Homepage:            https://wiki.gnome.org/Apps/Videos
     Description:         Media player for GNOME

[1] "gnome" /var/lib/layman/gnome
Comment 2 Kobboi 2016-05-25 18:36:37 UTC
$ eix grilo
[I] media-libs/grilo
     Available versions:  
     (0.2)  0.2.12(0.2/1) (~)0.2.14(0.2/1) 0.2.15(0.2/1){tbz2}
     (0.3)  (~)0.3.0(0.3/0){tbz2}[1]
       {examples gtk +introspection +network playlist test vala}
     Installed versions:  0.2.15(0.2){tbz2}(16:11:12 17/04/16)(examples gtk introspection network playlist -test -vala) 0.3.0(0.3/0){tbz2}[1](15:39:24 16/05/16)(examples gtk introspection network playlist -test -vala)
     Homepage:            https://wiki.gnome.org/Projects/Grilo
     Description:         A framework for easy media discovery and browsing

[I] media-plugins/grilo-plugins
     Available versions:  
     (0.2)  ~*0.2.12 0.2.14 (~)0.2.16 0.2.17{tbz2}
     (0.3)  (~)0.3.0{tbz2}[1]
       {daap +dvd examples flickr freebox gnome-online-accounts lua pocket subtitles thetvdb tracker upnp-av +vimeo +youtube}
     Installed versions:  0.2.17(0.2){tbz2}(16:42:00 17/04/16)(dvd gnome-online-accounts tracker upnp-av vimeo youtube -daap -flickr -freebox -lua -subtitles -thetvdb) 0.3.0(0.3){tbz2}[1](15:39:57 16/05/16)(dvd examples flickr gnome-online-accounts tracker upnp-av vimeo youtube -daap -freebox -lua -subtitles -thetvdb)
     Homepage:            https://wiki.gnome.org/Projects/Grilo
     Description:         A framework for easy media discovery and browsing

[1] "gnome" /var/lib/layman/gnome
Comment 3 Kobboi 2016-05-25 18:41:45 UTC
Thread 1 "totem" received signal SIGABRT, Aborted.
0x00007ffff609f1b8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0  0x00007ffff609f1b8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff60a060a in __GI_abort () at abort.c:89
#2  0x00007ffff6690935 in g_assertion_message (domain=domain@entry=0x7ffff7bba1db "Totem", file=file@entry=0x7ffff7bbce96 "totem-grilo.c", 
    line=line@entry=700, func=func@entry=0x7ffff7bbd678 <__func__.67126> "browse_cb", message=message@entry=0x1d62c20 "code should not be reached")
    at /usr/src/debug/dev-libs/glib-2.48.0-r1/glib-2.48.0/glib/gtestutils.c:2429
#3  0x00007ffff66909ca in g_assertion_message_expr (domain=domain@entry=0x7ffff7bba1db "Totem", file=file@entry=0x7ffff7bbce96 "totem-grilo.c", 
    line=line@entry=700, func=func@entry=0x7ffff7bbd678 <__func__.67126> "browse_cb", expr=expr@entry=0x0)
    at /usr/src/debug/dev-libs/glib-2.48.0-r1/glib-2.48.0/glib/gtestutils.c:2452
#4  0x00007ffff7b97c50 in browse_cb (source=0xefca90, browse_id=<optimized out>, media=0x18373d0, remaining=4294967069, user_data=0x7be000, 
    error=<optimized out>) at totem-grilo.c:700
#5  0x00007ffff3a277a7 in ?? () from /usr/lib64/libgrilo-0.3.so.0
#6  0x00007ffff666ad2a in g_main_dispatch (context=0x61a9f0) at /usr/src/debug/dev-libs/glib-2.48.0-r1/glib-2.48.0/glib/gmain.c:3154
#7  g_main_context_dispatch (context=context@entry=0x61a9f0) at /usr/src/debug/dev-libs/glib-2.48.0-r1/glib-2.48.0/glib/gmain.c:3769
#8  0x00007ffff666b0d0 in g_main_context_iterate (context=context@entry=0x61a9f0, block=block@entry=1, dispatch=dispatch@entry=1, 
    self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.48.0-r1/glib-2.48.0/glib/gmain.c:3840
#9  0x00007ffff666b17c in g_main_context_iteration (context=context@entry=0x61a9f0, may_block=may_block@entry=1)
    at /usr/src/debug/dev-libs/glib-2.48.0-r1/glib-2.48.0/glib/gmain.c:3901
#10 0x00007ffff6c5ecfd in g_application_run (application=0x6201a0, argc=argc@entry=1, argv=argv@entry=0x7fffffffe118)
    at /usr/src/debug/dev-libs/glib-2.48.0-r1/glib-2.48.0/gio/gapplication.c:2381
#11 0x0000000000400da8 in main (argc=1, argv=0x7fffffffe118) at totem.c:83
Comment 4 Kobboi 2016-05-25 18:52:29 UTC
                if (grl_media_is_image (media) ||
                    grl_media_is_audio (media)) {
                        /* This isn't supposed to happen as we filter for videos */
                        g_assert_not_reached ();
                }
Comment 5 Kobboi 2016-05-25 20:12:45 UTC
Maybe not so valuable information: it only crashes when I compile grilo-plugins with USE=tracker (checked all USE flags)

$ eix -e tracker
[I] app-misc/tracker
     Available versions:  1.6.1(0/100){tbz2} (~)1.6.2(0/100){tbz2} (~)1.8.0(0/100){tbz2}[1] {cue eds exif ffmpeg firefox-bookmarks flac gif gsf gstreamer gtk iptc +iso +jpeg libav +miner-fs mp3 nautilus networkmanager pdf playlist rss stemmer test thunderbird +tiff upnp-av upower +vorbis +xml xmp xps ELIBC="glibc"}
     Installed versions:  1.8.0(0/100){tbz2}[1](22:11:25 24/05/16)(exif ffmpeg flac gif gtk iso jpeg miner-fs mp3 nautilus pdf tiff upower vorbis xml -cue -eds -firefox-bookmarks -gsf -gstreamer -iptc -libav -networkmanager -playlist -rss -stemmer -test -thunderbird -upnp-av -xmp -xps ELIBC="glibc")
     Homepage:            https://wiki.gnome.org/Projects/Tracker
     Description:         A tagging metadata database, search tool and indexer

[1] "gnome" /var/lib/layman/gnome
Comment 6 Pacho Ramos gentoo-dev 2016-07-02 16:54:43 UTC
3.20.1 from the main tree works fine for me, please try