Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


https://bugs.freedesktop.org/show_bug.cgi?id=35673

--- Comment #96 from Noel Power <nopower@novell.com> 2011-05-10 11:06:05 PDT ---


valgrind says

==1706== Invalid read of size 1
==1706==    at 0x1EC41058: SwViewImp::SetFirstVisPageInvalid()
(viewimp.hxx:186)
==1706==    by 0x1EF750D3: ViewShell::SetFirstVisPageInvalid() (viewsh.cxx:907)
==1706==    by 0x1EC58A98: SwPageFrm::Modify(SfxPoolItem const*, SfxPoolItem
const*) (pagechg.cxx:554)
==1706==    by 0x1E966638: SwClient::ModifyNotification(SfxPoolItem const*,
SfxPoolItem const*) (calbck.hxx:111)
==1706==    by 0x1E969140: SwFmt::~SwFmt() (format.cxx:267)
==1706==    by 0x1EA3BF3E: SwFrmFmt::~SwFrmFmt() (in
/data4/OOO_BUILD_GIT/ooo-build/bootstrap/solver/300/unxlngx6.pro/lib/libswlx.so)
==1706==    by 0x1EC5F5BC: SwPageDesc::~SwPageDesc() (pagedesc.cxx:114)
==1706==    by 0x1EC5F691: SwPageDesc::~SwPageDesc() (pagedesc.cxx:116)
==1706==    by 0x1E9D80DB: SwPageDescs::DeleteAndDestroy(unsigned short,
unsigned short) (doc.cxx:144)
==1706==    by 0x1EA537E2: SwDoc::~SwDoc() (docnew.cxx:561)
==1706==    by 0x1EA549BB: SwDoc::~SwDoc() (docnew.cxx:664)
==1706==    by 0x1EF7CAFB: ViewShell::~ViewShell() (vnew.cxx:320)
==1706==  Address 0x50 is not stack'd, malloc'd or (recently) free'd
==1706== 
==1706== 
==1706== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==1706==  Access not within mapped region at address 0x50
==1706==    at 0x1EC41058: SwViewImp::SetFirstVisPageInvalid()
(viewimp.hxx:186)
==1706==    by 0x1EF750D3: ViewShell::SetFirstVisPageInvalid() (viewsh.cxx:907)
==1706==    by 0x1EC58A98: SwPageFrm::Modify(SfxPoolItem const*, SfxPoolItem
const*) (pagechg.cxx:554)
==1706==    by 0x1E966638: SwClient::ModifyNotification(SfxPoolItem const*,
SfxPoolItem const*) (calbck.hxx:111)
==1706==    by 0x1E969140: SwFmt::~SwFmt() (format.cxx:267)
==1706==    by 0x1EA3BF3E: SwFrmFmt::~SwFrmFmt() (in
/data4/OOO_BUILD_GIT/ooo-build/bootstrap/solver/300/unxlngx6.pro/lib/libswlx.so)
==1706==    by 0x1EC5F5BC: SwPageDesc::~SwPageDesc() (pagedesc.cxx:114)
==1706==    by 0x1EC5F691: SwPageDesc::~SwPageDesc() (pagedesc.cxx:116)
==1706==    by 0x1E9D80DB: SwPageDescs::DeleteAndDestroy(unsigned short,
unsigned short) (doc.cxx:144)
==1706==    by 0x1EA537E2: SwDoc::~SwDoc() (docnew.cxx:561)
==1706==    by 0x1EA549BB: SwDoc::~SwDoc() (docnew.cxx:664)
==1706==    by 0x1EF7CAFB: ViewShell::~ViewShell() (vnew.cxx:320)
==1706==  If you believe this happened as a result of a stack
==1706==  overflow in your program's main thread (unlikely but
==1706==  possible), you can try to increase the size of the
==1706==  main thread stack using the --main-stacksize= flag.
==1706==  The main thread stack size used in this run was 8388608.
==1706== Thread 5:
==1706== Invalid free() / delete / delete[]
==1706==    at 0x4C25F7B: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1706==    by 0x60DD2FA: ??? (in /lib64/libc-2.11.2.so)
==1706==    by 0x60DCEA1: ??? (in /lib64/libc-2.11.2.so)
==1706==    by 0x4A215C8: _vgnU_freeres (in
/usr/lib64/valgrind/vgpreload_core-amd64-linux.so)
==1706==  Address 0x4048480 is not stack'd, malloc'd or (recently) free'd
==1706== 
==1706== 
==1706== HEAP SUMMARY:
==1706==     in use at exit: 28,320,758 bytes in 394,600 blocks
==1706==   total heap usage: 2,037,752 allocs, 1,643,153 frees, 582,416,425
bytes allocated
==1706== 
==1706== LEAK SUMMARY:
==1706==    definitely lost: 68,984 bytes in 141 blocks
==1706==    indirectly lost: 40,647 bytes in 1,304 blocks
==1706==      possibly lost: 11,996,865 bytes in 166,370 blocks
==1706==    still reachable: 16,214,262 bytes in 226,785 blocks
==1706==         suppressed: 0 bytes in 0 blocks
==1706== Rerun with --leak-check=full to see details of leaked memory
==1706== 
==1706== For counts of detected and suppressed errors, rerun with: -v
==1706== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 94 from 9)
Killed

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.