http://openoffice.org/bugzilla/show_bug.cgi?id=117962
--- Comment #6 from [email protected] 2011-05-04 09:46:01 --- valgrind says: ==29049== Invalid read of size 4 ==29049== at 0x10AD154C: SwAnchoredObject::AnchorFrm() (anchoredobject.cxx:166) ==29049== by 0x10A18939: SwDrawContact::GetAnchorFrm(SdrObject*) (dcontact.cxx:904) ==29049== by 0x10B5C509: SwFlyFrm::IsPaint(SdrObject*, ViewShell const*) (paintfrm.cxx:3457) ==29049== by 0x10B5A34E: (anonymous namespace)::SwViewObjectContactRedirector::createRedirectedPrimitive2DSequence(sdr::contact::ViewObjectContact const&, sdr::contact::DisplayInfo const&) (paintfrm.cxx:2731) ==29049== by 0xDF9EBB6: sdr::contact::ViewObjectContact::getPrimitive2DSequence(sdr::contact::DisplayInfo const&) const (in /net/x4240-so2/export/home/ms216673/inst/OO_sw34bf06_li/OOo_3.4.0_Linux_x86_install-arc_en-US/openoffice.org/basis3.4/program/libsvxcoreli.so) ==29049== Address 0xcb5e5f0 is 4 bytes after a block of size 36 alloc'd ==29049== at 0x4024F50: malloc (vg_replace_malloc.c:236) ==29049== by 0x40296F4: rtl_allocateMemory (in /so/ws/DEV300/unxlngi6/lib.m106/libsalalloc_malloc.so.3) ==29049== by 0x8049046: ??? (in /net/x4240-so2/export/home/ms216673/inst/OO_sw34bf06_li/OOo_3.4.0_Linux_x86_install-arc_en-US/openoffice.org3/program/soffice.bin) ==29049== by 0x8049185: operator new(unsigned int) (in /net/x4240-so2/export/home/ms216673/inst/OO_sw34bf06_li/OOo_3.4.0_Linux_x86_install-arc_en-US/openoffice.org3/program/soffice.bin) ==29049== by 0x10DABA98: SwXFrame::GetOrCreateSdrObject(SwFlyFrmFmt*) (unoframe.cxx:905) ==29049== by 0x109214BE: SwDoc::CopyLayoutFmt(SwFrmFmt const&, SwFmtAnchor const&, bool, bool) (doclay.cxx:445) the allocation site: SwFlyDrawContact* pContactObject = new SwFlyDrawContact( pFmt, pDrawModel ); but SwDrawContact does not derive from SwFlyDrawContact: both SwDrawContact and SwFlyDrawContact are direct subclasses of SwContact. => somewhere there is a wrong static cast -- Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Bugzilla. Please log into the website and enter your comments. --------------------------------------------------------------------- -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help
