Bug 89766 - Acroread 7.0 crash on startup
|
Bug#:
89766
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: printing@gentoo.org
|
Reported By: clement.cc@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: Acroread 7.0 crash on startup
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-04-20 00:34 0000
|
Tested with latest final version (replace .tar.gz with the one downloaded from
adobe.com and regenerate digest). Problem remains.
I'm suspecting GCC 3.4 issues. ldd reveals that some libraries uses GCC 3.3
libraries:
# ldd /opt/Acrobat7/Reader/intellinux/lib/libagluc.so
linux-gate.so.1 => (0xffffe000)
libagldata.so.28 => not found
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4010e000)
libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 (0x40121000)
libm.so.6 => /lib/tls/libm.so.6 (0x401de000)
libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libgcc_s.so.1
(0x40201000)
libc.so.6 => /lib/tls/libc.so.6 (0x4020a000)
/lib/ld-linux.so.2 (0x80000000)
ldd /opt/Acrobat7/Reader/intellinux/SPPlugins/ADMPlugin.apl
linux-gate.so.1 => (0xffffe000)
libResAccess.so => not found
libdl.so.2 => /lib/libdl.so.2 (0x4035b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x4035f000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x4036e000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x4043b000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x40722000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x407a2000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x407bf000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x407d5000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x407e0000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40819000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40852000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40856000)
libm.so.6 => /lib/tls/libm.so.6 (0x408d9000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x408fc000)
libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 (0x4090f000)
libc.so.6 => /lib/tls/libc.so.6 (0x409cc000)
/lib/ld-linux.so.2 (0x80000000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x40ae3000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x40aeb000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x40aef000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x40af7000)
libXft.so.2 => /usr/lib/libXft.so.2 (0x40afa000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40b0c000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40b80000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x40ba8000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x40bad000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x40bb6000)
libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libgcc_s.so.1
(0x40bbe000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x40bc7000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40bef000)
libz.so.1 => /lib/libz.so.1 (0x40c0e000)
Attempted solutions (all failed):
1.
# cd /opt/Acrobat7/Reader/intellinux/lib
# ln -s /usr/lib/gcc/i686-pc-linux-gnu/3.3.5-20050130/libgcc_s.so.1
2.
# ln -s /usr/lib/libstdc++-v3/libstdc++.so.5
3. gcc-config and select GCC 3.3.5
(In all above cases, ldd shows the library used is indeed changed.)
4.
# ln -s /usr/lib/libstdc++-v3/libstdc++.so.5 libstdc++.so.6
(Of course I'm not supposed to do this)
Gives error dialog box for each plugin saying that the plugin loading failed.
Then it die silently again.
5. remove all plugins
6. remove the plugin in SPPlugin
It looks like there are other people experiencing the same problem (I saw on
forums)
Temporary workaround: stick with acroread 5.0. :-(
Reproducible: Always
Steps to Reproduce:
$ acroread
Actual Results:
- Splash screen is shown, plugins loading.
- After plugins loaded, it vanishes and returns non-zero exit status.
- No error messages, no output on terminal. Just died silently.
emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.9
Python: dev-lang/python-2.2.3-r6,dev-lang/python-2.3.4-r1 [2.3.4
(#1, Mar 1 2005, 00:42:17)]
dev-lang/python: 2.2.3-r6, 2.3.4-r1
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r2
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mmmx -msse -m3dnow -O2 -fno-strict-aliasing
-mfpmath=sse,387 -fomit-frame-pointer -frename-registers -pipe -DNDEBUG"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mmmx -msse -m3dnow -O2 -fno-strict-aliasing
-mfpmath=sse,387 -fomit-frame-pointer -frename-registers -pipe -DNDEBUG"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms
strict"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/
http://gentoo.llarian.net/ http://gentoo.chem.wisc.edu/gentoo/
http://gentoo.ccccom.com"
LDFLAGS="-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 3ds X X509 Xaw3d a52 aac acl acpi adns aim alsa
apache2 artswrappersuid artworkextra async auctex audiofile avi berkdb
bitmap-fonts bonobo bzip2 bzlib c++ caps cddb cdf cdio cdparanoia cdr cgi
chroot cjk clamav clanJavaScript clanVoice codecs cracklib crypt ctype curl
curlwrappers cyrus dba dbase dbx dga dio directfb divx4linux djbfft dnd dpms
dts dvd dvdread ecc eds emacs emboss encode erandom evms2 evo evo2 exif fam
fastcgi fbdev ffmpeg flatfile fluidsynth fmod font-server foomaticdb fortran
fpx freetype gb gcj gd geoip ggi gif ginac glade glitz glut gmttria gnome
gnomedb gnuplot gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal iconv icq
icu idea idl imagemagick imap imlib imlib2 immqt-bc inetd inifile inkjar
innodb jack jack-tmpfs java javascript jbig jce jikes jp2 jpeg jpeg2k junit
jython kde kdeenablefinal koffice-plugin ladcca lcms ldap leim lesstif libg++
libgda libwww live lm_sensors logitech-mouse lua lufsusermount lzw lzw-tiff
mad maildir mailwrapper matroska mcal md5sum mdb memlimit mikmod mime ming
mmap mmx mmxext mng mono motif mozdevelop mozilla moznocompose moznoirc
moznomail mozp3p mozsvg mp3 mpeg mpeg4 mplayer msn mule music mysql
nagios-ping native ncurses net netcdf network nls nowin nptl ntlm nvidia ocaml
ofx ogg oggvorbis openal opengl oscar oss pam parse-clocks pcntl pcre pda
pdflib pear-db perl php pic plotutils png portaudio posix povray ppds pwdb
python qemu-fast qt quicktime rar rdesktop readline real recode rtc ruby samba
sasl sdk sdl simplexml skey slang smime sndfile soap sockets softmmu
soundtouch sox speex spell spl sqlite sse ssl stream subject-rewrite
subversion svg svga symlink sysvipc szip t1lib tcltk tcpd tetex theora threads
tidy tiff timidity tokenizer transcode truetype truetype-fonts type1
type1-fonts uim unicode usb utf8 vcd vidix virus-scan vorbis win32codecs wmf
wsconvert wxwindows xbase xfs xine xml xml2 xmlrpc xosd xprint xscreensaver
xsl xv xvid xvmc yahoo zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS
FYI: My mozilla-firefox-bin currently segfaults on startup because of the GCC
3.4 issues. mozilla-firefox works though (of course). My openoffice-bin-1.9.93
works but it appears that openoffice-bin is providing its own libstdc++.so.6
in its program directory. Skype links with both GCC 3.3 and 3.4 libraries but
does not crash. Is everyone like this or my compatibility packages are somehow
broken? I have libstdc++-v3-3.3.4 and lib-compat-1.4.
This is not much more than a stab in the dark, but you wouldn't happen to be
using scim for Chinese input by any chance?
Well, I'm beginning to think it is. I have the same error, and I'm using scim
(and skim in KDE) for Japanese input. I've seen it interfere with other
applications, but I have absolutely no idea how to test this.
Is this still an issue with the final acroread-7.0.0.2?
Absolutely. Same behaviour as with 7.0.0.
There's a mention on the SCIM website I've found that acknowledges problems with
different versions of Gtk+-2. Maybe you can make something of it? The site is
having a "software upgrade", when it's back up you can find the entry here:
http://tinyurl.com/886c6 (shortened a ridiculously long URI for you...)
Thanks for looking into this!
Since it is very unlikely that we can ever convince Adobe to compile another
binary for our gcc/glibc, how about patching acroread from the ebuild to
temporarily deactivate the scim GTK IM module?
--- acroread 2005-05-17 15:43:36.000000000 -0400
+++ acroread 2005-05-17 16:03:48.000000000 -0400
@@ -255,6 +255,11 @@
fi
fi
+if [ "$GTK_IM_MODULE" = "scim" ]; then
+ GTK_IM_MODULE=xim
+ export GTK_IM_MODULE
+fi
+
if [ "$1" = "-DEBUG" ] ; then
if [ $# = 1 ] ; then
export ACRO_EXEC_CMD
This patch gets 7.0.0.2 running for me.
Well, what can I say. The man is right. First time I've seen Acroread 7 start
all the way, ever. It's not a pretty solution, but it works for me, and it even
fires up the plugin in Firefox. Thanks a lot!
I hate to be a killjoy but I use scim with pinyin input and my acroread starts
up correctly. (I haven't upgraded to -r1 yet).
Personally I don't care because I only have acroread for other people who might
use my computer, but could some people be using scim with acroread (for example
to fill out forms perhaps) who might get bitten by this "fix"?
FYI:
ldd /opt/Acrobat7/Reader/intellinux/lib/libagluc.so
linux-gate.so.1 => (0xffffe000)
libagldata.so.28 => not found
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7ee8000)
libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 (0xb7e2e000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7e0b000)
libgcc_s.so.1 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libgcc_s.so.1 (0xb7e03000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7cd8000)
/lib/ld-linux.so.2 (0x80000000)
ldd /opt/Acrobat7/Reader/intellinux/SPPlugins/ADMPlugin.apl
linux-gate.so.1 => (0xffffe000)
libResAccess.so => not found
libdl.so.2 => /lib/libdl.so.2 (0xb7caa000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7c9a000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7bcb000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb78f2000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7874000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb785b000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7844000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0xb7839000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb77fe000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb77ca000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb77c6000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb773f000)
libm.so.6 => /lib/tls/libm.so.6 (0xb771b000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7708000)
libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 (0xb764e000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7523000)
/lib/ld-linux.so.2 (0x80000000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0xb751c000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7517000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb750f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb750c000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb74f8000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb747f000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7454000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb744e000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7444000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb743c000)
libgcc_s.so.1 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libgcc_s.so.1 (0xb7434000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb740c000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb73e5000)
libz.so.1 => /lib/libz.so.1 (0xb73d3000)
I'm using gcc-3.3.5-2005xxxxx (its the latest x86 anyway). I use noplugin with
acroread.
My scim and scim-pinyin are latest ~x86.
emerge info:
Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11 i686)
=================================================================
System uname: 2.6.11 i686 Intel(R) Celeron(TM) CPU 1066MHz
Gentoo Base System version 1.6.11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.6
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protection distcc distlocks sandbox sfperms
strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/ag-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acpi alsa apm arts avi berkdb bitmap-fonts cjk
crypt cups curl dga dv dvd eds emacs emboss encode esd f77 faad fam fbcon ffmpeg
fftw flac fortran gcj gdbm gif gimpprint ginac gnome gnustep gphoto2 gpm
gstreamer gtk gtk2 guile imagemagick imlib jack java jpeg ldap leim libg++
libwww live mad matroska mikmod mmx mng motif mozilla mp3 mpeg mysql nas ncurses
nls nptl objc offensive ogg oggvorbis openal opengl oss pam pdflib perl
plotutils png ppds python qhull qt quicktime radeon readline rtc samba scanner
sdk sdl slang speex spell sqlite sse ssl svg tcltk tcpd tetex theora tiff
truetype truetype-fonts type1-fonts unicode usb v4l vorbis wxwindows xine
xinerama xml xml2 xmms xosd xprint xv xvid zlib video_cards_mach64
video_cards_i810 video_cards_i830 video_cards_i915 video_cards_radeon
userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Now, I'm using GCC 3.4 and scim-1.4.2.
When I unset $GTK_IM_MODULE, Acroread 7.0 crashed on startup.
Whereas, if I had set $GTK_IM_MODULE to "xim" or "scim", Acroread 7.0 started up
correctly.
So, I think acroread-scim.patch should be modified to the following:
--- /usr/bin/acroread 2005-11-08 04:10:12.000000000 +0900
+++ acroread 2005-11-08 04:09:32.000000000 +0900
@@ -290,7 +290,10 @@
export GTK_MODULES
fi
-if [ "$GTK_IM_MODULE" = "scim" ]; then
+if [ -z "$GTK_IM_MODULE" ]; then
+ GTK_IM_MODULE=xim
+ export GTK_IM_MODULE
+elif [ "$GTK_IM_MODULE" = "scim" ]; then
GTK_IM_MODULE=xim
export GTK_IM_MODULE
fi