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

Maciej Rumianowski maciej.rumianowski at gmail.com
Mon Nov 26 07:07:17 PST 2012

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20121126/83b9ba80/attachment.html>

More information about the LibreOffice mailing list