Firefox crash when loading svg image

Bug #226280 reported by HMartinho
6
Affects Status Importance Assigned to Milestone
Ubuntu
Incomplete
Undecided
Unassigned

Bug Description

When I run in a terminal it gives the following error:

/usr/lib/firefox-3.0b5/firefox: symbol lookup error: /usr/lib/xulrunner-1.9b5/libxul.so: undefined symbol: cairo_path_extents

Still haven't figured it out.

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

Thanks for your report and helping make Ubuntu better.

Not confirming in Hardy.

Please can you provide:
- A sample file or URL
- The output of the following commands :
dpkg -l "firefox*" "libcairo*" "xulrunner*"|grep "^ii"
ldd /usr/lib/xulrunner-1.9b5/libxul.so | grep cairo

Thanks in advance

Revision history for this message
HMartinho (heldermartinho) wrote :

Thanks for the quick response.
Here are the requested outputs:
~$ dpkg -l "firefox*" "libcairo*" "xulrunner*"|grep "^ii"
ii firefox 3.0~b5+nobinonly-0ubuntu3 meta package for the popular mozilla web browser
ii firefox-2 2.0.0.14+2nobinonly-0ubuntu1 lightweight web browser based on Mozilla
ii firefox-3.0 3.0~b5+nobinonly-0ubuntu3 safe and easy web browser from Mozilla
ii firefox-3.0-gnome-support 3.0~b5+nobinonly-0ubuntu3 Support for Gnome in Mozilla Firefox
ii firefox-gnome-support 3.0~b5+nobinonly-0ubuntu3 meta package pointing to the latest gnome-suppor
ii firefox-themes-ubuntu 0.5.4.4 Firefox themes matching the Ubuntu desktop look
ii libcairo-perl 1.043-1 Perl interface to the Cairo graphics library
ii libcairo-ruby1.8 1.5.0-1.1 Cairo bindings for the Ruby language
ii libcairo2 1.6.0-0ubuntu1 The Cairo 2D vector graphics library
ii libcairo2-dev 1.6.0-0ubuntu1 Development files for the Cairo 2D graphics libr
ii libcairomm-1.0-1 1.4.2-1 C++ wrappers for Cairo (shared libraries)
ii xulrunner-1.9 1.9~b5+nobinonly-0ubuntu3 XUL + XPCOM application runner
ii xulrunner-1.9-gnome-support 1.9~b5+nobinonly-0ubuntu3 Support for Gnome in xulrunner-1.9 applications

ldd /usr/lib/xulrunner-1.9b5/libxul.so | grep cairo
 libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f615b22c000)
 libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x00007f615afa7000)

A sample file or URL:
http://openclipart.org/people/ipurush/ipurush_Compass.svg
(or any other svg file)

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

cairo_path_extents was added in cairo 1.5.8. So your system library is the right version (1.6.0 ) BUT you've another version of Cairo in /usr/local/lib which is probably too old.

This may be the culprit.

You can either uninstall the /usr/local/lib if you don't use it version or upgrade your locale library or set LD_LIBRARY_PATH=/usr/lib to be certain that the one in /usr/lib is loaded first. run "ldd /usr/lib/xulrunner-1.9b5/libxul.so | grep cairo" and be sure that the library is the one in /usr/lib.

Please confirm before closing this report.

Regards,

Revision history for this message
HMartinho (heldermartinho) wrote :

Ooops. it isn't! Take a look:
~$ ldd /usr/lib/xulrunner-1.9b5/libxul.so | grep cairo
 libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007fe9ab517000)
 libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x00007fe9ab292000)

How can I set it right?
Thanks in advance.
Cheers.

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

Sorry for the delay. Did you succeeded in removing access to library in /usr/local or is it still an issue ?

Revision history for this message
HMartinho (heldermartinho) wrote : Re: [Bug 226280] Re: Firefox crash when loading svg image
  • unnamed Edit (1.1 KiB, text/html; charset=ISO-8859-1)

Hi mate;

Still no sucess! :(
Firefox still crashes whenever it tries to open/load an svg.
Could you tell me how to correct it please, I'm a noob.

Thanks.

Cheers

2008/6/1 Jean-Baptiste Lallement <email address hidden>:

> Sorry for the delay. Did you succeeded in removing access to library in
> /usr/local or is it still an issue ?
>
> --
> Firefox crash when loading svg image
> https://bugs.launchpad.net/bugs/226280
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Helder Martinho (<email address hidden>)
-----------------------------------------------------------------
Nothing fails like success.

Revision history for this message
Hew (hew) wrote :

Marking as dupe of bug #219555. HMartinho opened three reports on the same issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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