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 - OO.o crashes on startup
OO.o crashes on startup
 
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support
View previous topic :: View next topic  
Author Message
jstotz
Guest





PostPosted: Sat Jul 19, 2003 1:22 pm    Post subject: OO.o crashes on startup

I'm trying to install OO.o 1.0.3 on a dual 1GHz mac. It seems to be crashing when it starts up. I have not seen any reference to the particular error messahe that I am getting.

After I see the OO spalash screen, I get a dialog box from Start OO that says: could not launch openOffice.org.

The details dialog box contains the message:

dyld: /Users/jstotz/Library/Preferences/OpenOffice.org1.0.3/program/soffice.bin relocation overflow (local relocation in /Users/jstotz/Library/Preferences/OpenOffice.org1.0.3/program/libj641mxp_g.dylib relocation entry 0 does not fit in 2 bytes)

The /tmp/StartOO file is empty. I thought it should at least contain the above message.

the crashlog is as follows:

**********

Date/Time: 2003-07-19 16:13:21 -0400
OS Version: 10.2.6 (Build 6L60)
Host: Jamie-Stotzs-Computer.local.

Command: soffice.bin
PID: 639

Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001Code[1]: 0x8fe01280

Thread 0 Crashed:
#0 0x8fe01280 in halt
#1 0x8fe17a80 in local_relocation
#2 0x8fe03de8 in map_library_image
#3 0x8fe031d0 in load_library_image
#4 0x8fe06134 in load_images_libraries
#5 0x8fe05b28 in load_dependent_libraries
#6 0x8fe147c0 in _dyld_NSAddImage
#7 0x9001577c in NSAddImage
#8 0x002a0098 in osl_psz_loadModule
#9 0x0029fff4 in osl_loadModule
#10 0x0063c994 in cppu::loadSharedLibComponentFactory(rtl::OUString const &, rtl::OUString const &, rtl::OUString const &, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const &, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey> const &)
#11 0x00272028 in stoc_loader::DllComponentLoader::activate(rtl::OUString const &, rtl::OUString const &, rtl::OUString const &, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey> const &)
#12 0x006266fc in cppu::ORegistryFactoryHelper::createModuleFactory(void)
#13 0x00625dcc in cppu::ORegistryFactoryHelper::createInstanceWithArgumentsAndContext(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#14 0x00713208 in stoc_smgr::OServiceManager::createInstanceWithArgumentsAndContext(rtl::OUString const &, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#15 0x00713664 in stoc_smgr::OServiceManager::createInstanceWithArguments(rtl::OUString const &, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &)
#16 0x00007cf8 in Desktop::Main(void)
#17 0x00d36f78 in SVMain(void)
#18 0x00eb8960 in main
#19 0x000026b0 in _start
#20 0x000024e0 in start

Thread 1:
#0 0x90042688 in semaphore_timedwait_signal_trap
#1 0x9003e8b4 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 0x90020d48 in _pthread_body

Thread 2:
#0 0x9003142c 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 0x90020d48 in _pthread_body

PPC Thread State:
srr0: 0x8fe01280 srr1: 0x0202f930 vrsave: 0x00000000
xer: 0x20000000 lr: 0x8fe0a064 ctr: 0x8fe294f0 mq: 0x00000000
r0: 0x00000004 r1: 0xbfffe770 r2: 0x00000000 r3: 0x000000f6
r4: 0x00000000 r5: 0x000000f6 r6: 0x0000000a r7: 0x79746573
r8: 0x74206669 r9: 0x00000000 r10: 0xbfffe53b r11: 0x00000000
r12: 0x8fe71b1d r13: 0x00272550 r14: 0xbffff68c r15: 0x00000000
r16: 0x00000000 r17: 0x005e69b4 r18: 0x00000000 r19: 0x00000000
r20: 0xffffffff r21: 0x00000000 r22: 0x00000001 r23: 0x0008c354
r24: 0x0132e000 r25: 0x00000012 r26: 0x00000000 r27: 0x00000000
r28: 0x0008f350 r29: 0x00000004 r30: 0x8fe484d8 r31: 0x8fe09ecc

Thanks for your help.

jamie
Back to top
Terry Teague
Guest





PostPosted: Sat Jul 19, 2003 8:36 pm    Post subject: Re: OO.o crashes on startup

jstotz wrote:
I'm trying to install OO.o 1.0.3 on a dual 1GHz mac. It seems to be crashing when it starts up. I have not seen any reference to the particular error messahe that I am getting.

After I see the OO spalash screen, I get a dialog box from Start OO that says: could not launch openOffice.org.

The details dialog box contains the message:

dyld: /Users/jstotz/Library/Preferences/OpenOffice.org1.0.3/program/soffice.bin relocation overflow (local relocation in /Users/jstotz/Library/Preferences/OpenOffice.org1.0.3/program/libj641mxp_g.dylib relocation entry 0 does not fit in 2 bytes)

The /tmp/StartOO file is empty. I thought it should at least contain the above message.

That's not a good error to get Crying or Very sad

I believe the "/tmp/StartOO*" file is emptied at appropriate times, such as when you dismiss the Details dialog, to prevent the Details getting too large (and possibly misleading) if you repeatedly run into problems without quitting "Start OpenOffice.org".

As to your particular error - I don't think I have seen that specific error (although I have pccasionally seen similar errors while working with development versions of OOo).

I think we need more info about your hardware/software configuration, and for you to try a few things.

I would suggest at least rebooting, and trying to launch "Start OpenOffice.org" again, before doing anything else.

If that doesn't help, I would suggest configuring your machine to use only 1 CPU (although I don't think the Dual CPU is the problem). 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.

It sounds like either something is corrupted, or you have something in your system that is causing a conflict.

Regards, Terry
Back to top
jstotz
Guest





PostPosted: Sun Jul 20, 2003 2:40 pm    Post subject: Re: OO.o crashes on startup

I downloaded a new copy of the OO.o installer, deleted the original installation, and reinstalled it. It now launches correctly. I have not tested it any more than that.

thanks for your help

jamie
Back to top
OPENSTEP
The One
The One


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

PostPosted: Sun Jul 20, 2003 11:56 pm    Post subject:

Thanks for the crashlog. I think you may have hit another manefistation of the "dualie" problem. The message from dyld is interesting though...our other manifestations just result in crashes, not linker errors.

There is something wrong with threading/mutexes/something-or-other that exhibits itself only on MP machines. When running on a single, these threading problems don't exist. We've known something fishy is going on with dual processor machines, but haven't been able to track down what it is. Disabling one of the processors usually fixes the issue, but then, you no longer have a dual processor machine.

I assume from your last post that this is no longer reproducing...aside from reinstallation, can you recall what further steps you may have done between the two installs?

FWIW the only known reliable way to reproduce dualie problems and crashes is to run the X11 based installer (setup...or, the tarball). During the "Creating Local Settings" phase, it usually crashes on a dualie. In the G5 test labs, it crashed every single time I tried it, usually in OPageStore threads. So this is either a locking issue, or may be an underlying problem with threaded I/O, or what have you.

In short, during actual application running we've not seen the problem occur until now (you're the first I know of). The solution is that we create our install image on a single-processor Mac so folks with dualies never have to run the one known reproducable crash.

ed
Back to top
Guest






PostPosted: Sat Nov 15, 2003 8:54 am    Post subject:

Sorry for the anonymous post - having trouble with my login today.

I don't know if my crash log will provide any new information, but here it is below. My machine is a dual 1GHz MDD Power Mac, 1 GB RAM, running Jaguar 10.2.8. My X-windowing system is Apple's X11.

I cannot get OOo to start at all, other than displaying the splash screen, then displaying a error message that it "Could not launch OpenOffice.org."

dale(who is AT)the-mcdonaldsDOTnet

**********

Date/Time: 2003-11-14 20:39:16 -0500
OS Version: 10.2.8 (Build 6R73)
Host: Wildcat.local.

Command: soffice.bin
PID: 3135

Exception: EXC_BAD_INSTRUCTION (0x0002)
Code[0]: 0x00000002Code[1]: 0x0178d36c

Thread 0 Crashed:
#0 0x0178d36c in rtl::OUString::_createFromAscii(char const *)
#1 0x0177ef94 in UcbStore::_getImplementationName_Static(void)
#2 0x0177d7b8 in component_getFactory
#3 0x0063d098 in cppu::_loadSharedLibComponentFactory(rtl::OUString const &, rtl::OUString const &, rtl::OUString const &, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const &, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey> const &)
#4 0x00272028 in stoc_loader::DllComponentLoader::_activate(rtl::OUString const &, rtl::OUString const &, rtl::OUString const &, com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey> const &)
#5 0x006266fc in cppu::ORegistryFactoryHelper::_createModuleFactory(void)
#6 0x006258d4 in cppu::ORegistryFactoryHelper::_createInstanceEveryTime(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#7 0x00624260 in cppu::OSingleFactoryHelper::_createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#8 0x00625380 in cppu::OFactoryComponentHelper::_createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#9 0x00712eac in stoc_smgr::OServiceManager::_createInstanceWithContext(rtl::OUString const &, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#10 0x00713580 in stoc_smgr::OServiceManager::_createInstance(rtl::OUString const &)
#11 0x00b7ca20 in ucb::_registerAtUcb(com::sun::star::uno::Reference<com::sun::star::ucb::XContentProviderManager> const &, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const &, rtl::OUString const &, rtl::OUString const &, rtl::OUString const &, ucb::ContentProviderRegistrationInfo *)
#12 0x00b4e838 in ucb::_configureUcb(com::sun::star::uno::Reference<com::sun::star::ucb::XContentProviderManager> const &, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const &, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &, _STL::vector<ucb::ContentProviderRegistrationInfo, _STL::allocator<com> > *)
#13 0x017734b4 in UniversalContentBroker::_initialize(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &)
#14 0x006243ac in cppu::OSingleFactoryHelper::_createInstanceWithArgumentsAndContext(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#15 0x006254c0 in cppu::OFactoryComponentHelper::_createInstanceWithArgumentsAndContext(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#16 0x00625ec0 in cppu::ORegistryFactoryHelper::_createInstanceWithArgumentsAndContext(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#17 0x00713208 in stoc_smgr::OServiceManager::_createInstanceWithArgumentsAndContext(rtl::OUString const &, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const &)
#18 0x00713664 in stoc_smgr::OServiceManager::_createInstanceWithArguments(rtl::OUString const &, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const &)
#19 0x00b48d78 in ucb::ContentBroker_Impl::_init(void)
#20 0x00b48cc8 in ucb::ContentBroker_Impl::_init(void) const
#21 0x00b4977c in ucb::ContentBroker_Impl::_getProviderManager(void) const
#22 0x00b488a0 in ucb::ContentBroker::_getContentProviderManagerInterface(void) const
#23 0x00a6fbd4 in utl::LocalFileHelper::_ConvertURLToPhysicalName(String const &, utl &)
#24 0x0001bdec in createTemporaryDirectory(void)
#25 0x0001ba90 in registerServices(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &)
#26 0x00007bcc in Desktop::_Main(void)
#27 0x00d36f78 in SVMain(void)
#28 0x00eb8960 in main
#29 0x000026b0 in _start
#30 0x000024e0 in start

Thread 1:
#0 0x90042588 in semaphore_timedwait_signal_trap
#1 0x9003e7b4 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 0x90020c28 in _pthread_body

Thread 2:
#0 0x9003130c 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 0x90020c28 in _pthread_body

PPC Thread State:
srr0: 0x0178d36c srr1: 0x0208f930 vrsave: 0x00000000
xer: 0x00000000 lr: 0x0177ef94 ctr: 0x0177ef64 mq: 0x00000000
r0: 0x0177d7b8 r1: 0xbfffebc0 r2: 0x000000b2 r3: 0xbfffec58
r4: 0x017b9810 r5: 0x00000000 r6: 0x00000034 r7: 0x00000088
r8: 0x00000070 r9: 0x00000001 r10: 0x00431848 r11: 0x017ea394
r12: 0x0177ef64 r13: 0x00272550 r14: 0xbfffee0c r15: 0x00000000
r16: 0x00000000 r17: 0x005e7c1c r18: 0x00135430 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x006c50e0 r23: 0x006c522c
r24: 0x00135430 r25: 0x005e9de8 r26: 0x005e7a94 r27: 0x0000000b
r28: 0x005e7c08 r29: 0xbfffec58 r30: 0xbfffebc0 r31: 0x0177ef7c
Back to top
OPENSTEP
The One
The One


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

PostPosted: Tue Nov 18, 2003 9:38 am    Post subject:

That's a bad one too and may be indicative of the dualie problem, but I'm really unsure. I've never seen a crash quite like this one through UCB before.

Would you mind installing the CHUD tools to disable one of the processors so we can just eliminate the dual-processor possibility?

Also, if anyone out there has a dual 2GHz G5 and wants to test out the dual-processor problem, it'd be much appreciated if they could grab the OOo pre 1.1.1 X11 based installers and try to run them. The X11 installers (e.g. same ones Sun uses on other platforms) are the only known reliable test case in 1.0.3 for testing the dual processor crash. When I tried the 1.0.3 X11 installers on a test dual 2GHz G5 they crashed every time with both processors enabled.

ed
Back to top
Guest






PostPosted: Sat Nov 22, 2003 8:06 am    Post subject:

Wish I could, but the CHUD tools seem to be a bit beyond my comprehension level. Sorry. Sad
Back to top
OPENSTEP
The One
The One


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

PostPosted: Sat Nov 22, 2003 5:05 pm    Post subject:

Oh, you don't need to *understand* the CHUD tools, just install them Smile After you install them, you'll have a new CPU system preference panel. When you click on it there's a nice graphical interface for turning off one of the CPUs.

You can also use that preference panel to add an icon to your menubar if you find yourself switching things like the processor cache on and off a lot Smile

ed
Back to top
Guest






PostPosted: Sun Nov 23, 2003 6:21 pm    Post subject:

Okay, one more question (I swear I'll get this login issue fixed!):

Which version of the CHUD tools should I use? 2.5.3 or 3.0.1? I'm using Jaguar, not Panther.

Thanks!
Back to top
Guest






PostPosted: Wed Nov 26, 2003 8:00 pm    Post subject:

Okay, I installed version 3.0.1 of the CHUD tools. Then I performed the following steps:

1. Started OOo 1.0.3 with the Start OpenOffice.org app - OOo crashed in a similar manner to the log I posted above.

2. Quit the Start OOo app.

3. Turned off one CPU using CHUD.

4. Verified one CPU was disabled using CPU Monitor.

5. Re-started OOo - this time the application started perfectly.

6. Quit OOo.

7. Turned the disabled CPU back on.

8. Verified both CPUs enabled using CPU Monitor.

9. Re-started OOo - started perfectly.

That's weird. Disabling then re-enabling one CPU seems to have fixed the OOo crash problem I had, at least for the time being. I've not restarted the Mac since installing the CHUD tools.
Back to top
Guest






PostPosted: Sat Jan 24, 2004 10:55 am    Post subject:

I haven't chimed in for awhile, but I wanted to give you an update. I've since restarted the Mac numerous times, with no ill effects regarding OOo. It still works great.

I upgraded to Panther, and everything's still peachy. No problems whatsoever launching and running OOo.
Back to top
airdrummer
Blue Pill


Joined: Jan 29, 2004
Posts: 2

PostPosted: Thu Jan 29, 2004 5:06 pm    Post subject: path problem

just got a powerbook:-) xferred all my stuff from my old iBook(366;-) & tried 2 run oo, using the config/prefs from the ibook(also running 10.3.2) but it won't go:

dyld: /Applications/OpenOffice/program/javaldx can't open library: @executable_path/libsal.dylib.3 (No such file or directory, errno = 2)
dyld: /Applications/OpenOffice/program/soffice.bin can't open library: @executable_path/libsal.dylib.3 (No such file or directory, errno = 2)

but it's there:

tomsPbook:~ tomw$ cd /Applications/OpenOffice
tomsPbook:/Applications/OpenOffice tomw$ find . -name libsal.dylib.3
./program/libsal.dylib.3

so wtf's wrong w/executable_path? seems 2 find soffice.bin ok...
Back to top
airdrummer
Blue Pill


Joined: Jan 29, 2004
Posts: 2

PostPosted: Thu Jan 29, 2004 5:24 pm    Post subject: oops, nevermind;-)

turns out hfstar copied all symlinked libs as absolute paths to the iBook:-}
Back to top
OPENSTEP
The One
The One


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

PostPosted: Thu Jan 29, 2004 9:32 pm    Post subject:

Ack, yeah, that's awful. Espeically if you built OOo from sources (and perhaps with the 1.1.1 installer...) symlinks to absolute paths will be an issue. I believe straight "tar" will be able to handle symlinks properly, as well as owner permissions if you use the "-p" option as root. If this reads like greek, feel free to ask. Moving around OOo should be fine with a

sudo sh 'tar cfp - .; cd dest_ooo_dir && tar xvfp -'

Also be sure to check your "~/.sversionrc" file to change the path there as well.

If you're encountering symlink problems...can you please check if you accidentally got a directory "/Volumes/perdition" on your resultant system? "perdition" is the name of the hard drive where I did the 1.0.3 build. In the past some people have seen perdition crop up on their own computers. Thankfully not too many people name their hard drives "perdition" (not that I'm a sadist...) but still any accidental directories cropping up in /Volumes can really screw things up.

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.