openoffice-ximian-bin-1.3.11 won't start with GTK_IM_MODULE=scim. Whereas with GTK_IM_MODULE=xim it works fine. Reproducible: Always Steps to Reproduce: 1. GTK_IM_MODULE=scim /usr/bin/xoowriter 2. wait until the application window gets drawn 3. hang The last lines of the strace output are: stat64("/home/user_name/.xopenoffice/1.1.4/user/registry/data/org/openoffice/Office/SFX.xcu", 0xbfffcb2c) = -1 ENOENT (No such file or directory) open("/etc/gtk-2.0/gtk.immodules", O_RDONLY|O_LARGEFILE) = 26 fstat64(26, {st_mode=S_IFREG|0644, st_size=1727, ...}) = 0 mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xae0ea000 read(26, "# GTK+ Input Method Modules file"..., 131072) = 1727 read(26, "", 131072) = 0 read(26, "", 131072) = 0 close(26) = 0 munmap(0xae0ea000, 131072) = 0 stat64("/usr/lib/gtk-2.0/immodules/im-scim.so", {st_mode=S_IFREG|0755, st_size=118844, ...}) = 0 open("/usr/lib/gtk-2.0/immodules/im-scim.so", O_RDONLY) = 26 read(26, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\220"..., 512) = 512 fstat64(26, {st_mode=S_IFREG|0755, st_size=118844, ...}) = 0 mmap2(NULL, 117220, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 26, 0) = 0xae0ed000 mmap2(0xae109000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 26, 0x1c) = 0xae109000 close(26) = 0 open("/opt/Ximian-OpenOffice/program/libscim-1.0.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/i686/libscim-1.0.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/libscim-1.0.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("i686/libscim-1.0.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("libscim-1.0.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/tls/i686/libscim-1.0.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/tls/i686", 0xbfffdc90) = -1 ENOENT (No such file or directory) open("//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/tls/libscim-1.0.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/tls", 0xbfffdc90) = -1 ENOENT (No such file or directory) open("//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/i686/libscim-1.0.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/i686", 0xbfffdc90) = -1 ENOENT (No such file or directory) open("//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libscim-1.0.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110", {st_mode=S_IFDIR|0755, st_size=912, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 26 fstat64(26, {st_mode=S_IFREG|0644, st_size=133863, ...}) = 0 mmap2(NULL, 133863, PROT_READ, MAP_PRIVATE, 26, 0) = 0xae0cc000 close(26) = 0 open("/usr/lib/libscim-1.0.so.6", O_RDONLY) = 26 read(26, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260q\2"..., 512) = 512 fstat64(26, {st_mode=S_IFREG|0755, st_size=969616, ...}) = 0 mmap2(NULL, 966484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 26, 0) = 0xadfe0000 mmap2(0xae0c6000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 26, 0xe6) = 0xae0c6000 close(26) = 0 open("/opt/Ximian-OpenOffice/program/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/i686/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("i686/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libstdc++.so.6", O_RDONLY) = 26 read(26, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\265"..., 512) = 512 fstat64(26, {st_mode=S_IFREG|0755, st_size=839264, ...}) = 0 mmap2(NULL, 855220, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 26, 0) = 0xadf0f000 mmap2(0xadfd6000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 26, 0xc7) = 0xadfd6000 mmap2(0xadfdb000, 19636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xadfdb000 close(26) = 0 open("/usr/lib/gconv/ISO8859-15.so", O_RDONLY) = 26 read(26, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\4\0"..., 512) = 512 fstat64(26, {st_mode=S_IFREG|0755, st_size=9788, ...}) = 0 mmap2(NULL, 12324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 26, 0) = 0xadf0b000 mmap2(0xadf0d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 26, 0x1) = 0xadf0d000 close(26) = 0 munmap(0xae0cc000, 133863) = 0 gettimeofday({1116242409, 957116}, NULL) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- rt_sigprocmask(SIG_SETMASK, NULL, ~[KILL STOP], 8) = 0 rt_sigsuspend(~[KILL STOP RTMIN] <unfinished ...>
Sees I forgot something... scim: version is scim-1.2.2 emerge info Portage 2.0.51.22 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r8 i686) ================================================================= System uname: 2.6.11-gentoo-r8 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.1.3-r1, 2.3.5 sys-apps/sandbox: 1.2.8 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-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi adns alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bluetooth bonobo cdparanoia cdr crypt cscope cups curl dbus divx4linux dvd dvdread eds emboss encode esd evo fam ffmpeg flac font-server foomaticdb fortran gd gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib insecure-drivers ipv6 java jpeg junit ldap libg++ libgda libwww mad mikmod mmx mono motif mozilla mozsvg mp3 mpeg mplayer mysql ncurses nls odbc ogg oggvorbis opengl oss pam pdflib perl png ppds print python qt quicktime readline real ruby samba sdl slang socks5 spell sqlite sse ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs xine xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Did you test this with other OOo versions? Did it work? Is it supposed to work / somewhere announced? Cause I'm not quite convinced this is a bug, looks more like missing functionality to me, although I have to admit, that I'm not familiar with scim at all, so...
Hello! With openoffice-bin-1.1.4-r1 "GTK_IM_MODULE=scim /usr/bin/oowriter" will start the application properly but won't use scim as input method. And that's exactly what I expected to happen running openoffice-ximian-bin-1.3.11: Ignore scim as IM as long as it is not supported, but run. Of course it's not a severe issue since one can change GTK_IM_MODULE. Thank you!
Ok, I see the problem. Still there is not a lot we can do, as we use the binaries from Novell for openoffice-ximian-bin and have no real influence in fixing this. Thanks for reporting anyway