Apache OpenOffice (AOO) Bugzilla – Issue 17649
11rc3: registry patch to not inline store.hxx inlines
Last modified: 2004-02-15 07:31:11 UTC
For whatever reason, making the inline functions in store.hxx inline here in the registry module caused cppumaker to run off into the weeds. Un-inlining these functions corrects the problem.
Created attachment 8155 [details] cd registry, patch -p0 < /path/to/patchfile
looks liek a compiler bug - would be nice if there was a bug about this in some bugtracker for the macosx gcc so it gets eventualy fixed (provided there is such bugtracker) approved
Sander, Here's a backtrace from the problem. It might have been because I wasn't compiling STLport correctly, but I'm not sure how to check that since I can't get cppumaker to process files on its own without blowing away a whole module. But I might do that. Dan Date/Time: 2003-07-24 22:56:46 -0500 OS Version: 10.2.6 (Build 6L60) Host: Jade.local. Command: cppumaker PID: 675 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x4801a704 Thread 0 Crashed: #0 0x4801a704 in 0x4801a704 #1 0x00230ad0 in 0x230ad0 #2 0x0020e108 in ORegistry::initRegistry(rtl::OUString const&, unsigned short) #3 0x002173dc in openRegistry(_rtl_uString*, void**, unsigned short) #4 0x00039398 in 0x39398 #5 0x0002528c in RegistryTypeManager::init(_STL::vector<rtl::OString, _STL::allocator<rtl::OString> > const&, _STL::vector<rtl::OString, _STL::allocator<rtl::OString> > const&) (typemanager.cxx:179) #6 0x00002e0c in main (cppumaker.cxx:145) #7 0x0000246c in _start (crt.c:267) #8 0x000022ec in start PPC Thread State: srr0: 0x4801a704 srr1: 0x4000d030 vrsave: 0x00000000 xer: 0x00000000 lr: 0x0025ce70 ctr: 0x4801a704 mq: 0x00000000 r0: 0x00000007 r1: 0xbfffe560 r2: 0x0024b864 r3: 0x002683f8 r4: 0x001cc688 r5: 0xbfffe680 r6: 0xbfffe690 r7: 0x00000003 r8: 0x00000400 r9: 0x0057ba10 r10: 0x0024b778 r11: 0x002372ac r12: 0x4801a704 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000 r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000 r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000 r24: 0x00000000 r25: 0x00000000 r26: 0xbfffead8 r27: 0x0000000c r28: 0x001cc688 r29: 0xbfffe680 r30: 0xbfffe5b0 r31: 0x0020df28
committed to cws_srx645_ooo11rc3
verfied in 1.1.0.
close issue