https://bugs.documentfoundation.org/show_bug.cgi?id=162911

--- Comment #9 from Armin Le Grand <[email protected]> ---
(In reply to Xisco FaulĂ­ from comment #7)
> Can you share the info from Help - About LibreOffice?

Sure:
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c37d18c0a8dbe77ead043a1f3dce86192ca74a79
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

> Steps:
> 1. Open writer
> 2. type '[email protected]'
> 3. type space
> 4. type '[email protected]'
> 5. type space
> 6. Undo once or twice
> 
> -> Crash

Seems just not to happen everytime, but I was lucky (?) now, got the crash.

LO output:

soffice.bin: /home/alg/lo/h_work01/include/svl/itemset.hxx:70: const
SfxPoolItem* SfxPoolItemHolder::getItem() const: Assertion `!isDeleted() &&
"Destructed instance used (!)"' failed.

Indeed the SfxPoolItemHolder (which has a dbg-only member bDeleted) states to
be deleted.

Stack:

libc.so.6!__assert_fail(const char * assertion, const char * file, unsigned int
line, const char * function) (assert.c:103)
libswlo.so!SfxPoolItemHolder::getItem(const class SfxPoolItemHolder * const
this) (/home/alg/lo/h_work01/include/svl/itemset.hxx:70)
libswlo.so!SwTextAttr::GetINetFormat(const class SwTextAttr * const this)
(/home/alg/lo/h_work01/sw/inc/txatbase.hxx:253)
libswlo.so!SwTextINetFormat::GetCharFormat(class SwTextINetFormat * const this)
(/home/alg/lo/h_work01/sw/source/core/txtnode/txtatr2.cxx:140)
libswlo.so!SwTextINetFormat::GetCharFormat(const class SwTextINetFormat * const
this) (/home/alg/lo/h_work01/sw/inc/txtinet.hxx:54)
libswlo.so!CharFormat::GetItemSet(const class SfxPoolItem & rAttr)
(/home/alg/lo/h_work01/sw/source/core/text/atrstck.cxx:146)
libswlo.so!CharFormat::GetItem(const class SwTextAttr & rAttr, sal_uInt16
nWhich) (/home/alg/lo/h_work01/sw/source/core/text/atrstck.cxx:164)
libswlo.so!CharFormat::GetItem<SvxCharHiddenItem>(const class SwTextAttr &
rAttr, class TypedWhichId<SvxCharHiddenItem> nWhich)
(/home/alg/lo/h_work01/sw/inc/charfmt.hxx:54)

Have to continue tomorrow, but interestingly *this from
SwTextAttr::GetINetFormat is 0x55555acc6010 while in
SwTextINetFormat::GetCharFormat it is 0x55555acc5fd0 (?).

Also wondering why in SwTextINetFormat::GetCharFormat() the line

    const SwFormatINetFormat& rFormat = SwTextAttrEnd::GetINetFormat();

is used, not just

    const SwFormatINetFormat& rFormat = GetINetFormat();

Is there some strange class hierarchy...?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to