Apache OpenOffice (AOO) Bugzilla – Issue 620
Application will not launch at all
Last modified: 2003-12-06 14:52:34 UTC
After following the installation procedure (including installing Sun's Java SE SDK 1.3.0_02 I thought I'd successfully installed the suite but when I run /usr/openoffice60/program/soffice I get a small delay and then the prompt comes back and nothing's happened. So I added -x to the interpreter (program/soffice) and ran the executable from within the shell script under ltrace. My setup is as follows: RedHat 7.0 (with RedCarpet updates for "everything") running on an Intel 700MHz Pentium III (Coppermine) with 256Mb RAM. Distribution: Red Hat Linux Operating System: Linux Distribution Version: Red Hat Linux release 7.0 (Guinness) Operating System Version: #1 Tue Aug 22 16:49:06 EDT 2000 Operating System Release: 2.2.16-22 Processor Type: i686 Host Name: craig User Name: cemery X Display Name: :0 Here's the trace run output: $ /usr/openoffice60/soffice ++ uname -s + sd_platform=Linux + test=/usr/bin/test ++ pwd + sd_cwd=/home/cemery + /usr/bin/test -L /usr/openoffice60/soffice ++ basename /usr/openoffice60/soffice + sd_basename=soffice ++ ls -l /usr/openoffice60/soffice ++ sed 's/.*soffice -> //g' + sd_script=/usr/openoffice60/program/soffice ++ echo /usr/openoffice60/program/soffice ++ cut -f1 -d/ + sd_sub= + '[' '' = .. -a '' = '' ']' ++ echo /usr/openoffice60/soffice ++ sed 's/\.\/\(.*\)$/\1/' + userinst=/usr/openoffice60/soffice ++ echo /usr/openoffice60/soffice ++ sed 's/^\/.*/\//' + '[' / '!=' / ']' ++ dirname /usr/openoffice60/soffice + userinst=/usr/openoffice60 ++ dirname /usr/openoffice60 + userinst=/usr ++ dirname /usr/openoffice60/program/soffice [cemery@craig cemery]$ /usr/openoffice60/soffice ++ uname -s + sd_platform=Linux + test=/usr/bin/test ++ pwd + sd_cwd=/home/cemery + /usr/bin/test -L /usr/openoffice60/soffice ++ basename /usr/openoffice60/soffice + sd_basename=soffice ++ ls -l /usr/openoffice60/soffice ++ sed 's/.*soffice -> //g' + sd_script=/usr/openoffice60/program/soffice ++ echo /usr/openoffice60/program/soffice ++ cut -f1 -d/ + sd_sub= + '[' '' = .. -a '' = '' ']' ++ echo /usr/openoffice60/soffice ++ sed 's/\.\/\(.*\)$/\1/' + userinst=/usr/openoffice60/soffice ++ echo /usr/openoffice60/soffice ++ sed 's/^\/.*/\//' + '[' / '!=' / ']' ++ dirname /usr/openoffice60/soffice + userinst=/usr/openoffice60 ++ dirname /usr/openoffice60 + userinst=/usr ++ dirname /usr/openoffice60/program/soffice + cd /usr/openoffice60/program ++ pwd + sd_prog=/usr/openoffice60/program + '[' '' = '' ']' + SO_MODE=local + export SO_MODE + sd_progsub=/usr/openoffice60/program/local + cd .. ++ basename /usr/openoffice60/soffice + sd_binary=soffice.bin ++ pwd + sd_inst=/usr/openoffice60 + cd /home/cemery + sd_fonts=/usr/openoffice60/share/fonts + '[' -x /usr/openoffice60/program/sopatchlevel.sh ']' + /usr/openoffice60/program/sopatchlevel.sh + '[' 0 -eq 1 ']' + LD_LIBRARY_PATH=/usr/openoffice60/program/local:/usr/openoffice60/program:/home/cemery/dist/lib + export LD_LIBRARY_PATH ++ /usr/openoffice60/program/javaldx '' '' '' '' '' '' '' '' '' + java_ld_library_path=/usr/java/jdk1.3.0_02/lib/i386:/usr/java/jdk1.3.0_02/jre/lib/i386:/usr/java/jdk1.3.0_02/jre/lib/i386/native_threads:/usr/java/jdk1.3.0_02/jre/lib/i386/classic: + '[' /usr/java/jdk1.3.0_02/lib/i386:/usr/java/jdk1.3.0_02/jre/lib/i386:/usr/java/jdk1.3.0_02/jre/lib/i386/native_threads:/usr/java/jdk1.3.0_02/jre/lib/i386/classic: '!=' '' ']' + LD_LIBRARY_PATH=/usr/java/jdk1.3.0_02/lib/i386:/usr/java/jdk1.3.0_02/jre/lib/i386:/usr/java/jdk1.3.0_02/jre/lib/i386/native_threads:/usr/java/jdk1.3.0_02/jre/lib/i386/classic::/usr/openoffice60/program/local:/usr/openoffice60/program:/home/cemery/dist/lib + THREADS_TYPE=native_threads + SAL_FONTPATH=/usr/openoffice60/share/fonts/75dpi:unscaled;/usr/openoffice60/share/fonts/truetype;/usr/openoffice60/share/fonts/type1;/usr/openoffice60/share/fonts/75dpi + SAL_FONTPATH_PRIVATE=/usr/openoffice60/share/fonts/serverfonts + SAL_PSPRINT=/usr/openoffice60/share/psprint:/usr/user/psprint + XPPATH=/usr/openoffice60/share/xp3 + unset XENVIRONMENT + export SAL_FONTPATH XPPATH SAL_PSPRINT SAL_FONTPATH_PRIVATE + '[' X = Xrsh ']' + PATH=/usr/openoffice60/program:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/X11R6/bin:/usr/local/Acrobat4/bin:/home/cemery/dist/shell:/home/cemery/dist/bin:/usr/local/gcvs/bin:/home/cemery/bin:/home/cemery/bin + export PATH + exec ltrace /usr/openoffice60/program/soffice.bin '' '' '' '' '' '' '' '' '' __libc_start_main(0x08053e98, 10, 0xbffff4c4, 0x080535b8, 0x0805d454 <unfinished ...> __register_frame_info(0x08069c40, 0x0806a2ac, 0x431c11d6, 1, 0x432ae1c8) = 0 __6StringPCcUsUsUl(0x0806a2e4, 0x08065e61, 16, 11, 819) = 0x0806a2e4 __6StringPCcUsUsUl(0x0806a2e8, 0x08065e72, 17, 11, 819) = 0x0806a2e8 __6StringPCcUsUsUl(0x0806a2ec, 0x08065e84, 14, 11, 819) = 0x0806a2ec __6StringPCcUsUsUl(0x0806a2f0, 0x08065e93, 6, 11, 819) = 0x0806a2f0 __6StringPCcUsUsUl(0x0806a2f4, 0x08065e9a, 23, 11, 819) = 0x0806a2f4 __6StringPCcUsUsUl(0x0806a2f8, 0x08065eb2, 16, 11, 819) = 0x0806a2f8 __6StringPCcUsUsUl(0x0806a2fc, 0x08065ec3, 24, 11, 819) = 0x0806a2fc __Q24cppu13ClassDataBasel(0x0806a4a0, 1, 0xbffff44c, 0x0805536b, 1) = 0x0806a4a0 __19SfxApplicationClassPCc(0x0806a2dc, 0, 0x08069c44, 0xbffff43c, 0x08054898) = 0x0806a2dc main(10, 0xbffff4c4, 0xbffff4f0, 0xbffff478, 0x080535e2 <unfinished ...> --- 0 (Real-time signal 0) --- breakpointed at 0x431beab1 (?) --- 0 (Real-time signal 0) --- breakpointed at 0x431beab1 (?) --- 0 (Real-time signal 0) --- breakpointed at 0x431beab1 (?) Init__19SfxApplicationClass(0x0806a2dc, 0x416906b8, 0x08072d98, 1, 0x41467024 <unfinished ...> typelib_static_interface_type_init(0x08068d50, 0x0805dfa0, 0, 0xbffff128, 0x44286d08) = 1 typelib_static_interface_type_init(0x08068d5c, 0x0805e001, 0, 0xbffff004, 0x4183154c) = 1 queryAdapter__Q24cppu11OWeakObject(0xbffff01c, 0x080a35fc, 0x418770f4, 0x080a6b48, 0x080a7074) = 0xbffff01c --- 0 (Real-time signal 0) --- breakpointed at 0x431beab1 (?) --- 0 (Real-time signal 0) --- breakpointed at 0x431beab1 (?) queryAdapter__Q24cppu11OWeakObject(0xbfffef90, 0x080a35fc, 0x418770f4, 0x080afa30, 0x080b4760) = 0xbfffef90 queryAdapter__Q24cppu11OWeakObject(0xbffff020, 0x080a35fc, 0x418770f4, 0x080b4b38, 0x080b4b58) = 0xbffff020 queryAdapter__Q24cppu11OWeakObject(0xbfffef64, 0x080a35fc, 0x418770f4, 0x080b4dc8, 0x080b6658) = 0xbfffef64 SetReadStringHook__6ResMgrPFR6String_v(0x0805452c, 0x416906b8, 0x080b4b48, 0x416953e0, 0x416906b8) = 0x0805452c __6StringPCcUsUsUl(0xbffff3f8, 0x0805d99a, 7, 11, 819) = 0xbffff3f8 SetAppName__11ApplicationRC6String(0xbffff3f8, 0xbffff3f8, 0x0805d99a, 7, 11) = 0x080bb7f8 _._6String(0xbffff3f8, 2, 0xbffff3f8, 0xbffff3f8, 0x0805d99a) = 2 __builtin_new(1, 0x416906b8, 0x080b4b48, 0x416953e0, 0x416906b8) = 0x080bb808 __9Installer(0x080bb808, 1, 0x416906b8, 0x080b4b48, 0x416953e0) = 0x080bb808 GetAppFileName__11Application(0x080bb808, 1, 0x416906b8, 0x080b4b48, 0x416953e0) = 0x080b4da8 InitializeInstallation__9InstallerRC6String(0x080bb808, 0x080b4da8, 0x080bb808, 1, 0x416906b8) = 2 _._9Installer(0x080bb808, 3, 0x416906b8, 0x080b4b48, 0x416953e0) = 0 __builtin_new(4, 0x416906b8, 0x080b4b48, 0x416953e0, 0x416906b8) = 0x080bb808 __14SvtPathOptions(0x080bb808, 4, 0x416906b8, 0x080b4b48, 0x416953e0 <unfinished ...> queryAdapter__Q24cppu11OWeakObject(0xbfffee4c, 0x080a35fc, 0x418770f4, 0x080b4ac0, 0x080b6fb0) = 0xbfffee4c queryAdapter__Q24cppu11OWeakObject(0xbfffee1c, 0x080a35fc, 0x418770f4, 0x080b4c90, 0x080b4c78) = 0xbfffee1c queryAdapter__Q24cppu11OWeakObject(0xbfffee30, 0x080a35fc, 0x418770f4, 0x080b4c68, 0x080b4738) = 0xbfffee30 uno_type_any_assign(0xbffff3b0, 0x4000cfe0, 0x0806e098, 0x0805c9a4, 0x0805c960) = 0x0806e098 queryAdapter__Q24cppu11OWeakObject(0xbfffee1c, 0x080a35fc, 0x418770f4, 0x080b9540, 0x080bc870) = 0xbfffee1c uno_type_any_assign(0xbffff3b0, 0x4000cfe0, 0x0806e098, 0x0805c9a4, 0x0805c960) = 0x0806e098 queryAdapter__Q24cppu11OWeakObject(0xbfffee30, 0x080a35fc, 0x418770f4, 0x080b4b28, 0x080aee78) = 0xbfffee30 uno_type_any_assign(0xbffff3b0, 0, 0x0806e098, 0x0805c9a4, 0x0805c960) = 0x0806e098 queryAdapter__Q24cppu11OWeakObject(0xbfffee30, 0x080a35fc, 0x418770f4, 0x080b4c58, 0x080b52c0) = 0xbfffee30 RegisterServices__Fv(0x080bb808, 4, 0x416906b8, 0x080b4b48, 0x416953e0 <unfinished ...> decode__13INetURLObjectPCUsT1cQ213INetURLObject15DecodeMechanismUs(0xbffff3c8, 0x080b4c18, 0x080b4c4c, 37, 1) = 0xbffff3c8 decode__13INetURLObjectPCUsT1cQ213INetURLObject15DecodeMechanismUs(0xbffff3cc, 0x080b4c18, 0x080b4c4c, 37, 1) = 0xbffff3cc _._19SfxApplicationClass(0x0806a2dc, 2, 0xbffff25c, 0x080548d3, 0) = 0x4166d884 _._Q24cppu13ClassDataBase(0x0806a4a0, 2, 0xbffff25c, 0x0805537f, 0) = 0 _._6String(0x0806a2fc, 2, 0xbffff25c, 0x0805b0c7, 0) = 2 _._6String(0x0806a2f8, 2, 0xbffff25c, 0x0805b0c7, 0) = 2 _._6String(0x0806a2f4, 2, 0xbffff25c, 0x0805b0c7, 0) = 2 _._6String(0x0806a2f0, 2, 0xbffff25c, 0x0805b0c7, 0) = 2 _._6String(0x0806a2ec, 2, 0xbffff25c, 0x0805b0c7, 0) = 2 _._6String(0x0806a2e8, 2, 0xbffff25c, 0x0805b0c7, 0) = 2 _._6String(0x0806a2e4, 2, 0xbffff25c, 0x0805b0c7, 0) = 2 __deregister_frame_info(0x08069c40, 65535, 0xbffff26c, 0x08054463, 0xbffff278) = 0x0806a2ac --- 0 (Real-time signal 0) --- breakpointed at 0x431beab1 (?) +++ exited (status 0) +++ $ Craig.
When I launch the application as root it pops up! StarOffice52 does the same (it was installing StarOffice52 and finding this out there that lead me to this point)
Without doing anything to it StarOffice 5.2 now runs under any ID seamlessly. I wish I could say the same for OpenOffice. It still only runs under root.
It's necessary that every user has his own installation. During installation a .sversionrc was created. This file was needed to start the application. If root has made the installation user "Craig" couldn't start it. The best way of installation for a multi-user platform to start a setup with the swith -net. Then every user could make his own "workstation-installation" again by starting setup in the program folder. It's a known bug, that the application abort without .sversionrc. We're working on it to create reasonable message instead an abort.
No bug.