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 684771 - all (3d) applications using clutter dump core
all (3d) applications using clutter dump core
Status: RESOLVED DUPLICATE of bug 679439
Product: clutter
Classification: Platform
Component: general
1.12.x
Other OpenBSD
: Normal critical
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-09-25 09:58 UTC by Jasper Lievisse Adriaanse
Modified: 2012-09-25 10:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jasper Lievisse Adriaanse 2012-09-25 09:58:27 UTC
Clutter 1.12.0 (and git master with commit "actor: Fix transform-set condition" at this moment too) crash on OpenBSD. Latest glib and cogl are installed. None of the examples/tests distributed with Clutter run, and neither do any of the 'toys'.

Below is the full backtrace of the 'nyancat' toy:

axon:nyancat {1212} gdb nyancat -c nyancat.core

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.2"...
Core was generated by `nyancat'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.17.0...done.
Loaded symbols for /usr/lib/libpthread.so.17.0
Loaded symbols for /home/jasper/toys/nyancat/nyancat
Reading symbols from /usr/local/lib/libclutter-1.0.so.1.0...done.
Loaded symbols for /usr/local/lib/libclutter-1.0.so.1.0
Reading symbols from /usr/local/lib/libatk-1.0.so.20600.1...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.20600.1
Reading symbols from /usr/local/lib/libcogl-pango.so.0.1...done.
Loaded symbols for /usr/local/lib/libcogl-pango.so.0.1
Reading symbols from /usr/local/lib/libcogl.so.0.1...done.
Loaded symbols for /usr/local/lib/libcogl.so.0.1
Reading symbols from /usr/local/lib/libgmodule-2.0.so.3400.0...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.3400.0
Reading symbols from /usr/local/lib/libjson-glib-1.0.so.4.0...done.
Loaded symbols for /usr/local/lib/libjson-glib-1.0.so.4.0
Reading symbols from /usr/local/lib/libgio-2.0.so.3400.0...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.3400.0
Reading symbols from /usr/local/lib/libgdk-3.so.600.0...done.
Loaded symbols for /usr/local/lib/libgdk-3.so.600.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3200.0...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3200.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.3200.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.3200.0
Reading symbols from /usr/local/lib/libpango-1.0.so.3200.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3200.0
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.2600.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.2600.0
Reading symbols from /usr/local/lib/libcairo-gobject.so.1.0...done.
Loaded symbols for /usr/local/lib/libcairo-gobject.so.1.0
Reading symbols from /usr/local/lib/libcairo.so.12.0...done.
Loaded symbols for /usr/local/lib/libcairo.so.12.0
Reading symbols from /usr/X11R6/lib/libpixman-1.so.26.2...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.26.2
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.1.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.7.0
Reading symbols from /usr/lib/libexpat.so.10.0...done.
Loaded symbols for /usr/lib/libexpat.so.10.0
Reading symbols from /usr/X11R6/lib/libfreetype.so.18.3...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.18.3
Reading symbols from /usr/X11R6/lib/libGL.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.13.0
Reading symbols from /usr/local/lib/libpng.so.15.0...done.
Loaded symbols for /usr/local/lib/libpng.so.15.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/lib/libm.so.7.1...done.
Loaded symbols for /usr/lib/libm.so.7.1
Reading symbols from /usr/X11R6/lib/libxcb-shm.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb-shm.so.0.0
Reading symbols from /usr/X11R6/lib/libxcb-render.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb-render.so.0.0
Reading symbols from /usr/X11R6/lib/libxcb.so.2.3...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.2.3
Reading symbols from /usr/X11R6/lib/libXrender.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.5.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.3400.0...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.3400.0
Reading symbols from /usr/local/lib/libglib-2.0.so.3400.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.3400.0
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.15.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.15.1
Reading symbols from /usr/X11R6/lib/libXext.so.12.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.12.0
Reading symbols from /usr/X11R6/lib/libXdamage.so.3.1...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.3.1
Reading symbols from /usr/X11R6/lib/libXfixes.so.5.1...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.5.1
Reading symbols from /usr/X11R6/lib/libXcomposite.so.3.0...done.
Loaded symbols for /usr/X11R6/lib/libXcomposite.so.3.0
Reading symbols from /usr/X11R6/lib/libXi.so.11.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.11.1
Symbols already loaded for /usr/lib/libpthread.so.17.0
Reading symbols from /usr/lib/libc.so.66.0...done.
Loaded symbols for /usr/lib/libc.so.66.0
Reading symbols from /usr/X11R6/lib/libXinerama.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.5.0
Reading symbols from /usr/X11R6/lib/libXrandr.so.6.1...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.6.1
Reading symbols from /usr/X11R6/lib/libXcursor.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.4.0
Reading symbols from /usr/local/lib/libharfbuzz.so.0.0...done.
Loaded symbols for /usr/local/lib/libharfbuzz.so.0.0
Reading symbols from /usr/local/lib/libicule.so.5.0...done.
Loaded symbols for /usr/local/lib/libicule.so.5.0
Reading symbols from /usr/local/lib/libicuuc.so.5.0...done.
Loaded symbols for /usr/local/lib/libicuuc.so.5.0
Reading symbols from /usr/local/lib/libicudata.so.5.0...done.
Loaded symbols for /usr/local/lib/libicudata.so.5.0
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.5.0
Reading symbols from /usr/X11R6/lib/libdrm.so.2.6...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.2.6
Reading symbols from /usr/lib/libstdc++.so.55.0...done.
Loaded symbols for /usr/lib/libstdc++.so.55.0
Reading symbols from /usr/X11R6/lib/libXau.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.9.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.10.0
Reading symbols from /usr/local/lib/libffi.so.0.0...done.
Loaded symbols for /usr/local/lib/libffi.so.0.0
Reading symbols from /usr/local/lib/libgthread-2.0.so.3400.0...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.3400.0
Reading symbols from /usr/local/lib/libpcre.so.3.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.3.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/modules/dri/i965_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/i965_dri.so
Reading symbols from /usr/X11R6/lib/libdrm_intel.so.1.3...done.
Loaded symbols for /usr/X11R6/lib/libdrm_intel.so.1.3
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
  • #0 kill
    at <stdin> line 2
  • #0 kill
    at <stdin> line 2
  • #1 abort
    at /usr/src/lib/libc/stdlib/abort.c line 68
  • #2 pthread_mutex_unlock
    at /usr/src/lib/librthread/rthread_sync.c line 218
  • #3 g_mutex_unlock
    at gthread-posix.c line 227
  • #4 clutter_threads_impl_unlock
    at ./clutter-main.c line 229
  • #5 _clutter_threads_release_lock
    at ./clutter-main.c line 1282
  • #6 clutter_main
    at ./clutter-main.c line 946
  • #7 main
    at nyancat.c line 176
  • #0 kill
    at <stdin> line 2
  • #1 abort
    at /usr/src/lib/libc/stdlib/abort.c line 68
  • #2 pthread_mutex_unlock
    at /usr/src/lib/librthread/rthread_sync.c line 218
  • #3 g_mutex_unlock
    at gthread-posix.c line 227
  • #4 clutter_threads_impl_unlock
    at ./clutter-main.c line 229
  • #5 _clutter_threads_release_lock
    at ./clutter-main.c line 1282
  • #6 clutter_main
    at ./clutter-main.c line 946
  • #7 main
    at nyancat.c line 176

The full build log of clutter is attched too.

Perhaps it's relevant that PTHREAD_MUTEX_DEFAULT on OpenBSD is set to PTHREAD_MUTEX_STRICT_NP (strict error checking).
Comment 1 Emmanuele Bassi (:ebassi) 2012-09-25 10:16:34 UTC
looks like a dup of 679439.

the solution is to fix g_mutex_* to work on BSD.

*** This bug has been marked as a duplicate of bug 679439 ***