Apache OpenOffice (AOO) Bugzilla – Issue 68366
Valgrind ID:176, Invalid read of size 2
Last modified: 2008-08-26 14:46:16 UTC
This task has been generated by valgrind checks. Source code candidate: sd/source/ui/inc/DrawViewShell.hxx ErrorType: Invalid read ErrorText: Invalid read of size 2 Stack: sd::outliner::OutlinerContainer::GetPageIndex(SdDrawDocument*, sd::DrawViewShell*, PageKind, EditMode, bool, sd::outliner::IteratorLocation) DrawViewShell.hxx:303 0xB0C8CB2 sd::outliner::OutlinerContainer::CreateDocumentIterator(SdDrawDocument*, sd::DrawViewShell*, bool, sd::outliner::IteratorLocation) OutlinerIterator.cxx:350 0xB0C95B2 sd::outliner::OutlinerContainer::CreateIterator(sd::outliner::IteratorLocation) OutlinerIterator.cxx:244 0xB0C9648 sd::outliner::OutlinerContainer::current() OutlinerIterator.cxx:225 0xB0C9663 sd::Outliner::Initialize(bool) Outliner.cxx:635 0xB0C5CE0 sd::Outliner::StartSearchAndReplace(SvxSearchItem const*) srchitem.hxx:161 0xB0C85F4 sd::FuSearch::SearchAndReplace(SvxSearchItem const*) fusearch.cxx:182 0xB12A7C4 sd::DrawDocShell::Execute(SfxRequest&) ref.hxx:179 0xB13B71D SfxStubDrawDocShellExecute(SfxShell*, SfxRequest&) sdslots.hxx:14997 0xB1380FD SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) shell.hxx:226 0x9E5A272 SfxDispatcher::_Execute(SfxShell&, SfxSlot const&, SfxRequest&, unsigned short) dispatch.cxx:1073 0x9E5A794 SfxBindings::Execute_Impl(SfxRequest&, SfxSlot const*, SfxShell*) bindings.cxx:1727 0x9E508EC Address allocation Stack: ADDR: Address 0xCE8D04C is 4 bytes inside a block of size 65 free'd free vg_replace_malloc.c:233 0x401D097 rtl_freeMemory alloc_global.c:318 0x40208CE rtl_string_release strtmpl.c:1054 0x4AECCA7 stoc_simreg::RegistryKeyImpl::getAsciiListValue() string.hxx:206 0x5EDFD20 stoc_smgr::retrieveAsciiValueList(com::sun::star::uno::Reference<com::sun::star::registry::XSimpleRegistry> const&, rtl::OUString const&) Reference.h:339 0x5EC0C2A stoc_smgr::retrieveAsciiValueList(com::sun::star::uno::Reference<com::sun::star::registry::XSimpleRegistry> const&, rtl::OUString const&) servicemanager.cxx:252 0x5EC0A1B stoc_smgr::ORegistryServiceManager::getFromServiceName(rtl::OUString const&) ustrbuf.hxx:181 0x5EC0DDE stoc_smgr::ORegistryServiceManager::createContentEnumeration(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) servicemanager.cxx:2004 0x5EC7C9F stoc_smgr::ORegistryServiceManager::createContentEnumeration(rtl::OUString const&) servicemanager.cxx:2023 0x5EBEB0F com::sun::star::i18n::loadBody(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>&, rtl::OUString&, com::sun::star::uno::Reference<com::sun::star::i18n::XExtendedTransliteration>&) Reference.h:339 0xC45B765 com::sun::star::i18n::TransliterationImpl::loadModuleByName(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::i18n::XExtendedTransliteration>&, com::sun::star::lang::Locale const&) transliterationImpl.cxx:630 0xC45BB7E com::sun::star::i18n::TransliterationImpl::loadModule(com::sun::star::i18n::TransliterationModules, com::sun::star::lang::Locale const&) ustring.hxx:1226 0xC45ABA7 TESTS: g_findreplace
Accepted.
wrong component
set target to 3.x
This appeared similarly in Valgrind run on BEA300m2, VID 148. Detailed Valgrind Info: Invalid read of size 2 TabBar::GetCurPageId() const tabbar.hxx:450 0xBF30DE6 sd::DrawViewShell::GetCurPageId() DrawViewShell.hxx:280 0xBF34F39 sd::outliner::OutlinerContainer::GetPageIndex(SdDrawDocument*, sd::DrawViewShell*, PageKind, EditMode, bool, sd::outliner::IteratorLocation) OutlinerIterator.cxx:363 0xBF92811 sd::outliner::OutlinerContainer::CreateDocumentIterator(SdDrawDocument*, sd::DrawViewShell*, bool, sd::outliner::IteratorLocation) OutlinerIterator.cxx:328 0xBF9271C sd::outliner::OutlinerContainer::CreateIterator(sd::outliner::IteratorLocation) OutlinerIterator.cxx:225 0xBF92494 sd::outliner::OutlinerContainer::current() OutlinerIterator.cxx:207 0xBF923E2 sd::Outliner::Initialize(bool) Outliner.cxx:586 0xBF8DF9A sd::Outliner::StartSearchAndReplace(SvxSearchItem const*) Outliner.cxx:552 0xBF8DE6D sd::FuSearch::SearchAndReplace(SvxSearchItem const*) fusearch.cxx:161 0xC1F04CF sd::DrawDocShell::Execute(SfxRequest&) docshel3.cxx:183 0xBFDE9A0 SfxStubDrawDocShellExecute(SfxShell*, SfxRequest&) sdslots.hxx:14683 0xBFDA40B SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) shell.hxx:204 0x4ACA9B1 ADDR: Address 0x6871098 is not stack'd, malloc'd or (recently) free'd TESTS: g_findreplace Changed prio and target, because this is a potential crash.
Duplicate. *** This issue has been marked as a duplicate of 68365 ***
Closing duplicate issue.