Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#26198 - [GNOME 3.2] Totem crashes on start (SEGFAULT)

Attached to Project: Arch Linux
Opened by Matteo Drera (seven.issimo) - Sunday, 02 October 2011, 11:11 GMT
Last edited by Ionut Biru (wonder) - Monday, 03 October 2011, 19:48 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Totem crashes instantly after startup.

Clutter/Cogl is probably the cause in conjunction with the Nouveau driver.

GNOME3 is running in fallback mode.


Additional info:
* package version(s):
- extra/totem 3.2.0-2
- testing/clutter 1.8.0-1
- testing/clutter-gtk 1.0.4-1
- extra/cogl 1.8.0-1

* totem output:
(totem:2259): Clutter-CRITICAL **: Unable to initialize Clutter: Unable to find suitable fbconfig for the GLX context: Unable to find fbconfig with rgba visual

(totem:2259): Clutter-WARNING **: Unable to create a new stage: the glx backend does not support multiple stages.

(totem:2259): GLib-GObject-CRITICAL **: g_object_set_data: assertion `G_IS_OBJECT (object)' failed

(totem:2259): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(totem:2259): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(totem:2259): Clutter-CRITICAL **: clutter_stage_set_color: assertion `CLUTTER_IS_STAGE (stage)' failed
Segmentation fault.


* hardware (as reported by lspci & glxinfo):
- 01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 420] (rev a3)
- OpenGL vendor string: Nouveau
- OpenGL renderer string: Mesa DRI nv17 x86/MMX/SSE2
- OpenGL version string: 1.2 Mesa 7.11
- direct rendering: Yes


Steps to reproduce:
- Try to start totem.
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 03 October 2011, 19:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  clutter-gst 1.4.2
Comment by Ionut Biru (wonder) - Sunday, 02 October 2011, 11:44 GMT Comment by Matteo Drera (seven.issimo) - Sunday, 02 October 2011, 16:52 GMT
I'm currently trying to recompile Totem, but no luck.

$ makepkg -s
.................
make all-recursive
make[1]: Entering directory `/home/sevenissimo/Devel/DEBUG/totem/src/totem-3.2.0'
Making all in lib
make[2]: Entering directory `/home/sevenissimo/Devel/DEBUG/totem/src/totem-3.2.0/lib'
CC libtotemscrsaver_la-totem-scrsaver.lo
totem-scrsaver.c:31:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.


This happens with both official testing/gtk package and recompiled one (with debugging symbols enabled).

Obviously the file exists (/usr/include/gtk-3.0/gtk/gtk.h) and Totem's configure script completes without any error.
$ pkg-config --cflags --libs gtk+-3.0
-DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0


Am I missing something?
Comment by Ionut Biru (wonder) - Sunday, 02 October 2011, 17:05 GMT
hmm no idea. i build packages in clean chroots and maybe is picking something on your system fishy.

grab the packages from here with debug:
http://pkgbuild.com/~ioni/
Comment by Matteo Drera (seven.issimo) - Sunday, 02 October 2011, 18:58 GMT
@wonder: Thank you for pre-compiled packages.

I finally got a trace, but is rather incomplete (however it's attached here).

So I tried to recompile clutter package but a there's a configure error:
configure: error: Package requirements (cogl-1.0 >= 1.8.0 cairo-gobject >= 1.10 atk >= 2.1.5 pangocairo >= 1.20 cogl-pango-1.0 json-glib-1.0 >= 0.12.0 gl libdrm pangoft2 x11 xext xfixes >= 3 xdamage xcomposite >= 0.4 xi) were not met:
No package 'cogl-1.0' found

Indeed pkg-config can't find both cogl-1.0 or cogl-1.8 in search path.

But cogl-1.8 package is installed from extra:
$ pacman -Ss cogl
extra/cogl 1.8.0-1 [installed]
Comment by Ionut Biru (wonder) - Sunday, 02 October 2011, 19:24 GMT
reinstall cogl, maybe you forced an update and you lost files
Comment by Ionut Biru (wonder) - Sunday, 02 October 2011, 19:26 GMT
use pacman -Qo on each soname which has incomplete trace and recompile the packages.

i'm not sure if is a cogl issue or a dconf database corruption issue.
Comment by Balló György (City-busz) - Sunday, 02 October 2011, 20:50 GMT
I have exactly the same issue with nouveau classic mesa driver.

1. Downgrade clutter-gst from 1.4.0-1 to 1.3.14-1 solve the segmentation fault in totem.
2. Export CLUTTER_DISABLE_ARGB_VISUAL=1 before running totem solve playing videos, however the performance is very bad.

It seems that something missing or broken in nouveau driver, because I have to export CLUTTER_DISABLE_ARGB_VISUAL=1 for most of clutter-based apps also (cheese, empathy, gnibbles, gnome-documents, quadrapassel, sushi) to fully functional. However there are still some rendering issues, which may be fixed in linux-3.1 DRM driver.
Comment by Ionut Biru (wonder) - Sunday, 02 October 2011, 20:53 GMT
care to let clutter-gst developers know about this problem ?
Comment by Balló György (City-busz) - Monday, 03 October 2011, 00:52 GMT
Yes, now I found the faulty commit, and reported this bug to upstream with a proposed patch:
https://bugzilla.gnome.org/show_bug.cgi?id=660732
Comment by Ionut Biru (wonder) - Monday, 03 October 2011, 12:46 GMT
i pushed clutter-gst 1.4.2. let me know if is fixing your problem
Comment by Balló György (City-busz) - Monday, 03 October 2011, 15:40 GMT
Yes, it's fixed the problem for me.

Loading...