Firefox Bon Echo crashes when opening a pdf

Bug #61436 reported by Alberto Milone
This bug report is a duplicate of:  Bug #60928: Acroread 7.0.8 does not start. Edit Remove
2
Affects Status Importance Assigned to Milestone
acroread (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: firefox

Firefox Bon Echo crashes every time I try to open a pdf and it leaves acroread running in the background.

In the example below I ran "top" after that firefox had crashed 4 times:

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 8290 root 15 0 12152 2596 1992 S 2.0 0.1 0:06.60 gdm
 8867 alberto 25 0 1660 540 416 R 2.0 0.0 0:07.17 acroread
18261 alberto 25 0 1664 544 416 R 1.7 0.0 0:06.08 acroread
 1178 alberto 25 0 1660 540 416 R 1.3 0.0 0:05.08 acroread
 8025 alberto 23 0 1660 540 416 S 1.3 0.0 0:02.12 acroread
 8293 root 15 0 41992 29m 9344 S 1.0 1.5 0:22.76 Xorg
 8481 alberto 15 0 77812 15m 9616 S 1.0 0.8 0:01.57 gnome-terminal
    1 root 16 0 1628 532 444 S 0.0 0.0 0:00.98 init
    2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
    3 root 34 19 0 0 0 R 0.0 0.0 0:00.03 ksoftirqd/0
    4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
    5 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 events/0
    6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
    7 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
    9 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kblockd/0
   10 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid

This problem affects:
Ubuntu Edgy 6.10
Firefox version: 1.99+2.0b2+dfsg-1ubuntu1

Revision history for this message
Alberto Milone (albertomilone) wrote :

I launched firefox from Terminal and I have noticed that when I try to open a pdf from a website the ouput of the error is:

expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error

Revision history for this message
Alberto Milone (albertomilone) wrote :

I have the same problem in Epiphany.

I guess it depends on mozilla-acroread 7.0.8-0.0.ubuntu1

Revision history for this message
Daniel T Chen (crimsun) wrote :

What's the output from ``readlink /bin/sh''?

Changed in firefox:
importance: Untriaged → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Alberto Milone (albertomilone) wrote :

the output of "readlink /bin/sh" is:
dash

Revision history for this message
Alberto Milone (albertomilone) wrote :

The solution is here:
http://www.ubuntuforums.org/showthread.php?t=233514&highlight=acroread

It seems to be related to the upgrade to gtk 2.10.1 (according to that thread).

All I need to do is:

sudo vim /usr/bin/acroread

and change this line:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

with the following:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

And acroread will work.

I hope acroread can be patched and repackaged soon

Revision history for this message
Alberto Milone (albertomilone) wrote :

7.0.8-0.0.ubuntu2 seems to work just fine

Daniel T Chen (crimsun)
Changed in acroread:
status: Needs Info → Fix Released
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.