Svg image loading makes webbrowser crash - undefined symbol: cairo_path_extents

Bug #219555 reported by HMartinho
36
Affects Status Importance Assigned to Milestone
xulrunner-1.9 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Whenever I try to open an svg image file either in firefox or epiphany, these programs just close with no error report.

/usr/lib/firefox-3.0.1/firefox: symbol lookup error: /usr/lib/xulrunner-1.9.0.1/libxul.so: undefined symbol: cairo_path_extents

Found in firefox-3.0 from b5 to 3.0.1 (Hardy)

Revision history for this message
HMartinho (heldermartinho) wrote :

I got this running firefox on a terminal:

:~$ firefox
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
GCJ PLUGIN: thread 0x622920: NP_GetMIMEDescription
GCJ PLUGIN: thread 0x622920: NP_GetMIMEDescription return
GCJ PLUGIN: thread 0x622920: NP_GetValue
GCJ PLUGIN: thread 0x622920: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x622920: NP_GetValue return
GCJ PLUGIN: thread 0x622920: NP_GetValue
GCJ PLUGIN: thread 0x622920: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x622920: NP_GetValue return
/usr/lib/firefox-3.0b5/firefox: symbol lookup error: /usr/lib/xulrunner-1.9b5/libxul.so: undefined symbol: cairo_path_extents

and this with epiphany:

:~$ epiphany
** (epiphany-browser:15328): DEBUG: LoginManager tapped
epiphany-browser: symbol lookup error: /usr/lib/xulrunner-1.9b5/libxul.so: undefined symbol: cairo_path_extents

Revision history for this message
arno_b (arno.b) wrote :

I have no problem with SVG.
Does it crash with a specific SVG document?
Please, give your SVG test file.

Revision history for this message
HMartinho (heldermartinho) wrote : Re: [Bug 219555] Re: Svg image loading makes webbrowser crash
  • unnamed Edit (1.2 KiB, text/html; charset=ISO-8859-1)

Hi;
It crashs with any svg.
I noticed it when trying to view these:
http://openclipart.org/media/tags/inkscape_filter_effect
But it also crashd in wikipedia when trying to view the image in:
http://en.wikipedia.org/wiki/Image:Friction.svg

Cheers.

2008/4/20, Arnaud Blouin <email address hidden>:
>
> I have no problem with SVG.
> Does it crash with a specific SVG document?
> Please, give your SVG test file.
>
>
> --
> Svg image loading makes webbrowser crash
> https://bugs.launchpad.net/bugs/219555
> 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 : Re: Svg image loading makes webbrowser crash

Firstly, as I noted in the duplicate reports, please do not open extra bug reports on the same issue as it adds to the workload we have to deal with. Please use only this bug report for your issue from now on.

Viewing svg files in firefox-3.0 works for me. Please answer the following questions:

* Since you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart. Are you able to produce a crash report after this change? If not, what is the behaviour of the browser?
* Is your version of Ubuntu Hardy Heron up to date?
* If you move/backup your ~/.mozilla folder away, does the issue still occur with a fresh configuration?

Thanks in advance.

Changed in xulrunner-1.9:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Hew (hew) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in xulrunner-1.9:
status: Incomplete → Invalid
Revision history for this message
Maharifu (mail-lmcarvalho) wrote :

Hi. I am also experciencing the same problem. I noticed it when running the acid3 test, but I can't seem to open any .svg image in firefox.

I tried enabling the apport in /etc/default/apport and restart, but the results were the same.
I have every update in Ubuntu 8.04, and I am using a 64 bit version.
Also, I have tried running firefox with a fresh new profile and had the same problem.

Changed in xulrunner-1.9:
status: Invalid → New
Revision history for this message
Hew (hew) wrote :

Thanks for your comment. It would be useful if you could provide a link to a .svg file where the issue is reproducible for you. For example, I can access http://upload.wikimedia.org/wikipedia/commons/c/c7/SVG.svg just fine; does firefox crash if you click this link?

It is unusual that apport does not catch this issue. Please attach the output from firefox while reproducing this issue:

1) Open a terminal
2) Run this command: firefox >& firefox-svg.log
3) Reproduce the issue; make firefox crash
4) Attach the resulting firefox-svg.log to this report

This should let us see if the cause is the same as the bug as originally reported. Please also ensure you are running the latest version of firefox in Hardy; 3.0.1+build1+nobinonly-0ubuntu0.8.04.3 . Thanks in advance.

Changed in xulrunner-1.9:
status: New → Incomplete
Revision history for this message
Maharifu (mail-lmcarvalho) wrote :

I tried following the link you provide (http://upload.wikimedia.org/wikipedia/commons/c/c7/SVG.svg) and firefox crashes indeed. I saved the log, which is attached.

I also verified and I'm running the latest version of firefox (3.0.1+build1+nobinonly-0ubuntu0.8.04.3).

Revision history for this message
Hew (hew) wrote :

Could you please provide the output of the following commands:
dpkg -l "firefox*" "libcairo*" "xulrunner*"|grep "^ii"
ldd /usr/lib/xulrunner-1.9.0.1/libxul.so | grep cairo

I have attached the output of these commands on my working system for reference.

Hew (hew)
description: updated
Revision history for this message
Maharifu (mail-lmcarvalho) wrote :

I seem to miss the *-dbgsym packages.

Revision history for this message
Hew (hew) wrote :

*-dbgsym packages can be ignored. You have libcairo2-dev, which the original reporter of the bug also had. I installed this package, but still do not experience the issue.

The problem seems to be that you have:
libcairo.so.2 => /usr/local/lib/libcairo.so.2
rather than:
libcairo.so.2 => /usr/lib/libcairo.so.2

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as triaged and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in xulrunner-1.9:
status: Incomplete → Triaged
Revision history for this message
Alexander Sack (asac) wrote :

having a cairo in /usr/local/ isnt supported. it probably was outdated and thus failed to provide the required symbols.

Changed in xulrunner-1.9:
status: Triaged → Invalid
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.