Acrobat Reader SIGSEGV when embedded in Firefox

Bug #367080 reported by Victor Stanescu
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
acroread (Ubuntu)
Fix Released
Critical
Unassigned
Nominated for Karmic by r12056
Nominated for Lucid by r12056

Bug Description

Binary package hint: acroread

When I open a PDF link from Firefox, and the document is opened by acroread embedded into the browser tab, I have encountered two ways to crash acroread:
1) by clicking on a link in the PDF file, that would normally open another PDF from the website
2) by having multiple acroread tabs in Firefox, and closing one of the tabs.

In both cases, the acroread process dies and if there were other tabs with acroread in them, they are also affected.

I attached a gdb to the acroread process before performing action (1) and the results were:

(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf55fe720 (LWP 16795)]
0xf685d819 in gdk_window_get_position () from /usr/lib32/libgdk-x11-2.0.so.0
(gdb)
Continuing.
Program exited with code 01.
(gdb)

The problem is related to the amd64 version, as I was not able to reproduce it on the i386 distribution.

Tags: karmic
Revision history for this message
Philip Wyett (philwyett) wrote :

Where did you get the acroread you have installed from and what is it's version?

Revision history for this message
Victor Stanescu (victor-stanescu) wrote :

I have tried with two different versions/sources:

1) 8.1.3-0medibuntu0.8.10.2 from medibuntu - with mozilla-acroread
2) acroread 9.1.0 from adobe's website, registering the plugin by hand with nspluginwrapper -i /opt/Adobe/Reader9/Browser/intellinux/nppdf.so; the trace was from the 9.1.0 version (never tried to trace the 8.10.2 version because the first obvious idea was to upgrade, but the behavior was the same).

Revision history for this message
Philip Wyett (philwyett) wrote :

I have added the medibuntu jaunty repo then installed acroread and mozilla-acroread which totaled all the packages below being installed.

acroread (8.1.3-0medibuntu0.8.10.2)
acroread-debian-files (0.0.29medibuntu2)
acroread-dictionary-en (8.1.3-0medibuntu0.8.10.2)
acroread-l10n-en (8.1.3-0medibuntu0.8.10.2)
libstdc++5 (1:3.3.6-17ubuntu1)
acroread-escript (8.1.3-0medibuntu0.8.10.2)
mozilla-acroread (8.1.3-0medibuntu0.8.10.2)

I can happily open pdf's inside firefox from the internet with no crashes at this time.

Revision history for this message
Philip Wyett (philwyett) wrote :

A note. It was always trying to install de dictionary and i18n. I just added the en ones and deselected the de ones and it was happy enough.

Revision history for this message
Victor Stanescu (victor-stanescu) wrote :

Please try one of the following scenarios:

a). Open two PDF files at the same time, in two tabs. Close one of the tabs. Is the other tab still functional? In my case the second tab will be empty (with no acroread instance inside it).
Example (just by random search on google for PDF files):
open http://www.un.org/Depts/Cartographic/map/profile/romania.pdf
open http://www.ecb.int/ecb/legal/pdf/l_02120090124ro00660068.pdf
close the http://www.ecb.int/ecb/legal/pdf/l_02120090124ro00660068.pdf tab
the http://www.un.org/Depts/Cartographic/map/profile/romania.pdf still looks ok (not sure why, usually it was crashing at this step)
open http://www.ancex.ro/old_ancex/ATT00156.pdf
result: both pdf tabs are freezed (empty, with no content inside)

b) Find a PDF that has links to other PDF files. Unfortunately I cannot give you an example site for this, because the only example I know is a private site with some equipment documentation. When I navigate through the links, after 1-2 links it crashes.

I was encountering this issue with 8.10 also, but never took time to study enough or file a bug. But on 8.10 it was happening a lot faster (always from the closing of the second tab, or clicking on the first link, never later).

Revision history for this message
Victor Stanescu (victor-stanescu) wrote :

If I close all the "dead" acroread tabs, and then open a PDF again, firefox starts acroread from the scratch and everything works again for a short while. For example, in case (b) - navigating from PDF to PDF, I click the link, the tab dies, I copy the URL, close the tab, open a new tab again and paste the url back, getting to the next page.

Revision history for this message
jkh-f10 (jkh-f10) wrote :

hi there,

since i encounter the exact same problem (case a - have not tried case b) i would really like to fix that, since older firefox versions did not produce this mess. has anybody found a way yet to prevent firefox from closing the pdf-viewer completely when closing one tab? this bug is really annoying!

thnx in advance for any help,
jkh.

system:
fedora 10
firefox 3.0.10
adobe reader 9.1.1

Revision history for this message
Rolf Leggewie (r0lf) wrote :

confirming for 8.1.3-0medibuntu0.8.10.2, will try 9.1.0-7jaunty2 from the canonical partner repo in a minute. host is running up-to-date Karmic.

Changed in acroread (Ubuntu):
importance: Undecided → Critical
status: New → Confirmed
tags: added: karmic
Revision history for this message
Rolf Leggewie (r0lf) wrote :

same issue in 9.1.0-7jaunty2

Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

me too .. still having the prob in karmic with 9.1.0-7jaunty2 ...

Revision history for this message
alain57 (alain57) wrote :

similar probleme
i'm on karmic up to date and use firefox 3.5.2

when i click on a pdf (on internet) it open on a new tab
but when i close the tab where the pdf is in
firefox close

Revision history for this message
GeorgeVita (8-launchpad-mhnyma-com) wrote :

The same problem still appears:

Ubuntu 9.10 Alpha4+updates (till today)
Kernel: 2.6.31-999-generic #200908291000 and 2.6.31-8.28
Firefox Version: 3.5.2+nobinonly-0ubuntu2
Acrobat Reader: adobereader-enu Version: 9.1.2
(installed package: AdbeRdr9.1.2-1_i386linux_enu.deb)

Revision history for this message
Mikael Nilsson (mini) wrote :

My acrobat in karmic crashes even when started from the command line, and I'm on 32 bit. Would that be a different bug?

Revision history for this message
Rolf Leggewie (r0lf) wrote : Re: [Bug 367080] Re: Acrobat Reader SIGSEGV when embedded in Firefox

Mikael Nilsson wrote:
> My acrobat in karmic crashes even when started from the command line,
> and I'm on 32 bit. Would that be a different bug?
>

Mikael, yes, that sounds like a different issue.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

I just closed (by accident) a tab with an embedded PDF and Firefox did not crash. Is this fixed for everybody else, too?

Revision history for this message
Victor Stanescu (victor-gtstelecom) wrote :

Firefox doesn't crash. Acroread crashes (for example, if you would have had two tabs with PDF documents, closing the first one might have killed also the second one - it would have became a tab with no content).

Revision history for this message
Brian Thomason (brian-thomason) wrote :

It appears this has been fixed as I can open/close multiple acroread tabs with no issues. Is anyone else still experiencing this?

Revision history for this message
Rolf Leggewie (r0lf) wrote :

FWIW, I don't see this problem anymore. And I don't think that's due to the fact that I've since switched to using a recompiled version of Acrobat reader from debian-multimedia.org. So, yes, I guess this is fixed.

Revision history for this message
Fabio Bossi (fabio-bossi-deactivatedaccount) wrote :

I'm unable to reproduce this on an updated Karmic.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

closing as fixed since for several months nobody reported any problems here. Please feel free to reopen with more information if you still experience this issue.

Changed in acroread (Ubuntu):
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.