[jaunty] amd64 segfault with listen 0.6.2.0

Bug #377226 reported by Francesco Duraccio
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Listen
Fix Released
Medium
Mehdi Abaakouk
listen (Debian)
Fix Released
Unknown

Bug Description

Hi,

When try to launch listen 0.6.2-0~ppa1, occurs segmentation fault, this is what i have found in kern.log

May 16 12:39:31 odo-ds9 kernel: [ 8509.584444] python[23632]: segfault at f ip 0000000000467b8c sp 00007fff8744eb68 error 4 in python2.6[400000+2160

please if you need appport-collect, feel free to ask about this.
Thx in advance.

Related branches

Revision history for this message
Julien Valroff (julienv) wrote :

The same issue was also reported by a Debian user, using listen 0.6.1-1 and python2.5.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528853

Cheers,
Julien

Changed in listen (Debian):
status: Unknown → Incomplete
Changed in listen (Debian):
status: Incomplete → Confirmed
Mehdi Abaakouk (sileht)
Changed in listen:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Colomban Wendling (banw) wrote :

Hi,

I have the same bug here (Debian unstable) both with self-compiled SVN r1119 and Debian's versions.

I just want to add some more infos in case of usefulness:
This bug was not present when I was using Testing (yesterday, I just upgraded to unstable this night), with exactly the same Listen version (I only rebuilt the package after upgrade).
Then I think it is a bug related to used libraries or so.

Regards,
Colomban

Revision history for this message
Julien Valroff (julienv) wrote : Re: [Bug 377226] Re: [jaunty] amd64 segfault with listen 0.6.2.0

Le vendredi 22 mai 2009 à 12:06 +0000, Ban a écrit :
> Hi,
>
> I have the same bug here (Debian unstable) both with self-compiled SVN
> r1119 and Debian's versions.
>
> I just want to add some more infos in case of usefulness:
> This bug was not present when I was using Testing (yesterday, I just upgraded to unstable this night), with exactly the same Listen version (I only rebuilt the package after upgrade).
> Then I think it is a bug related to used libraries or so.

I do not suffer from this bug using unstable on amd64 - have you
installed any of the suggested packages (which might cause this issue)?

Cheers,
Julien

Revision history for this message
Colomban Wendling (banw) wrote :

I'm on amd64 too, and I had almost all suggests installed, but it doesn't work better with only the following suggests:
  * gstreamer0.10-plugins-bad
  * python-gnome2
recommands:
  * gnome-icon-theme
  * gstreamer0.10-esd
  * gstreamer0.10-x
  * python-avahi
  * python-daap
  * python-gpod
  * python-musicbrainz2

Tell me if I should try to remove one of these (e.g. if you have not it), but they needs more care for me as I have packages depending on it.

Revision history for this message
Julien Valroff (julienv) wrote :

Le vendredi 22 mai 2009 à 13:17 +0000, Ban a écrit :
> I'm on amd64 too, and I had almost all suggests installed, but it doesn't work better with only the following suggests:
> * gstreamer0.10-plugins-bad
> * python-gnome2
> recommands:
> * gnome-icon-theme
> * gstreamer0.10-esd
> * gstreamer0.10-x
> * python-avahi
> * python-daap
> * python-gpod
> * python-musicbrainz2
>
> Tell me if I should try to remove one of these (e.g. if you have not
> it), but they needs more care for me as I have packages depending on it.

I have made some tests with the various suggests and still work on my
system.

I have just uploaded listen 0.6.2-1 to debian, freshly built in an
updated clean chroot - please test it one it hits your mirror and report
whether it fixes the issue or not...

Cheers,
Julien

Revision history for this message
Colomban Wendling (banw) wrote :

No, the updates doesn't change anything for me.

But I just tried to run Listen inside GDB, then I have installed python-gst0.10-dbg and python-gtk2-dbg, and now I got the following warning:
  (listen:1142): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpython_d.so': /usr/lib/gstreamer-0.10/libgstpython_d.so: undefined symbol: _Py_RefTotal
Not sure of what it means?

Well, I join the GDB backtrace if it could help.

Revision history for this message
Julien Valroff (julienv) wrote :

Le vendredi 22 mai 2009 à 16:12 +0000, Ban a écrit :
> No, the updates doesn't change anything for me.
>
> But I just tried to run Listen inside GDB, then I have installed python-gst0.10-dbg and python-gtk2-dbg, and now I got the following warning:
> (listen:1142): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpython_d.so': /usr/lib/gstreamer-0.10/libgstpython_d.so: undefined symbol: _Py_RefTotal
> Not sure of what it means?

It seams it is a warning only.

I also get this warning but do not suffer from the segfault.

> Well, I join the GDB backtrace if it could help.

Thanks, will have a look at it

Cheers,
Julien

Revision history for this message
Julien Valroff (julienv) wrote :

Le vendredi 22 mai 2009 à 16:12 +0000, Ban a écrit :
[...]
> Well, I join the GDB backtrace if it could help.
>
> ** Attachment added: "Python/Listen debugging output"
> http://launchpadlibrarian.net/27057319/listen_gdb_output

I think I have found the origin of the issue:
http://bugzilla.gnome.org/show_bug.cgi?id=578419

It would also affect:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519664
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526003

and this one is also related if I am right:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519758

Cheers,
Julien

Revision history for this message
Colomban Wendling (banw) wrote :

Hey!

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519664#42 suggested a way to fix this issue, and it seems to work for me!
I join the patch that make Listen always inherit at least from object. Not sure of its quality, a review would probably be useful, e.g. to complete it; because I only added "object" parent to classes that didn't inherit at all, not sure there's classes that still miss their object parent.

Regards,
Colomban

Revision history for this message
Mehdi Abaakouk (sileht) wrote :

Patch work fine, i have no more segment fault, thank

Changed in listen:
assignee: nobody → Mehdi Abaakouk (theli48)
milestone: none → 0.6.3
status: Confirmed → Fix Committed
Mehdi Abaakouk (sileht)
Changed in listen:
status: Fix Committed → Fix Released
Changed in listen (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.