Apache OpenOffice (AOO) Bugzilla – Issue 13747
pushing all headings down one level crashes the office
Last modified: 2013-08-07 14:42:08 UTC
If I open the navigator for the attached document, select the highest heading and click demote level, the office crashes immediately.
Created attachment 5830 [details] Crashing sample file
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()
Reassigned to OS
Whoa! What's this? Dietrich
There are no heading assigned for the levels > 6.
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
changed: sw/source/core/doc/docnum.cxx: 1.11.26.1 (aw002)
Ready for QA
Ready for QA.
Hi Dietrich! To answer your question: this UFO was a stack trace of the crash on Windows. :) Bye ES: verified in aw02
Verified
issue 14901 seems related. Could anyone with access to the fixed version please have a look? Thanks, Jens
Issue 14901 seems related, but my sample document behaves differently in beta 2: nothing happens when demote is clicked ;-) Dietrich
fixed in 645m3s1
I'll write an other task for the nor working Demote button