Issue 17649 - 11rc3: registry patch to not inline store.hxx inlines
Summary: 11rc3: registry patch to not inline store.hxx inlines
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: fa
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks: 17274
  Show dependency tree
 
Reported: 2003-07-30 17:16 UTC by fa
Modified: 2004-02-15 07:31 UTC (History)
3 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
cd registry, patch -p0 < /path/to/patchfile (755 bytes, patch)
2003-07-30 17:16 UTC, fa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description fa 2003-07-30 17:16:22 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.
Comment 1 fa 2003-07-30 17:16:59 UTC
Created attachment 8155 [details]
cd registry, patch -p0 < /path/to/patchfile
Comment 2 sander_traveling 2003-07-31 12:26:07 UTC
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
Comment 3 fa 2003-07-31 13:43:13 UTC
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
Comment 4 fa 2003-07-31 18:33:57 UTC
committed to cws_srx645_ooo11rc3
Comment 5 Martin Hollmichel 2004-02-15 07:28:03 UTC
verfied in 1.1.0.
Comment 6 Martin Hollmichel 2004-02-15 07:31:11 UTC
close issue