[Libreoffice] crash in svtree re-factor ...

Joseph Powers jpowers27 at cox.net
Thu May 26 07:00:55 PDT 2011


I'm showing:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libtlmxi.dylib                	0x014eb11a String::String(String const&) + 10
1   libsvtmxi.dylib               	0x00ac1075 SvTreeListBox::DefaultCompare(SvSortData*) + 53
2   libsvtmxi.dylib               	0x00ad3f78 SvTreeList::Compare(SvListEntry*, SvListEntry*) const + 56
3   libsvtmxi.dylib               	0x00ad4bcc SvTreeList::GetInsertionPos(SvListEntry*, SvListEntry*, unsigned long&) + 188
4   libsvtmxi.dylib               	0x00ad5345 SvTreeList::ResortChilds(SvListEntry*) + 133
5   libsvtmxi.dylib               	0x00ad5435 SvTreeList::Resort() + 69
6   libcuimxi.dylib               	0x60c07237 SvxPathTabPage::HeaderSelect_Impl(HeaderBar*) + 135
7   libcuimxi.dylib               	0x60c0b72d SvxPathTabPage::Reset(SfxItemSet const&) + 1181
8   libcuimxi.dylib               	0x60c22d58 OfaTreeOptionsDialog::SelectHdl_Impl(Timer*) + 4840
9   libvclmxi.dylib               	0x0176f19c Timer::Timeout() + 28
10  libvclmxi.dylib               	0x0176f2b9 Timer::ImplTimerCallbackProc() + 121
11  libvclmxi.dylib               	0x01a7a591 SalGetDesktopEnvironment() + 24929

And it's in the Options->Path not print...

It does look like something I did... looking into it now.

Joe P.

On May 26, 2011, at 6:02 AM, Michael Meeks wrote:

> Hi there,
> 
> 	Tools->Options - press arrow down a few times to the print options:
> Bang ... valgrind log appended.
> 
> 	Seems to be a result of your conversion to stl types.
> 
> 	Thanks,
> 
> 		Michael.
> 
> =15812== Invalid read of size 2
> ==15812==    at 0x4D09A28: SvPtrarr::Count() const (svarray.hxx:455)
> ==15812==    by 0x4D65BAA: SvLBoxEntry::GetFirstItem(unsigned short) (svlbox.cxx:647)
> ==15812==    by 0x4D77544: SvTreeListBox::DefaultCompare(SvSortData*) (svtreebx.cxx:2267)
> ==15812==    by 0x4D77507: SvTreeListBox::LinkStubDefaultCompare(void*, void*) (svtreebx.cxx:2263)
> ==15812==    by 0x4CF2694: Link::Call(void*) const (link.hxx:140)
> ==15812==    by 0x4D8C8D9: SvTreeList::Compare(SvListEntry*, SvListEntry*) const (treelist.cxx:1939)
> ==15812==    by 0x4D8CB5D: SvTreeList::GetInsertionPos(SvListEntry*, SvListEntry*, unsigned long&) (treelist.cxx:1996)
> ==15812==    by 0x4D8CA03: SvTreeList::ResortChilds(SvListEntry*) (treelist.cxx:1966)
> ==15812==    by 0x4D8C93C: SvTreeList::Resort() (treelist.cxx:1948)
> ==15812==    by 0x13B2D557: ??? (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libcuili.so)
> ==15812==    by 0x13B2FCAF: ??? (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libcuili.so)
> ==15812==    by 0x13B3FF3E: ??? (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libcuili.so)
> ==15812==  Address 0xdee29b2 is 6 bytes after a block of size 20 alloc'd
> ==15812==    at 0x402911D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
> ==15812==    by 0x405FEF4: rtl_allocateMemory (in /data/opt/OOInstall/ure/lib/libuno_sal.so.3)
> ==15812==    by 0x8048C53: ??? (in /data/opt/OOInstall/program/soffice.bin)
> ==15812==    by 0x8048D15: operator new(unsigned int) (in /data/opt/OOInstall/program/soffice.bin)
> ==15812==    by 0x4D89295: SvTreeEntryList::SvTreeEntryList(SvTreeEntryList&) (treelist.cxx:129)
> ==15812==    by 0x4D8C9A5: SvTreeList::ResortChilds(SvListEntry*) (treelist.cxx:1958)
> ==15812==    by 0x4D8C93C: SvTreeList::Resort() (treelist.cxx:1948)
> ==15812==    by 0x13B2D557: ??? (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libcuili.so)
> ==15812==    by 0x13B2FCAF: ??? (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libcuili.so)
> ==15812==    by 0x13B3FF3E: ??? (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libcuili.so)
> ==15812==    by 0x57386AA: Link::Call(void*) const (in /data/opt/libreoffice/bootstrap/clone/libs-gui/vcl/unxlngi6.pro/lib/libvclli.so)
> ==15812==    by 0x57453AA: Timer::Timeout() (in /data/opt/libreoffice/bootstrap/clone/libs-gui/vcl/unxlngi6.pro/lib/libvclli.so)
> ==15812== 
> ==15812== Invalid read of size 4
> ==15812==    at 0x5487816: String::String(String const&) (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libtlli.so)
> ==15812==    by 0x4D473B3: SvLBoxString::GetText() const (svlbitm.hxx:133)
> ==15812==    by 0x4D77555: SvTreeListBox::DefaultCompare(SvSortData*) (svtreebx.cxx:2267)
> ==15812==    by 0x4D77507: SvTreeListBox::LinkStubDefaultCompare(void*, void*) (svtreebx.cxx:2263)
> ==15812==    by 0x4CF2694: Link::Call(void*) const (link.hxx:140)
> ==15812==    by 0x4D8C8D9: SvTreeList::Compare(SvListEntry*, SvListEntry*) const (treelist.cxx:1939)
> ==15812==    by 0x4D8CB5D: SvTreeList::GetInsertionPos(SvListEntry*, SvListEntry*, unsigned long&) (treelist.cxx:1996)
> ==15812==    by 0x4D8CA03: SvTreeList::ResortChilds(SvListEntry*) (treelist.cxx:1966)
> ==15812==    by 0x4D8C93C: SvTreeList::Resort() (treelist.cxx:1948)
> ==15812==    by 0x13B2D557: ??? (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libcuili.so)
> ==15812==    by 0x13B2FCAF: ??? (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libcuili.so)
> ==15812==    by 0x13B3FF3E: ??? (in /data/opt/libreoffice/bootstrap/solver/340/unxlngi6.pro/lib/libcuili.so)
> ==15812==  Address 0x4 is not stack'd, malloc'd or (recently) free'd
> 
> 
> -- 
> michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot
> 
> 



More information about the LibreOffice mailing list