Issue 100132 - WW8: certain list crashes on import
Summary: WW8: certain list crashes on import
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOO310m4
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
Keywords: crash, regression
Depends on:
Blocks: 95768
  Show dependency tree
Reported: 2009-03-11 17:18 UTC by richlv
Modified: 2013-08-07 14:43 UTC (History)
2 users (show)

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

Very short document without confidential data (39.00 KB, application/msword)
2009-03-12 12:48 UTC, michael.ruess
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description richlv 2009-03-11 17:18:25 UTC
opening a particular, confidential .doc file crashes both OOO310_m4 and 
Comment 1 richlv 2009-03-11 17:19:50 UTC
testcase sent to mru; crashreports with both tested versions submitted.
Comment 2 richlv 2009-03-11 17:58:16 UTC
report ids : rp837vc and rsf37vc
Comment 3 michael.ruess 2009-03-12 12:47:29 UTC
MRU->OD / HBRINKM: the document crashes during import. Crash report lists
something like:
SvxNumberFormat::SvxNumberFormat(SvxNumberFormat const&)
SwNumFmt::SwNumFmt(SwNumFmt const&)
WW8ListManager::GetNumRuleForActivation(unsigned short, unsigned char,
_STL::vector >&, SwTxtNode*)
SwWW8ImplReader::RegisterNumFmtOnTxtNode(unsigned short, unsigned char, bool)
SwWW8ImplReader::RegisterNumFmt(unsigned short, unsigned char)
SwWW8ImplReader::Read_LFOPosition(unsigned short, unsigned char const*, short)
SwWW8ImplReader::ImportSprm(unsigned char const*, unsigned short)
SwWW8ImplReader::ReadTextAttr(long&, bool&)
Comment 4 michael.ruess 2009-03-12 12:48:34 UTC
Created attachment 60896 [details]
Very short document without confidential data
Comment 5 Oliver-Rainer Wittmann 2009-03-12 13:12:52 UTC
defect cause found:
<SwNumberFormat> instance for list level 5 is directly accessed in <SwNumRule>
instance, but for this list level no <SwNumberFormat> instance exists.
Fix for issue 25545 in cws hb12, integrated into DEV300m38 causes this crash.

Instead of calling method <SwNumRule::GetNumFmt(..)> call method
<SwNumRule::Get(..)>. This method provides a default <SwNumberFormat> instance,
if for the given list level none exists.

taking over this issue
Comment 6 Oliver-Rainer Wittmann 2009-03-12 13:17:53 UTC
fix in progress in cws sw31bf08
Comment 7 Oliver-Rainer Wittmann 2009-03-12 13:46:24 UTC
small change: fix will be made in cws fwk105 - I have hijacked this cws from CD ;-)
Comment 8 Oliver-Rainer Wittmann 2009-03-12 14:20:33 UTC
fixed in cws fwk105 - changed file:
/sw/source/filter/ww8/ww8par3.cxx, rev. 269401
Comment 9 Oliver-Rainer Wittmann 2009-03-13 11:35:59 UTC
OD->MRU: Checked in internal installation set of cws fwk105 - please verify.
Comment 10 michael.ruess 2009-03-16 11:39:26 UTC
Verified in CWS fwk105.
Comment 11 michael.ruess 2009-03-24 14:24:18 UTC
Checked fix in OOO310m7.