! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Parole segmentation fault related to gtk3/clutter/cogl update
Status:
RESOLVED: MOVED

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
Comment 6 Git Bot editbugs 2020-05-24 01:41:35 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/parole/-/issues/10.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #11825

Reported by:
ToZ
Reported on: 2015-04-16
Last modified on: 2020-05-24
Duplicates (1):

People

Assignee:
Simon Steinbeiss
CC List:
8 users

Version

Version:
unspecified

Attachments

Additional information