Issue 13747 - pushing all headings down one level crashes the office
Summary: pushing all headings down one level crashes the office
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 644m11
Hardware: PC Windows 2000
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-23 16:42 UTC by schulten
Modified: 2013-08-07 14:42 UTC (History)
1 user (show)

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


Attachments
Crashing sample file (17.91 KB, application/octet-stream)
2003-04-23 16:42 UTC, schulten
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description schulten 2003-04-23 16:42:24 UTC
If I open the navigator for the attached document, select the highest heading 
and click demote level, the office crashes immediately.
Comment 1 schulten 2003-04-23 16:42:59 UTC
Created attachment 5830 [details]
Crashing sample file
Comment 2 eric.savary 2003-04-23 17:54:27 UTC
ES->OSReproducible

SW644MI! SwModify::Add(class SwClient *) + 143 bytes
VOS3MSC! vos::OMutex::~OMutex(void) + 28 bytes
VCL644MI! SalYieldMutex::`vector deleting destructor'(unsigned int) +
8 bytes
SW644MI! SwTxtNode::ChgFmtColl(class SwFmtColl *) + 98 bytes
SW644MI! SwDoc::OutlineUpDown(class SwPaM const &,short) + 564 bytes
SW644MI! SwEditShell::OutlineUpDown(short) + 45 bytes
SW644MI! SwNavigationPI::ToolBoxSelectHdl(class ToolBox *) + 508 bytes
SW644MI! SwNavigationPI::LinkStubToolBoxSelectHdl(void *,void *) + 14
bytes
VCL644MI! ToolBox::Select(void) + 35 bytes
VCL644MI! ToolBox::ImplHandleMouseButtonUp(class MouseEvent const
&,unsigned char) + 397 bytes
VCL644MI! ToolBox::Tracking(class TrackingEvent const &) + 36 bytes
VCL644MI! Window::EndTracking(unsigned short) + 297 bytes
VCL644MI! ImplHandleMouseEvent(class Window *,unsigned short,unsigned
char,long,long,unsigned long,unsigned short,unsigned short) + 3260 bytes
VCL644MI! ImplWindowFrameProc(void *,class SalFrame *,unsigned
short,void const *) + 297 bytes
VCL644MI! SalFrameWndProc(struct HWND__ *,unsigned int,unsigned
int,long,int &) + 3455 bytes
VCL644MI! SalFrameWndProc(struct HWND__ *,unsigned int,unsigned
int,long,int &) + 1095 bytes
VCL644MI! SalFrameWndProcW(struct HWND__ *,unsigned int,unsigned
int,long) + 43 bytes
USER32! 77d43a5f()
8b551024()
Comment 3 eric.savary 2003-04-23 17:55:01 UTC
Reassigned to OS
Comment 4 schulten 2003-04-23 18:16:24 UTC
Whoa! What's this?

Dietrich
Comment 5 Oliver Specht 2003-04-24 08:43:28 UTC
There are no heading assigned for the levels > 6. 
Comment 6 schulten 2003-04-24 12:14:10 UTC
Yes, but the office should not crash. If you demote an entire 
document one level, a Head 6 which becomes unassigned is changed to 
the default Heading 7 etc., only if you demote again, the office 
crashes.

Another problem might be headings that exceed the 10 headings limit.

The use case is: we have to integrate a section into the developers 
guide that starts at heading level 1, and we must e.g. start at level 
3 in the target chapter. We demote all headings to the correct level, 
then we can copy and paste the new section into the target chapter 
without breaking the existing hierarchy. At the moment we can only 
demote one level.

I hope you can accept the issue now.

Dietrich
Comment 7 openoffice 2003-04-30 11:05:33 UTC
changed: sw/source/core/doc/docnum.cxx: 1.11.26.1 (aw002)
Comment 8 openoffice 2003-05-14 12:24:02 UTC
Ready for QA
Comment 9 openoffice 2003-05-14 12:28:00 UTC
Ready for QA.
Comment 10 eric.savary 2003-05-14 15:28:11 UTC
Hi Dietrich!

To answer your question: this UFO was a stack trace of the crash on
Windows. :)

Bye

ES: verified in aw02
Comment 11 eric.savary 2003-05-14 15:39:18 UTC
Verified
Comment 12 jensja 2003-06-02 10:37:56 UTC
issue 14901 seems related.
Could anyone with access to the fixed version please have a look? 

Thanks,
Jens
Comment 13 schulten 2003-06-02 10:50:03 UTC
Issue 14901 seems related, but my sample document behaves differently 
in beta 2: nothing happens when demote is clicked ;-)

Dietrich
Comment 14 eric.savary 2003-06-04 12:53:42 UTC
fixed in 645m3s1


Comment 15 eric.savary 2003-06-04 12:54:44 UTC
I'll write an other task for the nor working Demote button