Issue 47748 - cppu::defaultBootstrap_InitialComponentContext() called twice during startup
Summary: cppu::defaultBootstrap_InitialComponentContext() called twice during startup
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 680m86
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: matthias.huetsch
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks: 20269
  Show dependency tree
 
Reported: 2005-04-19 14:16 UTC by matthias.huetsch
Modified: 2005-04-26 17:45 UTC (History)
1 user (show)

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


Attachments
Proposed patch (module desktop) (4.69 KB, patch)
2005-04-19 14:39 UTC, matthias.huetsch
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description matthias.huetsch 2005-04-19 14:16:14 UTC
Due to changes in desktop/source/app/cmdlineargs.cxx integrated into milestone
SRC680_m86, a second UNO component context (i.e. ServiceManager) is bootstrapped
during soffice.bin startup.

Verification: there are two instances of types.rdb and services.rdb (memory)
mapped into the process address space.

This duplicate bootstrap has a negative impact upon startup performance, is
unnecessary and can be easily avoided (a proposed patch follows).
Comment 1 matthias.huetsch 2005-04-19 14:18:48 UTC
Adding dependency to issue 20269 (startup perfomance), from which target (OOo
2.0) and priority (P2) are inherited.
Comment 2 matthias.huetsch 2005-04-19 14:36:47 UTC
Attaching proposed patch...
Comment 3 matthias.huetsch 2005-04-19 14:39:02 UTC
Created attachment 25217 [details]
Proposed patch (module desktop)
Comment 4 malte_timmermann 2005-04-20 08:47:16 UTC
Fxied in CWS "perform03"
Comment 5 malte_timmermann 2005-04-20 13:18:46 UTC
MT->MHU: Please verify, QA can't do...

re-open issue and reassign to mhu@openoffice.org
Comment 6 malte_timmermann 2005-04-20 13:18:53 UTC
reassign to mhu@openoffice.org
Comment 7 malte_timmermann 2005-04-20 13:18:57 UTC
reset resolution to FIXED
Comment 8 matthias.huetsch 2005-04-20 14:03:39 UTC
Verified on cws perform03 (unxlngi6.pro):

cat /proc/<pid>/maps | grep types.rdb

now shows only one instance.

=> verified.
Comment 9 matthias.huetsch 2005-04-26 17:45:28 UTC
Fix integrated into milestone SRC680_m97 => closing...