Summary: | Acroread 7.0 crash on startup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Siuchung Cheung (Clement) <clement.cc> |
Component: | New packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cbm, plate |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 89008 | ||
Bug Blocks: |
Description
Siuchung Cheung (Clement)
2005-04-20 00:34:26 UTC
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? um. Yes. Is it related? 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! thanks, fixed 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 |