Bug 34465 - get rid of all calls to virtual const SfxPoolItem* Put( const SfxPoolItem&, USHORT nWhich)

Maciej Rumianowski maciej.rumianowski at gmail.com
Fri Nov 30 02:00:50 PST 2012


Just Ping if someone could help me on that.

2012/11/26 Maciej Rumianowski <maciej.rumianowski at gmail.com>

> I failed here. Every place Item with which-id 4040 (EE_FEATURE_LINEBR) is
> created/copied/setWhich is a valid SfxVoidItem with Type() method. Only
> fails in SfxItemSet destructor as below
>
> Program received signal SIGSEGV, Segmentation fault.
>> 0x4496cc33 in SfxItemSet::~SfxItemSet (this=0xbfff51e8,
>> __in_chrg=<optimized out>) at
>> /home/maciej/programowanie/libreoffice/libo/svl/source/items/itemset.cxx:317
>> 317                    if( (*ppFnd)->Type() == SfxVoidItem::StaticType() )
>>
>> (gdb) call (*ppFnd)->Type()
>> Cannot access memory at address 0xfca0f97
>>
>> typeid.name() returns SfxPoolItem
>
> (gdb) print t1
>> $30 = 0x4213256d "PK11SfxPoolItem"
>>
>
> Any help appreciated
>
> Best Regards
> Maciek
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20121130/6518dd1e/attachment.html>


More information about the LibreOffice mailing list