Bug#600312: listen: Crashes on startup (with GStreamer criticals)

2010-10-15 Thread Colomban Wendling
Reports on PiTiVi and Exaile are respectively #600313 and #600316

Ah, and Listen have been seen working on an amd64 Testing system today
(not sure what we can assume from this, but anyway, it's an info).



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#600312: listen: Crashes on startup (with GStreamer criticals)

2010-10-15 Thread Colomban Wendling
Package: listen
Version: 0.6.5-5
Severity: important


listen crashes on startup with the following GStreamer criticals:

=== start ===
(listen:19585): GStreamer-CRITICAL **: 
Trying to dispose object "sink", but it still has a parent "filterbin".
You need to let the parent manage the object instead of unreffing the object 
directly.


(listen:19585): GStreamer-CRITICAL **: 
Trying to dispose object "src", but it still has a parent "filterbin".
You need to let the parent manage the object instead of unreffing the object 
directly.
=== end ===

This bug seems not to be exactly in Listen since Pitivi and Exaile
suffers of similar ones (but I'm starting with this one), but since I'm
unable to find which package is incriminated, I send it here.
It seems to happen with some(?) python apps that use GStreamer.
However GStreamer seems to work fine since Totem or Rhythmbox don't
have any problems of this kind.

Below is the backtarce (with extra details on the environment):

=== Backtrace starts ===

~ $ cat /usr/bin/listen 
#!/bin/sh
###
#
# Listen is the legal property of mehdi abaakouk 
# Copyright (c) 2006 Mehdi Abaakouk
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
###

export LISTEN_LIBRARY_PATH="/usr/lib/listen"
export LISTEN_DATA_PATH="/usr/share/listen"
export LISTEN_VERSION="0.6.5"

cd $LISTEN_LIBRARY_PATH && exec python listen "$@"

~ $ export LISTEN_LIBRARY_PATH="/usr/lib/listen"
~ $ export LISTEN_DATA_PATH="/usr/share/listen"
~ $ export LISTEN_VERSION="0.6.5"
~ $ cd $LISTEN_LIBRARY_PATH
/usr/lib/listen $ LANG=C gdb python
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/bin/python...Reading symbols from 
/usr/lib/debug/usr/bin/python2.6...done.
done.
(gdb) r listen
Starting program: /usr/bin/python listen
[Thread debugging using libthread_db enabled]
/usr/lib/pymodules/python2.6/musicbrainz2/model.py:21: DeprecationWarning: the 
sets module is deprecated
  from sets import Set
[New Thread 0x7fffe3a87710 (LWP 19590)]
[New Thread 0x7fffe3286710 (LWP 19591)]

(listen:19585): GStreamer-CRITICAL **: 
Trying to dispose object "sink", but it still has a parent "filterbin".
You need to let the parent manage the object instead of unreffing the object 
directly.


(listen:19585): GStreamer-CRITICAL **: 
Trying to dispose object "src", but it still has a parent "filterbin".
You need to let the parent manage the object instead of unreffing the object 
directly.


Program received signal SIGSEGV, Segmentation fault.
0x7fffe6f01e0d in gst_proxy_pad_set_target (pad=0x0, target=0x1a4eac0) at 
gstghostpad.c:338
338 gstghostpad.c: No such file or directory.
in gstghostpad.c
(gdb) bt
#0  0x7fffe6f01e0d in gst_proxy_pad_set_target (pad=0x0, target=0x1a4eac0) 
at gstghostpad.c:338
#1  0x7fffe6f01f3a in gst_ghost_pad_do_link (pad=0x1be81c0, peer=0x1a4eac0) 
at gstghostpad.c:646
#2  0x7fffe6f15734 in gst_pad_link_full (srcpad=0x1a4eac0, 
sinkpad=0x1be81c0, flags=5) at gstpad.c:2071
#3  0x7fffe6f444d9 in pad_link_maybe_ghosting (src=, 
sink=0x1be81c0, flags=) at gstutils.c:1543
#4  0x7fffe6f45e0d in gst_element_link_pads_full (src=0x1be0080, 
srcpadname=, dest=0x1a34170, destpadname=, flags=) at gstutils.c:1693
#5  0x7fffe7a62234 in _wrap_gst_element_link_many (self=, args=
(<__main__.GstCapsFilter at remote 0x19f4460>, <__main__.GstAudioConvert at 
remote 0x19f44b0>, <__main__.GstAudioResample at remote 0x19f4500>, 
<__main__.GstTee at remote 0x19f45f0>, <__main__.GstVolume at remote 
0x19f4690>, , <__main__.GstAudioConvert at remote 
0x19f4550>, <__main__.GstAudioResample at remote 0x19f45a0>, <__main__.GstQueue 
at remote 0x19f4640>, <__main__.GstGConfAudioSink at remote 0x19f4730>))
at gstelement.override:145
#6  0x004a7ba5 in call_function (f=
Frame 0x19dacb0, for file /usr/lib/listen/player/fadebin.py, line 296, in 
__init__ (self=, tick_timeout_id=None, _PlayerBin__stream_reap_id=None, 
_PlayerBin__sink=<__main__.GstGConfAudioSink at remote 0x19f47