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 780193 - inspecting clutter plugin hangs outside X11
inspecting clutter plugin hangs outside X11
Status: RESOLVED FIXED
Product: clutter-gst
Classification: Other
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: clutter-gst-maint
clutter-gst-maint
Depends on:
Blocks:
 
 
Reported: 2017-03-17 12:23 UTC by Albert Astals Cid
Modified: 2017-03-29 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Albert Astals Cid 2017-03-17 12:23:53 UTC
To reproduce:
- log in on vt (with no graphical session)
- rm ~/.cache/gstreamer-1.0/registry.x86_64.bin
- gst-inspect-1.0

This came from https://bugs.launchpad.net/canonical-devices-system-image/+bug/1525285
Comment 1 Lionel Landwerlin 2017-03-17 13:50:55 UTC
I tried the same on my debian laptop, I can't reproduce the crash.
Any way you could provide a backtrace to see where gst-inspect is blocked?
Comment 2 Lionel Landwerlin 2017-03-17 13:51:15 UTC
s/crash/hang/
Comment 3 Albert Astals Cid 2017-03-17 14:24:19 UTC
gst-inspect spawns gst-plugin-scanner and gst-plugin-scanner gets stuck at http://paste.ubuntu.com/24195519/

But now that i look at it maybe this is actually a bug in the gdk/mir code, because it's true that this only happens if the user i'm running has mir running.
Comment 4 Lionel Landwerlin 2017-03-17 14:29:06 UTC
Thanks, reassigning to Gtk+/mir.
Comment 5 Michał Sawicz 2017-03-20 11:12:13 UTC
I suppose the question is: why is clutter-gst (libclutter?) connecting to a display server in the first place? It can do without it, as proven by the fact that when Mir is *not* running, it completes fine?

Could clutter-gst invoke libclutter in a way that avoids it connecting to the display?
Comment 6 Michał Sawicz 2017-03-20 11:26:28 UTC
Also, no other gstreamer plugin exhibits this behaviour (connecting to a display server on inspection), so I disagree with this being a Gtk+/Mir bug.
Comment 7 Lionel Landwerlin 2017-03-22 13:53:34 UTC
Thanks Michał, indeed it seems we should modify clutter-gst to not open any display when inspecting the plugins.
I'll try to experiment with this soonish.
Comment 8 Lionel Landwerlin 2017-03-29 21:28:04 UTC
Fixed on the 3.0 branch.
Will release a new tarball shortly.
Thanks!