[gutsy] Listen crashes with segfault

Bug #116687 reported by Toby Smithe
26
Affects Status Importance Assigned to Milestone
Listen
Fix Released
Unknown
listen (Ubuntu)
Fix Released
Medium
Emilio Pozuelo Monfort

Bug Description

Binary package hint: listen

***MEMORY-WARNING***: [12735]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...
No musicbrainz support (musicbrainz2 missing)
No iPod support
No Audio cd support (musicbrainz2 missing)
/usr/lib/listen/widget/tray.py:45: DeprecationWarning: the module egg.trayicon is deprecated; equivalent functionality can now be found in pygtk 2.10
  try: import egg.trayicon
Segmentation fault

Related branches

Revision history for this message
Toby Smithe (tsmithe) wrote :

It doesn't seem that this segfault is related to the tray icon error, and I'm not sure where the glib warning is coming from (when it didn't before). If the error is in the Python then I would expect a backtrace from that, and as there isn't one, I'd guess the bug is related to the glib warning. Right?

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I'd say the segfault is because you clicked either in the lyrics tab or in the wikipedia one. Am I right? :)

If that's true, the segfault is more likely in the mozembed engine.

Changed in listen:
importance: Undecided → Medium
Revision history for this message
Susan Cragin (susancragin) wrote :

See bug 116870, similar error message.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Susan: This crash isn't due to the GLib warning, but because of GtkEmbedMoz.

How to reproduce:
-Go to either the Lyrics or the Wikipedia tab.
-Crash

Changed in listen:
status: Unconfirmed → Confirmed
Revision history for this message
Toby Smithe (tsmithe) wrote :

No. Listen does not even start a GUI. The segfault occurs after creating the tray icon.

Revision history for this message
Toby Smithe (tsmithe) wrote :

Well, it's definitely gtkembedmoz.

Revision history for this message
Toby Smithe (tsmithe) wrote :
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I was talking the other day with Alexander Sack, and this solved the crash. Does it works for you?

sh /usr/lib/firefox/run-mozilla.sh /usr/bin/python -OO /usr/lib/listen/listen.py "$@"

Revision history for this message
Toby Smithe (tsmithe) wrote : Re: [Bug 116687] Re: [gutsy] Listen crashes with segfault

On Sun, 2007-07-01 at 16:31 +0000, Emilio Pozuelo Monfort wrote:
> I was talking the other day with Alexander Sack, and this solved the
> crash. Does it works for you?

Yes

> sh /usr/lib/firefox/run-mozilla.sh /usr/bin/python -OO
> /usr/lib/listen/listen.py "$@"
>

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

So the problem seems to be that we're missing an environment variable...

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

This debdiff fixes the crash.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

We were missing MOZILLA_FIVE_HOME env variable.

Changed in listen:
assignee: nobody → pochu
Revision history for this message
Nemes Ioan Sorin (nemes-sorin) wrote :

Gutsy up to date
listen_0.5-4ubuntu1 from repo

I tried previous hacks with no success ( except the .debdiff ) - could you put the right deb in repositories please ?

a lot of users are affected by this bug which was present few releases before, and the best option I think is to offer working version in a easy to use way ( upgrade ) for the large masses.

if is not possible - please write here few lines about using .debdiff patch ( I mean something to follow step by step ).

Changed in listen:
status: Unknown → Fix Released
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

listen (0.5-4ubuntu2) gutsy; urgency=low

  * debian/patches:
    - Added 08_mozilla_five_home.patch (LP: #116687)

 -- Emilio Pozuelo Monfort <email address hidden> Wed, 11 Jul 2007 17:12:40 +0200

Changed in listen:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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