Apache OpenOffice (AOO) Bugzilla – Issue 124877
reset formatting behind special formattings hangs AOO
Last modified: 2017-05-20 10:35:33 UTC
Created attachment 83377 [details] file with style to reset Open freezeD.odt, put the cursor before 'AAA', hit ^m for DefaultFormatting. OO becomes 'Not responding'. Double-clicking Numbering 3 in the Styles&Formatting window does restore the formatting as expected. ^m also does it if the cursor is after 'AAA'. AFTER that, putting the cursor before 'AAA' and hitting ^m does nothing --does not hang OO. Thinking it might be due to user-profile corruption, I reset it according to https://forum.openoffice.org/en/forum/viewtopic.php?f=74&t=12426 Resetting the user profile Same result.
Can confirm for 4.1 Linux but not for earlier versions so set the keyword REGRESSION. The issue occurs also by sing the (context) menu entry.
can confirm on w7 64bit with aoo410
Created attachment 83384 [details] another document that demonstrates the crash Attached is another document that demonstrates the crash at another position. Description to reproduce is inside the document.
Reproducible on Windows XP and under Ubuntu 14.04 using AOO 4.1. No problem under AOO 4.0.1.
*** Issue 124938 has been marked as a duplicate of this issue. ***
Attaching the debugger shows a recurrent place in sw/source/core/txtnode/txtedt.cxx (gdb) bt #0 SfxItemSet::GetItemState (this=0x2e4f138, nWhich=118, bSrchInParent=0 '\000', ppItem=0x0) at /build/aoo/src/playground/trunk/main/svl/source/items/itemset.cxx:511 #1 0x00007f40d1a1d850 in lcl_HaveCommonAttributes(IStyleAccess&, SfxItemSet const*, unsigned short, SfxItemSet const&, boost::shared_ptr<SfxItemSet>&) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so #2 0x00007f40d1a1e88d in SwTxtNode::RstTxtAttr(SwIndex const&, unsigned short, unsigned short, SfxItemSet const*, unsigned char) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so #3 0x00007f40d1833c6b in lcl_RstTxtAttr(SwNode* const&, void*) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so #4 0x00007f40d17d4b4c in BigPtrArray::ForEach(unsigned long, unsigned long, unsigned char (*)(BigPtrEntry* const&, void*), void*) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so #5 0x00007f40d18369ea in SwDoc::ResetAttrs(SwPaM const&, unsigned char, SvUShortsSort const*, bool) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so #6 0x00007f40d18c891e in SwEditShell::ResetAttr(SvUShortsSort const*) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so #7 0x00007f40d1c7cadd in SwTextShell::Execute(SfxRequest&) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so may be introduced in one of this revisions Revision 1458875 Revision 1527563 Revision 1542986 Setting Olivier on CC.
taking over to have a closer look.
Very serious defect introduced by changes made for issue 123389 - revision 1527563 as Ariel already had noticed. My refactoring to method <SwTxtNode::RstTxtAttr(..)> caused this defect. Fix is in progress.
"orw" committed SVN revision 1597076 into trunk: 124877: method <SwTxtNode::RstTxtAttr(..)> - correct refactoring (made for is...
fixed on trunk
grant showstopper flag, regression and already fixed
"orw" committed SVN revision 1603785 into branches/AOO410: 124877: method <SwTxtNode::RstTxtAttr(..)> - correct refactoring (made for is...
fixed on branch AOO410 for planned 4.1.1 release
Verified with AOO411m1(Build:9770) - Rev. 1603804 on Ubuntu 14.03
OK. Resolved. No crash observed unter AOO 4.1.1 Build 9770 Ubuntu 14.04.
*** Issue 125184 has been marked as a duplicate of this issue. ***
*** Issue 125178 has been marked as a duplicate of this issue. ***
It's verified fixed in build AOO411m1(Build:9770) - Rev. 1603804 on Win 7
*** Issue 125276 has been marked as a duplicate of this issue. ***
*** Issue 125407 has been marked as a duplicate of this issue. ***