Package: gcompris
Version: 12.01-1
Severity: important
Tags: patch

Dear Maintainer,

> What led up to the situation?

starting gcompris on PowerPPC G4 (MacMini) with no special arguments
will crash shortly after gcompris is emitting some sounds.

I guess when gcompris tries to emit several sounds like music and 
click sound through gstreamer (multiple sounds at the same time?)

> * What exactly did you do (or not do) that was effective (or ineffective)?

For now, I found two workarounds :

1. disable the sound by launching like this "gcompris -m" 
   (gcompris without sound is like playing a game without a sound ~blaster~ 
card ;-)

2. recompiling gcompris with --enable-sdlmixer, perfectly stable! The patch is 
attached
   (I guess you will not like it --> rolling back and use again libsdl-mixer)

Please note I tried uninstalling PulseAudio and install Alsa. I tried also JACK 
audio etc.
all without success.. gcompris was always crashing with gstreamer

> * What was the outcome of this action?
> * What outcome did you expect instead?

well if I compile gcompris with sdlmixer my daughter is able to play with sound 
for more than 2 minutes!

I don't know all the story why you switched from sdlmixer to gstreamer 
but please consider rollback back to sdlmixer at least for gcompris on
Wheezy (PowerPC)

Best Regards,
Guy Baconniere

TECHNICAL DETAILS

** Message: Binary relocation disabled

** (process:18779): WARNING **: exec_prefix NONE

Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started

(gcompris:18779): Gtk-CRITICAL **: IA__gtk_window_set_type_hint: assertion 
`!gtk_widget_get_mapped (GTK_WIDGET (window))' failed
package_data_dir         = /usr/share/gcompris/boards
package_skin_dir         = /usr/share/gcompris/boards/skins
package_menu_dir         = /usr/share/gcompris/boards
package_locale_dir       = /usr/share/locale
package_plugin_dir       = /usr/lib/gcompris
package_python_plugin_dir= /usr/share/gcompris/python
user_dir                 = /home/lisa/My GCompris
Infos:
   Config dir '/home/lisa/.config/.gcompris'
   Users dir '/home/lisa/My GCompris'
   Database '/home/lisa/.config/.gcompris/gcompris_sqlite.db'
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started

(gcompris:18779): GStreamer-WARNING **: 
Trying to join task 0x109eb028 from its thread would deadlock.
You cannot change the state of an element from its streaming
thread. Use g_idle_add() or post a GstMessage on the bus to
schedule the state change from the main thread.

(gcompris:18779): GStreamer-CRITICAL **: Failed to deactivate pad 
preroll_audio_src0:src, very bad

(gcompris:18779): GStreamer-WARNING **: 
Trying to join task 0x109eb028 from its thread would deadlock.
You cannot change the state of an element from its streaming
thread. Use g_idle_add() or post a GstMessage on the bus to
schedule the state change from the main thread.

(gcompris:18779): GStreamer-CRITICAL **: Failed to deactivate pad 
preroll_audio_src0:src, very bad

(gcompris:18779): GStreamer-CRITICAL **: 
Trying to dispose element preroll_audio_src0, but it is in PAUSED instead of 
the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(gcompris:18779): GStreamer-CRITICAL **: 
Trying to dispose element play, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

processor       : 0
cpu             : 7447A, altivec supported
clock           : 1416.666661MHz
revision        : 1.2 (pvr 8003 0102)
bogomips        : 83.24
timebase        : 41620907
platform        : PowerMac
model           : PowerMac10,1
machine         : PowerMac10,1
motherboard     : PowerMac10,1 MacRISC3 Power Macintosh 
detected as     : 287 (Mac mini)
pmac flags      : 00000010
L2 cache        : 512K unified
pmac-generation : NewWorld
Memory          : 1024 MB

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-4-powerpc
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcompris depends on:
ii  gcompris-data                                        12.01-1
ii  gstreamer0.10-plugins-bad [gstreamer0.10-audiosink]  0.10.23-7.1
ii  gstreamer0.10-plugins-base                           0.10.36-1.1
ii  gstreamer0.10-plugins-good [gstreamer0.10-audiosink  0.10.31-3+nmu1
ii  libatk1.0-0                                          2.4.0-2
ii  libc6                                                2.13-38
ii  libcairo2                                            1.12.2-3
ii  libfontconfig1                                       2.9.0-7.1
ii  libfreetype6                                         2.4.9-1.1
ii  libgdk-pixbuf2.0-0                                   2.26.1-1
ii  libglib2.0-0                                         2.33.12+really2.32.4-5
ii  libgstreamer0.10-0                                   0.10.36-1.2
ii  libgtk2.0-0                                          2.24.10-2
ii  libpango1.0-0                                        1.30.0-1
ii  libpython2.7                                         2.7.3-6
ii  librsvg2-2                                           2.36.1-1
ii  librsvg2-common                                      2.36.1-1
ii  libsqlite3-0                                         3.7.13-1+deb7u1
ii  libx11-6                                             2:1.5.0-1+deb7u1
ii  libxml2                                              2.8.0+dfsg1-7+nmu1
ii  python-cairo                                         1.8.8-1+b1
ii  python-gtk2                                          2.24.0-3+b1
ii  python-pysqlite2                                     2.6.3-3

gcompris recommends no packages.

Versions of packages gcompris suggests:
ii  gnucap    1:0.36~20091207-2
ii  gnuchess  6.0.2-1
ii  tuxpaint  1:0.9.21-1.1

-- no debconf information
--- debian/changelog	2012-02-02 22:34:27.000000000 +0100
+++ debian/changelog	2013-06-13 22:10:35.814237046 +0200
@@ -1,3 +1,10 @@
+gcompris (12.01-2) unstable; urgency=low
+
+  * Switch back to libsdl-mixer instead of libgstreamer to make gcompris stable again
+    with pulseaudio (on PowerPPC G4 it is stable only with no sound : gcompris -m)
+
+ -- Guy Baconniere <lordb...@gmail.com>  Thu, 13 Jun 2013 21:44:25 +0200
+
 gcompris (12.01-1) unstable; urgency=low
 
   * New upstream release based on Ubuntu packaging updates (Closes:
--- debian/control	2012-01-30 23:25:23.000000000 +0100
+++ debian/control	2013-06-13 22:07:52.232121792 +0200
@@ -3,14 +3,14 @@
 Priority: optional
 Maintainer: Yann Dirson <dir...@debian.org>
 Homepage: http://gcompris.net/
-Build-Depends: debhelper (>= 6.0.7~), dh-buildinfo, dpkg-dev (>= 1.13.19), libxml2-dev, gnuchess, texinfo, texi2html, python-dev, python-gtk2-dev, libxml-parser-perl, libxrandr-dev, libxxf86vm-dev, libsqlite3-dev, libgtk2.0-dev (>= 2.4.0), libgstreamer0.10-dev, intltool, librsvg2-dev, python-cairo-dev
+Build-Depends: debhelper (>= 6.0.7~), dh-buildinfo, dpkg-dev (>= 1.13.19), libxml2-dev, gnuchess, texinfo, texi2html, python-dev, python-gtk2-dev, libxml-parser-perl, libxrandr-dev, libxxf86vm-dev, libsqlite3-dev, libgtk2.0-dev (>= 2.4.0), libsdl-mixer1.2-dev, intltool, librsvg2-dev, python-cairo-dev
 Standards-Version: 3.9.2
 Vcs-git: git://git.debian.org/git/collab-maint/gcompris.git
 Vcs-browser: http://git.debian.org/?p=collab-maint/gcompris.git;a=summary
 
 Package: gcompris
 Architecture: any
-Depends: gcompris-data (= ${source:Version}), ${shlibs:Depends}, ${python:Depends}, python-pysqlite2, python-gtk2, gstreamer0.10-alsa | gstreamer0.10-audiosink, gstreamer0.10-plugins-base, gstreamer0.10-plugins-good, librsvg2-common (>= 2.18), python-cairo, ${misc:Depends}
+Depends: gcompris-data (= ${source:Version}), ${shlibs:Depends}, ${python:Depends}, python-pysqlite2, python-gtk2, libsdl-mixer1.2, librsvg2-common (>= 2.18), python-cairo, ${misc:Depends}
 Suggests: gnuchess, gnucap, tuxpaint
 Replaces: gcompris-data (<< 8.4.1)
 Description: Educational games for small children
--- debian/rules	2012-02-01 20:36:16.000000000 +0100
+++ debian/rules	2013-06-13 22:13:58.033109016 +0200
@@ -31,6 +31,7 @@
 	  --prefix=/usr --mandir=/usr/share/man \
 	  --infodir=/usr/share/info --sysconfdir=/etc \
 	  --x-libraries=/usr/lib \
+	  --enable-sdlmixer \
 	  --with-python=/usr/bin/python --enable-py-build-only \
 	  --disable-gnet
 
--- gcompris_12.01-1.dsc	2013-06-13 21:46:43.751522035 +0200
+++ gcompris_12.01-2.dsc	2013-06-13 22:16:28.036411917 +0200
@@ -2,13 +2,13 @@
 Source: gcompris
 Binary: gcompris, gcompris-dbg, gcompris-sound-af, gcompris-sound-ar, gcompris-sound-ast, gcompris-sound-bg, gcompris-sound-br, gcompris-sound-cs, gcompris-sound-da, gcompris-sound-de, gcompris-sound-el, gcompris-sound-en, gcompris-sound-eo, gcompris-sound-es, gcompris-sound-eu, gcompris-sound-fi, gcompris-sound-fr, gcompris-sound-he, gcompris-sound-hi, gcompris-sound-hu, gcompris-sound-id, gcompris-sound-it, gcompris-sound-mr, gcompris-sound-nb, gcompris-sound-nl, gcompris-sound-nn, gcompris-sound-pa, gcompris-sound-pt, gcompris-sound-ptbr, gcompris-sound-ru, gcompris-sound-sl, gcompris-sound-so, gcompris-sound-sr, gcompris-sound-sv, gcompris-sound-th, gcompris-sound-tr, gcompris-sound-ur, gcompris-sound-zhcn, gcompris-data
 Architecture: any all
-Version: 12.01-1
+Version: 12.01-2
 Maintainer: Yann Dirson <dir...@debian.org>
 Homepage: http://gcompris.net/
 Standards-Version: 3.9.2
 Vcs-Browser: http://git.debian.org/?p=collab-maint/gcompris.git;a=summary
 Vcs-Git: git://git.debian.org/git/collab-maint/gcompris.git
-Build-Depends: debhelper (>= 6.0.7~), dh-buildinfo, dpkg-dev (>= 1.13.19), libxml2-dev, gnuchess, texinfo, texi2html, python-dev, python-gtk2-dev, libxml-parser-perl, libxrandr-dev, libxxf86vm-dev, libsqlite3-dev, libgtk2.0-dev (>= 2.4.0), libgstreamer0.10-dev, intltool, librsvg2-dev, python-cairo-dev
+Build-Depends: debhelper (>= 6.0.7~), dh-buildinfo, dpkg-dev (>= 1.13.19), libxml2-dev, gnuchess, texinfo, texi2html, python-dev, python-gtk2-dev, libxml-parser-perl, libxrandr-dev, libxxf86vm-dev, libsqlite3-dev, libgtk2.0-dev (>= 2.4.0), libsdl-mixer1.2-dev, intltool, librsvg2-dev, python-cairo-dev
 Package-List: 
  gcompris deb games optional
  gcompris-data deb games optional
@@ -51,4 +51,4 @@
  gcompris-sound-zhcn deb games optional
 Files: 
  e3eb4aaa3709dadd62b4fe3c67207ee9 149465806 gcompris_12.01.orig.tar.gz
- a04c86b27094b73b0ef9c828d17a46e6 21251 gcompris_12.01-1.debian.tar.gz
+ 6d89009787f0ae3ec0a16e67835ab027 21362 gcompris_12.01-2.debian.tar.gz

Reply via email to