Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Yet another "Can't Start OpenOffice"
Yet another "Can't Start OpenOffice"
 
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support
View previous topic :: View next topic  
Author Message
mackeyka
Guest





PostPosted: Thu Aug 07, 2003 4:35 pm    Post subject: Yet another "Can't Start OpenOffice"

I am running a G4 dual 500 MHz with X11. The install seemed to go just fine. I have looked through all the faq's and searched topics in this forum and did as much as I can to get this running but still no luck. I am trying to run it from OpenOffice and from the terminal. when I try from OpenOffice I get "Could not launch OpenOffice". When I try from the terminal it seems like something might be going to happen and then I get the message, "aborted".

I have checked the location of both libdl.dylib and libdl.0.dylib. libdl.dylb was in it's /usr/lib but libdl.0.dylib was not. I created a symlink to it (at least I think I did), but that did not help. I also took out the X11R6 portion of the setenv statement.

I am not much of a UNIX person yet, but I'm learning, so I pretty much need a lot of hand holding in the process of installing some programs, and this one looks like it's going to be one of those.
Back to top
mackeyka
Guest





PostPosted: Thu Aug 07, 2003 4:41 pm    Post subject: Forgot to add...

I forgot to add that I installed OpenOffice on a different drive than the Mac OS so OpenOffice is not in the default Applications folder. I am setting the setenv to the true location of OpenOffice as the instructions showed after installation.

thanks for the help
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Thu Aug 07, 2003 8:44 pm    Post subject:

Can you post the full output you see in the terminal? Unfortunately, simply the fact that it can't start doesn't really give enough information to troubleshoot the problem.

ed
Back to top
mackeyka
Guest





PostPosted: Fri Aug 08, 2003 6:35 am    Post subject:

This is the steps I take trying to run OpenOffice from the Terminal:

[The-Mackey-Family:~] kimmacke% setenv DISPLAY localhost:0 [The-Mackey-Family:~] kimmacke% setenv DYLD_LIBRARY_Path/volumes/video/openoffice.org1.0.3/program:/volumes/video/openoffice.org1.0.3/program/filter
[The-Mackey-Family:~] kimmacke% cd /volumes/video/openoffice.org1.0.3/program
[The-Mackey-Family:video/openoffice.org1.0.3/program] kimmacke% sh soffice
Abort
[The-Mackey-Family:video/openoffice.org1.0.3/program] kimmacke%


If I can get OpenOffice to run from the terminal, I worry about how to get StartOpenOffice.org running later.
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Fri Aug 08, 2003 9:43 pm    Post subject:

Aargh Sad Not your fault, more openoffice's. Something's going drastically wrong here if you're just seeing "Abort" at the terminal. I haven't seen things like this since the early days when we were having problems with X servers. Unfortunately it means we've not no more clue about why it's failing, except that it's serious.

One thing, though...can you try using:

setenv DISPLAY :0.0

instead of

setenv DIPSLAY localhost:0

I know if there's problems resolving the IP address for "localhost" X11 apps with the above DISPLAY will hork. Another thing to try...are you using Apple X11? If so, launch X11.app and go to Applications > xterm. Try launching from the xterm, but without the "setenv DISPLAY" command.

If the display isn't the problem (it's just a shot in the dark based on problems I've had in the past), then we'll have to do some differnet things to extract enough information to track down what the problem is.

ed
Back to top
mackeyka
Guest





PostPosted: Sat Aug 09, 2003 7:44 am    Post subject: Still no luck

Yes, I am using Apple's X11. In defaults to Xterm when I launch it. I have now tried launching it with and with out "setenv" as well as setenv:0 and setenv:0.0 Still the same thing.

I also tried unistalling and reinstalling. As part of uninstalling, I removed ~/.sversionrc and xinitrc. Before I uninstalled, I copied their contents. After reinstalling, I checked these files and they were the same. Here is the copy.

This is the only version of xinitrc I found on my system.


UW PICO(tm) 2.5 File: /private/etc/X11/xinit/xinitrc Modified

sresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
#!/bin/sh
# $Id: xinitrc,v 1.2 2003/02/27 19:03:30 jharper Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# start some nice programs

xterm &

# start the window manager

exec quartz-wm

And this is the contents of .sversionrc

UW PICO(tm) 2.5 File: /Users/kimmacke/.sversionrc

[Versions]
OpenOffice.org 1.0.3=file:///Users/kimmacke/Library/Preferences/OpenOffice.org1.0.3




Contents of /users/kimmacke/library/preferences/openoffice.start.plist

UW PICO(tm) 2.5 File: org.openoffice.start.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple$
<plist version="1.0">
<dict>
<key>directps</key>
<true/>
<key>oooversion</key>
1
<key>xserver</key>
3
<key>xserverpath</key>
<string>/Applications/X11.app</string>
</dict>
</plist>


I removed both /Users/kimmacke/Library/Preferences/OpenOffice.Start.plist and
~/sversionrc before I reinstalled. I tried running StartOpenOffice again. Still get a dialog box that simply says "Can't Launch OpenOffice". Also, I don't seem to have openoffce.start.plist anymore.

Some additional info:
1. I don't think I have XDarwin - but I don't need it, do I?
2. I installed OpenOffice on a different partition from my system

Hope some of this may give you a clue about what's going on.
Back to top
Terry Teague
Guest





PostPosted: Sun Aug 10, 2003 1:36 am    Post subject: Re: Still no luck

mackeyka wrote:
I removed both /Users/kimmacke/Library/Preferences/OpenOffice.Start.plist and
~/sversionrc before I reinstalled. I tried running StartOpenOffice again. Still get a dialog box that simply says "Can't Launch OpenOffice". Also, I don't seem to have openoffce.start.plist anymore.

Some additional info:
1. I don't think I have XDarwin - but I don't need it, do I?
2. I installed OpenOffice on a different partition from my system

Hope some of this may give you a clue about what's going on.

You don't need XDarwin, but if you have installed it previously, please tell us.

Installing OOo on a different partiition is no problem 99% of the time, except you should tell us the exact volume name of this partition. I also assume all your partitions are HFS+.

You won't see a ~/Library/Preferences/org.OpenOffice.Start.plist (note the correct name) file, until after you quit "Start OpenOffice.org" the first time.

When "Start OpenOffice.org" displays that error, is there a "Details…" button in the Alert - if so, please click the "Details…" button and give us the details (if any). Otherwise, while the Alert is displayed, open a Terminal session, type the following, and give us the details (if any) :

cat /tmp/StartOO*

As was said previously we have seen the "Abort" problem during early development versions of OOo, and I can't remember the cause. I would suggest configuring your machine to use only 1 CPU. For info on how to do that, visit :

http://developer.apple.com/qa/qa2001/qa1141.html

If you uncomfortable doing that, let us know - I have a script somewhere that will do it.

Really wish we knew why so many people have problems with launching OOo, whereas the developers rarely see these sorts of problems.

Regards, Terry
Back to top
moaxeey
Guest





PostPosted: Thu Aug 14, 2003 1:45 am    Post subject: OpenOffice Aborting

I am having an identical problem with OOo 1.0.3

on single processor, g3 350 tower

no 'details' button shown in 'can't launch' box

xterm message only 'abort'

1.0.1 reinstalled and working, but would like to keep up with bog fixes
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Thu Aug 14, 2003 9:46 am    Post subject:

Unfortunately, this is just incredibly difficult to track down. The mode of failure gives us no information about what could be causing it Sad In addition to Terry's dual-CPU abort failure I've seen this Abort issue with old versions of Orobor (pre 0.8b2...was a window manager hints issue, IIRC) and on initial 638C builds where it was a compiler casting bug with non-typesafe upcasting. I'm hoping the latter isn't an issue any more...but Apple X11b3 has been having issues with window manager hints in 1.1...

If anyone who's experiencing this Abort error has gdb on their system, I'd like to try to debug this and put a breakpoint on XError (I belive the symbol may be named "_XError" without quotes). If not hit, I believe that we could rule out any X server or window manager issues.

ed
Back to top
mackeyka
Guest





PostPosted: Sun Aug 17, 2003 6:45 pm    Post subject: short break from installing

Well, other life matters interrupted, so I had to take a little break. Thinking I may just wait until I upgrade to OS 10.3 and try installing again at that time.

I did capture the crash log "soffice.bin.crash.log and will include that here to see if that helps anyone figure out what's happining.

Kim




Date/Time: 2003-08-10 18:20:07 -0400
OS Version: 10.2.6 (Build 6L60)
Host: The-Mackey-Family.local.

Command: soffice.bin
PID: 487

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
#0 0x011f29d0 in OpenTTFont
#1 0x0118b830 in psp::PrintFontManager::analyzeTrueTypeFile(psp::PrintFontManager::PrintFont *) const
#2 0x01189440 in psp::PrintFontManager::analyzeFontFile(int, rtl::OString const &, bool, _STL::list<psp, _STL::allocator<psp> > const &, _STL::list<psp::PrintFontManager::PrintFont *, _STL::allocator<OString *> > &) const
#3 0x0118ceec in psp::PrintFontManager::initialize(void *)
#4 0x01187d60 in psp::PrintFontManager::get(void)
#5 0x00eaa364 in FontLookup::BuildSet(_STL::hash_set<FontLookup, FontLookup::hash, FontLookup::equal, _STL::allocator<FontLookup> > &)
#6 0x00eaabb4 in SalDisplay::GetXlfdList(void)
#7 0x00eaddb0 in SalGraphics::GetDevFontList(ImplDevFontList *)
#8 0x00e0d910 in Window::ImplInit(Window *, unsigned long, SystemParentData *)
#9 0x00ddda88 in ImplBorderWindow::ImplInit(Window *, unsigned long, unsigned short, SystemParentData *)
#10 0x00dddb64 in ImplBorderWindow::ImplBorderWindow(Window *, SystemParentData *, unsigned long, unsigned short)
#11 0x00e2ef4c in WorkWindow::ImplInit(Window *, unsigned long, SystemParentData *)
#12 0x00e2f210 in WorkWindow::WorkWindow(Window *, unsigned long)
#13 0x000154b8 in IntroWindow_Impl::IntroWindow_Impl(Bitmap const &)
#14 0x0000d034 in Desktop::OpenStartupScreen(void)
#15 0x00007998 in Desktop::Main(void)
#16 0x00d36f78 in SVMain(void)
#17 0x00eb8960 in main
#18 0x000026b0 in _start
#19 0x000024e0 in start

Thread 1:
#0 0x90042668 in semaphore_timedwait_signal_trap
#1 0x9003e894 in _pthread_cond_wait
#2 0x0029ae0c in osl_waitCondition
#3 0x00c75e6c in store::OStorePageDaemon_Impl::run(void)
#4 0x00c769b8 in threadFunc
#5 0x0029f524 in osl_thread_start_Impl
#6 0x90020d28 in _pthread_body

Thread 2:
#0 0x9003140c in accept
#1 0x002aa474 in osl_acceptPipe
#2 0x001008a4 in vos::OPipe::accept(vos::OStreamPipe &)
#3 0x00017258 in desktop::OfficeIPCThread::run(void)
#4 0x000fb550 in vos::_cpp_OThread_WorkerFunction(void *)
#5 0x0029f524 in osl_thread_start_Impl
#6 0x90020d28 in _pthread_body

PPC Thread State:
srr0: 0x011f29d0 srr1: 0x0200f930 vrsave: 0x00000000
xer: 0x00000000 lr: 0x011f29c8 ctr: 0x9000afa0 mq: 0x00000000
r0: 0x00000006 r1: 0xbfffe7e0 r2: 0x00000063 r3: 0x00000000
r4: 0x00000000 r5: 0x00000001 r6: 0x00010000 r7: 0x00000000
r8: 0x00000000 r9: 0x00000000 r10: 0x00153e40 r11: 0x0127dde0
r12: 0x9000afa0 r13: 0x00000000 r14: 0xbfffe938 r15: 0x00000000
r16: 0x0026e240 r17: 0x00000000 r18: 0xbffff1cc r19: 0x00000000
r20: 0xbffff1dc r21: 0x00001385 r22: 0x00000000 r23: 0x00000000
r24: 0x0026feb0 r25: 0x00000000 r26: 0x012805f0 r27: 0x00000000
r28: 0x00153e40 r29: 0x0000000c r30: 0x0026ff20 r31: 0x0118b780
Back to top
mackeyka
Guest





PostPosted: Sun Aug 17, 2003 7:24 pm    Post subject: Found my problem

This forum is a great place.

I was about to give up for a while but then I read "plc's" post with a problem that sounded a lot like mine. As it turns out his solution was just what I needed. There were a number of truetypefonts in my OpenOffice fonts folder which were 0 bytes. I moved them to a temporary folder and was then able to start my installation of OpenOffice.

Thanks to OPENSTEP and other for their patient assistance.

Kim Mackey Very Happy Very Happy
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Mon Aug 18, 2003 9:06 pm    Post subject:

Yup, OpenTTFont is a dead giveaway that you're having issues with Asian, Hebrew, or other fonts. I'm glad that you found it. If I can find a way to remove the SQL injection security hole, I guess I should enable the search feature here. There's beginning to be enough content that it's a useful tool...

I should have mentioned the OpenTTFont crash in the launching FAQ, but it is quite disturbing that OOo was crashing on you there and not leaving around crashdumps. I've actually had it happen a couple of times on me as well, and not just with OOo. The crashdump gets left behind, but with a bogus process name.

ed
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.