https://bugs.documentfoundation.org/show_bug.cgi?id=173028
Bug ID: 173028
Summary: Crash doing Find and Replace with remembered attribute
after reloading document
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: high
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
While fixing various Find and Replace bugs, I ran across this situation that
crashes LibreOffice with a 'Thread 1 "soffice.bin" received signal SIGSEGV,
Segmentation fault.'
Steps to reproduce:
-start an empty Writer document
-start find and replace dialog (Ctrl-H)
-turn on any attribute. (I tested with both Page Break and )
-try to find the attribute (seems to be a key step...)
-close the dialog and the document (but not LibreOffice)
-start another new, empty Writer document
-try to start the find and replace dialog => Crash (various different
stacks...)
#0 SfxItemPool::CheckItemInfoFlag (this=0x55555630fb10, nWhich=0, nMask=1) at
svl/source/items/itempool.cxx:469
#1 SfxItemPool::NeedsSurrogateSupport (this=0x55555630fb10, nWhich=0) at
include/svl/itempool.hxx:341
#2 SfxPoolItemHolder::~SfxPoolItemHolder (this=0x55555bb98e28) at
/persistent/git/libreoffice/svl/source/items/itemset.cxx:167
#3 SearchAttrInfo::~SearchAttrInfo at include/svx/srchdlg.hxx:51
#11 SearchAttrItemList::Clear at svx/source/dialog/srchdlg.cxx:222
#12 SearchAttrItemList::~SearchAttrItemList svx/source/dialog/srchdlg.cxx:188
itempool.cxx:469 is const ItemInfo* pInfo(pTarget->maItemInfos[nIndex]);
(gdb) p pTarget->maItemInfos
$2 = std::__debug::vector of length 46, capacity 17592150153799 = {❌️ Cannot
access memory at address 0x0
--
You are receiving this mail because:
You are the assignee for the bug.