Xfce Bug Tracker

Sub domains
 
Parole segmentation fault related to gtk3/clutter/cogl update
Status:
NEW
Priority:
Medium
Severity:
normal

Comments

Description ToZ editbugs 2015-04-16 00:41:16 CEST
Since a recent update in Arch Linux to gtk3/clutter/cogl, parole (built from git) segfaults when the clutter backend is enabled. Not using the "--enable-clutter" configuration parameter makes parole work again. This is probably related to clutter migration to gdk backend (from x11)- see: https://blogs.gnome.org/clutter/

configure script results:

        Parole Media Player 0.8.0git.6eecaeb
        ====================================

        Installation:
        =============
        prefix:                         /usr
        pixmapsdir:                     /usr/share/parole/pixmaps
        Debug:                          no
        Building plugin api docs:       yes
        GStreamer API version:          1.0
        GTK+ version:                   GTK+-3

        Optional dependencies:
        ======================
        Clutter Backend:                yes
        Taglib:                         yes

        Plugins to build:
        =================
        Notify:                         yes
        System Tray icon:               yes
        MPRIS2:                         yes



CLI output:
	(parole:16161): Clutter-CRITICAL **: Unable to check features. Have you initialized Clutter?

	(parole:16161): Clutter-CRITICAL **: Unable to check features. Have you initialized Clutter?

	(parole:16161): Clutter-WARNING **: Missing Cogl context: was Clutter correctly initialized?


STRACE output (last bit):
	write(2, "\n(parole:16388): Clutter-CRITICA"..., 94
	(parole:16388): Clutter-CRITICAL **: Unable to check features. Have you initialized Clutter?
	) = 94
	futex(0x7faa52f62568, FUTEX_WAKE_PRIVATE, 2147483647) = 0
	write(2, "\n(parole:16388): Clutter-CRITICA"..., 94
	(parole:16388): Clutter-CRITICAL **: Unable to check features. Have you initialized Clutter?
	) = 94
	write(2, "\n(parole:16388): Clutter-WARNING"..., 94
	(parole:16388): Clutter-WARNING **: Missing Cogl context: was Clutter correctly initialized?
	) = 94
	futex(0x7faa52f62568, FUTEX_WAKE_PRIVATE, 2147483647) = 0
	futex(0x7faa52f62568, FUTEX_WAKE_PRIVATE, 2147483647) = 0
	futex(0x7faa52f62568, FUTEX_WAKE_PRIVATE, 2147483647) = 0
	futex(0x7faa52f62568, FUTEX_WAKE_PRIVATE, 2147483647) = 0
	futex(0x7faa52f62568, FUTEX_WAKE_PRIVATE, 2147483647) = 0
	--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xd8} ---
	+++ killed by SIGSEGV (core dumped) +++
	Segmentation fault (core dumped)


GDB output:
	(parole:16947): Clutter-CRITICAL **: Unable to check features. Have you initialized Clutter?

	(parole:16947): Clutter-CRITICAL **: Unable to check features. Have you initialized Clutter?

	(parole:16947): Clutter-WARNING **: Missing Cogl context: was Clutter correctly initialized?
	[New Thread 0x7fffe6d7b700 (LWP 16957)]
	[New Thread 0x7fffe8393700 (LWP 16956)]

	Program received signal SIGSEGV, Segmentation fault.
	0x00007ffff4eafa71 in cogl_pipeline_new () from /usr/lib/libcogl.so.20


GDB Backtrace:
	#0  0x00007ffff4eafa71 in cogl_pipeline_new () from /usr/lib/libcogl.so.20
	#1  0x00007ffff56113f5 in ?? () from /usr/lib/libclutter-1.0.so.0
	#2  0x00007ffff0ae6f49 in g_type_create_instance ()
	   from /usr/lib/libgobject-2.0.so.0
	#3  0x00007ffff0aca2d8 in ?? () from /usr/lib/libgobject-2.0.so.0
	#4  0x00007ffff5588dfb in ?? () from /usr/lib/libclutter-1.0.so.0
	#5  0x00007ffff0aca631 in ?? () from /usr/lib/libgobject-2.0.so.0
	#6  0x00007ffff0acc685 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
	#7  0x00007ffff0acc9c1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
	#8  0x0000000000425791 in parole_clutter_init (clutter=0x864ef0)
	    at parole-clutter.c:337
	#9  0x00007ffff0ae6f49 in g_type_create_instance ()
	   from /usr/lib/libgobject-2.0.so.0
	#10 0x00007ffff0aca847 in ?? () from /usr/lib/libgobject-2.0.so.0
	#11 0x00007ffff0acc685 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
	#12 0x00007ffff0acc9c1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
	#13 0x000000000042581d in parole_clutter_new (conf_obj=0xa8e180)
	    at parole-clutter.c:349
	#14 0x000000000041a129 in parole_player_init (player=0xad02b0)
	    at parole-player.c:3687
	#15 0x00007ffff0ae6f49 in g_type_create_instance ()
	   from /usr/lib/libgobject-2.0.so.0
	#16 0x00007ffff0aca847 in ?? () from /usr/lib/libgobject-2.0.so.0
	#17 0x00007ffff0acc685 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
	#18 0x00007ffff0acc9c1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
	#19 0x000000000041b80d in parole_player_new (client_id=0x0)
	    at parole-player.c:3811
	#20 0x0000000000414fbb in main (argc=1, argv=0x7fffffffe988) at main.c:344


Packages:
	Name           : clutter
	Version        : 1.22.0-2 (upgrade from 1.20.0-4)

	Name           : gtk3
	Version        : 3.16.2-1 (upgrade from 3.14.9-1)

	Name           : cogl (upgrade from 1.18.2-1)
	Version        : 1.20.0-1

	Name           : clutter-gst (upgrade from 2.0.14-4)
	Version        : 3.0.4-1

	Name           : clutter-gtk (upgrade from 1.6.0-1)
	Version        : 1.6.0-2

Kernel:
	Linux archer 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 x86_64 GNU/Linux
Comment 1 Simon Steinbeiss editbugs 2015-07-16 12:35:34 CEST
*** Bug 11965 has been marked as a duplicate of this bug. ***
Comment 2 Jackson Doak 2015-07-17 03:46:18 CEST
Reverting to the old backends fixes this, see https://bugzilla.gnome.org/show_bug.cgi?id=743085
Comment 3 ToZ editbugs 2015-07-17 17:31:47 CEST
Updates to clutter (1.22.4-1) and clutter-gtk (1.6.2-1) have not fixed the issue for me. Also, I don't have an nvidia card but an Intel one. I'm currently building parole without the --enable-clutter parameter for it to work.

Forcing the x11 clutter backend via "CLUTTER_BACKEND=x11 parole" does not work either.
Comment 4 Simon Steinbeiss editbugs 2015-07-27 14:49:46 CEST
@Toz: What Jackson meant was switching to either the X11 or XV backend in Parole, not clutter itself.

You can do this for instance from the command line (or xfce4-settings-editor):
xfconf-query -c parole -p /video/videosink -s "xv"
Comment 5 Jackson Doak 2015-07-31 22:45:43 CEST
Reverting clutter's backend change will also fix this issue, at least for me
Note You need to log in before you can comment on or make changes to this bug.

Bug #11825

Reported by:
ToZ
Reported on: 2015-04-16
Last modified on: 2017-07-08 Show history
Duplicates (1):
  • 11965 Starts with blank screen

view as bug list

People

Assignee:
Simon Steinbeiss
CC List:
8 users show

Version

Version:
unspecified

Attachments

Additional information