To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=78830 Issue #|78830 Summary|aqua on PowerPC does not launch anymore Component|porting Version|680m214 Platform|PowerPC URL| OS/Version|Mac OS X Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|MacOSX Assigned to|macport Reported by|ericb
------- Additional comments from [EMAIL PROTECTED] Sun Jun 24 05:47:36 +0000 2007 ------- Aqua version on PowerPC / m214 (clean sources) / MacOSX 10.4.9 / XCode 2.4.1 Issue : OpenOffice.org does not launch anymore, giving a "Bus Error" Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x0000000c 0x004fe8f8 in typelib_typedescription_register () The stack contains : #0 0x004fe8f8 in typelib_typedescription_register () #1 0x0527bda4 in com::sun::star::container::cppu_detail_getUnoType () #2 0x0527c180 in com::sun::star::container::cppu_detail_getUnoType () #3 0x05236b20 in cppu::addFactories () #4 0x05233190 in cppu::bootstrapInitialSF () #5 0x05237d84 in cppu::(anonymous namespace)::defaultBootstrap_InitialComponentContext () #6 0x05238ac4 in cppu::defaultBootstrap_InitialComponentContext () #7 0x0001bbdc in desktop::Desktop::CreateApplicationServiceManager () #8 0x000046ec in desktop::Desktop::Init () #9 0x01020d40 in InitVCL (rSMgr=<incomplete type>) at /Volumes/extension1/AQUAVCL20/vcl/ source/app/svmain.cxx:396 #10 0x01021b28 in ImplSVMain () at /Volumes/extension1/AQUAVCL20/vcl/source/app/svmain.cxx: 256 #11 0x01021dc8 in MainRunLoopForThreadedApps (inTimer=0x6e14bf0, inUserData=0x0) at / Volumes/extension1/AQUAVCL20/vcl/source/app/svmainhook.cxx:64 What cause the problem seems to be the "incomplete type" in : com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>::Reference (this=<incomplete type>) at /Volumes/extension1/AQUAVCL20/solver/680/unxmacxp.pro/inc/com/ sun/star/uno/Reference.hxx:119 119 inline Reference< interface_type >::Reference() SAL_THROW( () ) To trace, I set a breakpoint in svmainhook, line 64 with debug=t in sal + vcl. Partial stack gives : #0 com::sun::star::uno::BaseReference::BaseReference (this=0xbfffbf68) at /Volumes/extension1/ AQUAVCL20/solver/680/unxmacxp.pro/inc/com/sun/star/uno/Reference.h:73 #1 0x0138ed10 in com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>::Reference (this=<incomplete type>) at /Volumes/extension1/AQUAVCL20/solver/680/unxmacxp.pro/inc/com/ sun/star/uno/Reference.hxx:119 #2 0x01021b1c in ImplSVMain () at /Volumes/extension1/AQUAVCL20/vcl/source/app/svmain.cxx: 253 #3 0x01021dc8 in MainRunLoopForThreadedApps (inTimer=0x6e14bf0, inUserData=0x0) at / Volumes/extension1/AQUAVCL20/vcl/source/app/svmainhook.cxx:64 #4 0x907f2578 in __CFRunLoopDoTimer () Tracing a bit more, it appears the symbol component_getImplementationEnvironmentExt is missing. (but the build is possible ?) I have tested with libuno_cppuhelper from an old build ( cppuhelper from m211), and OpenOffice.org does launch. The change who probably caused the issue are localized in : cppuhelper/inc/cppuhelper/factory.hxx ( -r1.10 to -r1.11) cppuhelper/source/shlib.cxx ( r1.26 to -r1.27 ) Looks like nobody tested the build before me (?) I have used debug=t too with libuno_cppuhelper, and this seems to be confirmed : com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>::Reference (this=<incomplete type>) at /Volumes/extension1/AQUAVCL20/solver/680/unxmacxp.pro/inc/com/ sun/star/uno/Reference.hxx:121 121 _pInterface = 0; (gdb) s ImplSVMain () at /Volumes/extension1/AQUAVCL20/vcl/source/app/svmain.cxx:256 256 BOOL bInit = InitVCL( xMS ); ... (gdb) 154 oslProcessError err1 = osl_getProcessWorkingDir(&urlWorkDir); (gdb) osl_getProcessWorkingDir (ppustrWorkingDir=0xbfffbe48) at /Volumes/extension1/AQUAVCL20/sal/ osl/unx/process_impl.cxx:350 350 oslProcessError result = osl_Process_E_Unknown; 353 OSL_PRECOND(ppustrWorkingDir, "osl_getProcessWorkingDir(): Invalid parameter"); ... and crash : => no CPLD_ACCESSPATH set. Reading symbols for shared libraries . done loadSharedLibComponentFactory envDcp: gcc3 implName: p.stoc.ORegistryServiceManager libName: servicemgr.uno. Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x0000000c 0x004fe8f8 in typelib_typedescription_register () investigating ... --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]