liferea spits python ImportError during startup

Bug #215658 reported by Matti Lindell
10
Affects Status Importance Assigned to Milestone
liferea (Ubuntu)
Fix Released
Undecided
Unassigned
xulrunner-1.9 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: liferea

liferea 1.4.14-0ubuntu4
xulrunner-1.9 1.9~b5+nobinonly-0ubuntu1

Starting liferea from a console throws a python exception:

$ liferea
Obtaining the module object from Python failed.

Traceback (most recent call last):
cant import cStringIO
<type 'exceptions.ImportError'>: /usr/lib/python2.5/lib-dynload/time.so: undefined symbol: PyExc_ValueError

It could have something to do with xulrunner as /usr/bin/liferea is setting LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9b5, but without specifying the LD_LIBRARY_PATH there's no error. No sure if this just cosmetical as liferea seems to function okay nevertheless.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Hi,

Confirming with:
liferea 1.4.14-0ubuntu4
xulrunner-1.9 1.9~b5+nobinonly-0ubuntu3

Changed in liferea:
status: New → Confirmed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Hi again,

LD_LIBRARY_PATH is set to /usr/lib/xulrunner-1.9b5 because xulrunner ships its own sqlite3 library which differs from the one installed with package libsqlite3-0. See bug report #203413 for details.

Just a guess, but as a side effect, setting LD_LIBRARY_PATH loads other libraries in /usr/lib/xulrunner-1.9b5/ which may need symbols not available in librairies shipped with the system. The error let me think this is related to pyxpcom extension shipped with xulrunner.

This may be harmless or this may be not, and it could be the reason of occasional segfaults ( see #215016 )

Affecting this report to xulrunner-1.9

Cheers

Revision history for this message
Jeff Imperial (jeffreyimperial) wrote :

I'm also getting this problem. Commandline output as follows:

jeff@jeff-linux:~$ liferea
Obtaining the module object from Python failed.

Traceback (most recent call last):
cant import cStringIO
<type 'exceptions.ImportError'>: /usr/lib/python2.5/lib-dynload/time.so: undefined symbol: PyExc_ValueError
Liferea did receive signal 11 (Segmentation fault).
jeff@jeff-linux:~$

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: [Bug 215658] Re: liferea spits python ImportError during startup

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Imperial wrote:
| I'm also getting this problem. Commandline output as follows:
|
| jeff@jeff-linux:~$ liferea
| Obtaining the module object from Python failed.
|
| Traceback (most recent call last):
| cant import cStringIO
| <type 'exceptions.ImportError'>:
/usr/lib/python2.5/lib-dynload/time.so: undefined symbol: PyExc_ValueError
| Liferea did receive signal 11 (Segmentation fault).
| jeff@jeff-linux:~$
|
I am unable to reproduce this bug in Hardy with version as follows
gnomefreak@Development:~$ policy liferea
liferea:
~ Installed: 1.4.14-0ubuntu4
~ Candidate: 1.4.14-0ubuntu4

- --
Sincerely Yours,
~ John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIMZTuqig4QTwcPCoRAlS3AJ48r+nf3goloGc9drrsNGetUNXZnACeJ0Ke
ZTrAw8lbap1El2JKHIFJ8bU=
=wHU8
-----END PGP SIGNATURE-----

Revision history for this message
Matti Lindell (mlind) wrote :

Jeff, you're probably experiencing bug #215016 instead as in this bug liferea doesn't segfault.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I'm closing this report because this is no more an issue in Intrepid.

Changed in liferea:
status: Confirmed → Fix Released
Changed in xulrunner-1.9:
status: New → Fix Released
Revision history for this message
Dmitry Agafonov (dmitry-agafonov) wrote :

Will the fix be backported to LTS?

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Agafonov, if you want to pursue a fix in Hardy please read and follow https://wiki.ubuntu.com/StableReleaseUpdates . Thank you.

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 215658] Re: liferea spits python ImportError during startup

On Tue, Dec 09, 2008 at 10:47:28PM -0000, Jean-Baptiste Lallement wrote:
> Agafonov, if you want to pursue a fix in Hardy please read and follow
> https://wiki.ubuntu.com/StableReleaseUpdates . Thank you.
>

What fix is this about ? the bug title is about bug 209041 which isnt
fixed in xulrunner.

is this about something else in liferea that is now fixed? If so, the
bug title is wrong (if it were right it probably would be a dupe of
the bug above anyway). Please clarify! ;) ...thanks

 - Alexander

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The import error reported above is not reproducible in Intrepid and Jaunty as least
=====
Traceback (most recent call last):
cant import cStringIO
<type 'exceptions.ImportError'>: /usr/lib/python2.5/lib-dynload/time.so: undefined symbol: PyExc_ValueError
=====

The following change may have solved this issue.
===============
--- liferea-1.4.14/src/liferea.in 2007-11-21 23:37:39.000000000 +0100
+++ liferea-1.4.23/src/liferea.in 2008-11-29 20:57:04.000000000 +0100
@@ -14,19 +14,6 @@

 params="$@"

-#
-# If we run with Gecko or XulRunner we need to set
-# LD_LIBRARY_PATH (WebKit and GtkHTML do not need this).
-#
-if [ "@MOZILLA_LIB_ROOT@" != "" ]; then
- if [ "$LD_LIBRARY_PATH" = "" ]; then
- LD_LIBRARY_PATH=@MOZILLA_LIB_ROOT@
- else
- LD_LIBRARY_PATH=@MOZILLA_LIB_ROOT@:$LD_LIBRARY_PATH
- fi
- export LD_LIBRARY_PATH
-fi
-
 if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
  eval `dbus-launch`
  export DBUS_SESSION_BUS_ADDRESS
=================

I'm not sure why and when this has been fixed but it's fixed.

Revision history for this message
Alexander Sack (asac) wrote :

On Thu, Dec 18, 2008 at 10:18:58PM -0000, Jean-Baptiste Lallement wrote:
>
> I'm not sure why and when this has been fixed but it's fixed.
>

OK, then lets be happy and celebrate ... thanks for the info and cheers!

 - Alexander

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.