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

Stephan Bergmann <sberg...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |er...@redhat.com,
                   |                            |libreoff...@kohei.us,
                   |                            |markus.mohrhard@googlemail.
                   |                            |com

--- Comment #9 from Stephan Bergmann <sberg...@redhat.com> ---
Installing
<http://extensions.libreoffice.org/extension-center/review-toolbar/pscreleasefolder.2011-12-03.6583332356/20131006.0.1/review.oxt>
into a recent Linux x86_64 master build and running the recipe from comment 0
under valgrind indicates a problem with SfxFrame::DoClose_Impl and
ScInputWindow lifecycle, see below.  Putting Calc experts on CC.

> Invalid read of size 8
>    at 0x3BB4A736: ScInputWindow::StopEditEngine(unsigned char) 
> (sc/source/ui/app/inputwin.cxx:736)
>    by 0x3BB3A7FF: ScInputHandler::StopInputWinEngine(bool) 
> (sc/source/ui/app/inputhdl.cxx:1815)
>    by 0x3BB31C30: ScInputHandler::EnterHandler(unsigned char) 
> (sc/source/ui/app/inputhdl.cxx:2748)
>    by 0x3BB30054: ScInputHandler::~ScInputHandler() 
> (sc/source/ui/app/inputhdl.cxx:546)
>    by 0x3BB32868: ScInputHandler::~ScInputHandler() 
> (sc/source/ui/app/inputhdl.cxx:541)
>    by 0x3C1A4A04: ScTabViewShell::~ScTabViewShell() 
> (sc/source/ui/view/tabvwsh4.cxx:1808)
>    by 0x3C1A4E18: ScTabViewShell::~ScTabViewShell() 
> (sc/source/ui/view/tabvwsh4.cxx:1779)
>    by 0x6A9497E: SfxViewFrame::ReleaseObjectShell_Impl() 
> (sfx2/source/view/viewfrm.cxx:1094)
>    by 0x6A96C8F: SfxViewFrame::~SfxViewFrame() 
> (sfx2/source/view/viewfrm.cxx:1489)
>    by 0x6A971E8: SfxViewFrame::~SfxViewFrame() 
> (sfx2/source/view/viewfrm.cxx:1481)
>    by 0x6A95212: SfxViewFrame::Close() (sfx2/source/view/viewfrm.cxx:1149)
>    by 0x6A5CE6B: SfxFrame::DoClose_Impl() (sfx2/source/view/frame.cxx:174)
>    by 0x6A7FB27: SfxBaseController::dispose() 
> (sfx2/source/view/sfxbasecontroller.cxx:1031)
>    by 0x6A7FC1B: non-virtual thunk to SfxBaseController::dispose() 
> (sfx2/source/view/sfxbasecontroller.cxx:1035)
>    by 0x1E09D2EB: (anonymous 
> namespace)::Frame::setComponent(com::sun::star::uno::Reference<com::sun::star::awt::XWindow>
>  const&, com::sun::star::uno::Reference<com::sun::star::frame::XController> 
> const&) (framework/source/services/frame.cxx:1718)
>    by 0x1E0A0B6C: (anonymous namespace)::Frame::close(unsigned char) 
> (framework/source/services/frame.cxx:1971)
>    by 0x1E0A35F5: non-virtual thunk to (anonymous 
> namespace)::Frame::close(unsigned char) 
> (framework/source/services/frame.cxx:2003)
>    by 0x6A5C90D: SfxFrame::DoClose() (sfx2/source/view/frame.cxx:139)
>    by 0x6A95F46: SfxViewFrame::Notify(SfxBroadcaster&, SfxHint const&) 
> (sfx2/source/view/viewfrm.cxx:1332)
>    by 0x6A96316: non-virtual thunk to SfxViewFrame::Notify(SfxBroadcaster&, 
> SfxHint const&) (sfx2/source/view/viewfrm.cxx:1395)
>    by 0x70F2D81: SfxBroadcaster::Broadcast(SfxHint const&) 
> (svl/source/notify/brdcst.cxx:46)
>    by 0x690D206: 
> SfxModelListener_Impl::notifyClosing(com::sun::star::lang::EventObject 
> const&) (sfx2/source/doc/objxtor.cxx:174)
>    by 0x690D2AE: non-virtual thunk to 
> SfxModelListener_Impl::notifyClosing(com::sun::star::lang::EventObject 
> const&) (sfx2/source/doc/objxtor.cxx:175)
>    by 0x694AE31: SfxBaseModel::close(unsigned char) 
> (sfx2/source/doc/sfxbasemodel.cxx:1439)
>    by 0x69463AD: SfxBaseModel::dispose() 
> (sfx2/source/doc/sfxbasemodel.cxx:793)
>    by 0x69467EB: non-virtual thunk to SfxBaseModel::dispose() 
> (sfx2/source/doc/sfxbasemodel.cxx:832)
>    by 0x37850138: void 
> comphelper::disposeComponent<com::sun::star::sheet::XSpreadsheetDocument>(com::sun::star::uno::Reference<com::sun::star::sheet::XSpreadsheetDocument>&)
>  (include/comphelper/types.hxx:114)
>    by 0x3784DF0B: connectivity::calc::OCalcConnection::disposing() 
> (connectivity/source/drivers/calc/CConnection.cxx:187)
>    by 0x59ABFD1: cppu::WeakComponentImplHelperBase::dispose() 
> (cppuhelper/source/implbase.cxx:271)
>    by 0x378508B0: 
> cppu::WeakComponentImplHelper4<com::sun::star::sdbc::XConnection, 
> com::sun::star::sdbc::XWarningsSupplier, com::sun::star::lang::XServiceInfo, 
> com::sun::star::lang::XUnoTunnel>::dispose() 
> (include/cppuhelper/compbase4.hxx:60)
>    by 0x37AD5987: connectivity::file::OConnection::close() 
> (connectivity/source/drivers/file/FConnection.cxx:354)
>    by 0x37AD59FB: non-virtual thunk to 
> connectivity::file::OConnection::close() 
> (connectivity/source/drivers/file/FConnection.cxx:355)
>    by 0x2483BD93: dbaccess::OConnection::disposing() 
> (dbaccess/source/core/dataaccess/connection.cxx:519)
>    by 0x598DF6F: cppu::OComponentHelper::dispose() 
> (cppuhelper/source/component.cxx:178)
>    by 0x598E2DB: non-virtual thunk to cppu::OComponentHelper::dispose() 
> (cppuhelper/source/component.cxx:212)
>    by 0x2477A548: void 
> comphelper::disposeComponent<com::sun::star::sdbc::XConnection>(com::sun::star::uno::Reference<com::sun::star::sdbc::XConnection>&)
>  (include/comphelper/types.hxx:114)
>    by 0x248A03D0: 
> dbaccess::OSharedConnectionManager::disposing(com::sun::star::lang::EventObject
>  const&) (dbaccess/source/core/dataaccess/datasource.cxx:339)
>    by 0x248A05CE: non-virtual thunk to 
> dbaccess::OSharedConnectionManager::disposing(com::sun::star::lang::EventObject
>  const&) (dbaccess/source/core/dataaccess/datasource.cxx:344)
>    by 0x59B1CB3: 
> cppu::OInterfaceContainerHelper::disposeAndClear(com::sun::star::lang::EventObject
>  const&) (cppuhelper/source/interfacecontainer.cxx:316)
>    by 0x59B2BFA: 
> cppu::OMultiTypeInterfaceContainerHelper::disposeAndClear(com::sun::star::lang::EventObject
>  const&) (cppuhelper/source/interfacecontainer.cxx:491)
>    by 0x59ABFB9: cppu::WeakComponentImplHelperBase::dispose() 
> (cppuhelper/source/implbase.cxx:270)
>    by 0x2491F490: 
> cppu::WeakComponentImplHelper1<com::sun::star::sdbc::XConnection>::dispose() 
> (include/cppuhelper/compbase1.hxx:60)
>    by 0x2491FF7B: non-virtual thunk to 
> cppu::WeakComponentImplHelper1<com::sun::star::sdbc::XConnection>::dispose() 
> (dbaccess/source/core/dataaccess/SharedConnection.cxx:60)
>    by 0x8D07D21: utl::DisposableComponent::~DisposableComponent() 
> (unotools/source/misc/sharedunocomponent.cxx:59)
>    by 0x27B75089: void 
> boost::checked_delete<utl::DisposableComponent>(utl::DisposableComponent*) 
> (workdir/UnpackedTarball/boost/boost/checked_delete.hpp:34)
>    by 0x27B75138: 
> boost::detail::sp_counted_impl_p<utl::DisposableComponent>::dispose() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/detail/sp_counted_impl.hpp:78)
>    by 0x27B60561: boost::detail::sp_counted_base::release() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146)
>    by 0x27B604FC: boost::detail::shared_count::~shared_count() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/detail/shared_count.hpp:377)
>    by 0x27B604BB: boost::shared_ptr<utl::DisposableComponent>::~shared_ptr() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/shared_ptr.hpp:728)
>    by 0x27B603A5: boost::shared_ptr<utl::DisposableComponent>::reset() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/shared_ptr.hpp:625)
>  Address 0x2a283b80 is 2,272 bytes inside a block of size 2,336 free'd
>    at 0x4A078DE: operator delete(void*) (in 
> /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
>    by 0x3BB48211: ScInputWindow::~ScInputWindow() 
> (sc/source/ui/app/inputwin.cxx:271)
>    by 0x65B81FA: SfxChildWindow::~SfxChildWindow() 
> (sfx2/source/appl/childwin.cxx:193)
>    by 0x3BB55AF4: ScInputWindowWrapper::~ScInputWindowWrapper() 
> (sc/source/ui/inc/inputwin.hxx:308)
>    by 0x3BB55B18: ScInputWindowWrapper::~ScInputWindowWrapper() 
> (sc/source/ui/inc/inputwin.hxx:308)
>    by 0x65B8146: SfxChildWindow::Destroy() (sfx2/source/appl/childwin.cxx:185)
>    by 0x6634FF4: SfxWorkWindow::DeleteControllers_Impl() 
> (sfx2/source/appl/workwin.cxx:705)
>    by 0x6A5CE3D: SfxFrame::DoClose_Impl() (sfx2/source/view/frame.cxx:171)
>    by 0x6A7FB27: SfxBaseController::dispose() 
> (sfx2/source/view/sfxbasecontroller.cxx:1031)
>    by 0x6A7FC1B: non-virtual thunk to SfxBaseController::dispose() 
> (sfx2/source/view/sfxbasecontroller.cxx:1035)
>    by 0x1E09D2EB: (anonymous 
> namespace)::Frame::setComponent(com::sun::star::uno::Reference<com::sun::star::awt::XWindow>
>  const&, com::sun::star::uno::Reference<com::sun::star::frame::XController> 
> const&) (framework/source/services/frame.cxx:1718)
>    by 0x1E0A0B6C: (anonymous namespace)::Frame::close(unsigned char) 
> (framework/source/services/frame.cxx:1971)
>    by 0x1E0A35F5: non-virtual thunk to (anonymous 
> namespace)::Frame::close(unsigned char) 
> (framework/source/services/frame.cxx:2003)
>    by 0x6A5C90D: SfxFrame::DoClose() (sfx2/source/view/frame.cxx:139)
>    by 0x6A95F46: SfxViewFrame::Notify(SfxBroadcaster&, SfxHint const&) 
> (sfx2/source/view/viewfrm.cxx:1332)
>    by 0x6A96316: non-virtual thunk to SfxViewFrame::Notify(SfxBroadcaster&, 
> SfxHint const&) (sfx2/source/view/viewfrm.cxx:1395)
>    by 0x70F2D81: SfxBroadcaster::Broadcast(SfxHint const&) 
> (svl/source/notify/brdcst.cxx:46)
>    by 0x690D206: 
> SfxModelListener_Impl::notifyClosing(com::sun::star::lang::EventObject 
> const&) (sfx2/source/doc/objxtor.cxx:174)
>    by 0x690D2AE: non-virtual thunk to 
> SfxModelListener_Impl::notifyClosing(com::sun::star::lang::EventObject 
> const&) (sfx2/source/doc/objxtor.cxx:175)
>    by 0x694AE31: SfxBaseModel::close(unsigned char) 
> (sfx2/source/doc/sfxbasemodel.cxx:1439)
>    by 0x69463AD: SfxBaseModel::dispose() 
> (sfx2/source/doc/sfxbasemodel.cxx:793)
>    by 0x69467EB: non-virtual thunk to SfxBaseModel::dispose() 
> (sfx2/source/doc/sfxbasemodel.cxx:832)
>    by 0x37850138: void 
> comphelper::disposeComponent<com::sun::star::sheet::XSpreadsheetDocument>(com::sun::star::uno::Reference<com::sun::star::sheet::XSpreadsheetDocument>&)
>  (include/comphelper/types.hxx:114)
>    by 0x3784DF0B: connectivity::calc::OCalcConnection::disposing() 
> (connectivity/source/drivers/calc/CConnection.cxx:187)
>    by 0x59ABFD1: cppu::WeakComponentImplHelperBase::dispose() 
> (cppuhelper/source/implbase.cxx:271)
>    by 0x378508B0: 
> cppu::WeakComponentImplHelper4<com::sun::star::sdbc::XConnection, 
> com::sun::star::sdbc::XWarningsSupplier, com::sun::star::lang::XServiceInfo, 
> com::sun::star::lang::XUnoTunnel>::dispose() 
> (include/cppuhelper/compbase4.hxx:60)
>    by 0x37AD5987: connectivity::file::OConnection::close() 
> (connectivity/source/drivers/file/FConnection.cxx:354)
>    by 0x37AD59FB: non-virtual thunk to 
> connectivity::file::OConnection::close() 
> (connectivity/source/drivers/file/FConnection.cxx:355)
>    by 0x2483BD93: dbaccess::OConnection::disposing() 
> (dbaccess/source/core/dataaccess/connection.cxx:519)
>    by 0x598DF6F: cppu::OComponentHelper::dispose() 
> (cppuhelper/source/component.cxx:178)
>    by 0x598E2DB: non-virtual thunk to cppu::OComponentHelper::dispose() 
> (cppuhelper/source/component.cxx:212)
>    by 0x2477A548: void 
> comphelper::disposeComponent<com::sun::star::sdbc::XConnection>(com::sun::star::uno::Reference<com::sun::star::sdbc::XConnection>&)
>  (include/comphelper/types.hxx:114)
>    by 0x248A03D0: 
> dbaccess::OSharedConnectionManager::disposing(com::sun::star::lang::EventObject
>  const&) (dbaccess/source/core/dataaccess/datasource.cxx:339)
>    by 0x248A05CE: non-virtual thunk to 
> dbaccess::OSharedConnectionManager::disposing(com::sun::star::lang::EventObject
>  const&) (dbaccess/source/core/dataaccess/datasource.cxx:344)
>    by 0x59B1CB3: 
> cppu::OInterfaceContainerHelper::disposeAndClear(com::sun::star::lang::EventObject
>  const&) (cppuhelper/source/interfacecontainer.cxx:316)
>    by 0x59B2BFA: 
> cppu::OMultiTypeInterfaceContainerHelper::disposeAndClear(com::sun::star::lang::EventObject
>  const&) (cppuhelper/source/interfacecontainer.cxx:491)
>    by 0x59ABFB9: cppu::WeakComponentImplHelperBase::dispose() 
> (cppuhelper/source/implbase.cxx:270)
>    by 0x2491F490: 
> cppu::WeakComponentImplHelper1<com::sun::star::sdbc::XConnection>::dispose() 
> (include/cppuhelper/compbase1.hxx:60)
>    by 0x2491FF7B: non-virtual thunk to 
> cppu::WeakComponentImplHelper1<com::sun::star::sdbc::XConnection>::dispose() 
> (dbaccess/source/core/dataaccess/SharedConnection.cxx:60)
>    by 0x8D07D21: utl::DisposableComponent::~DisposableComponent() 
> (unotools/source/misc/sharedunocomponent.cxx:59)
>    by 0x27B75089: void 
> boost::checked_delete<utl::DisposableComponent>(utl::DisposableComponent*) 
> (workdir/UnpackedTarball/boost/boost/checked_delete.hpp:34)
>    by 0x27B75138: 
> boost::detail::sp_counted_impl_p<utl::DisposableComponent>::dispose() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/detail/sp_counted_impl.hpp:78)
>    by 0x27B60561: boost::detail::sp_counted_base::release() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146)
>    by 0x27B604FC: boost::detail::shared_count::~shared_count() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/detail/shared_count.hpp:377)
>    by 0x27B604BB: boost::shared_ptr<utl::DisposableComponent>::~shared_ptr() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/shared_ptr.hpp:728)
>    by 0x27B603A5: boost::shared_ptr<utl::DisposableComponent>::reset() 
> (workdir/UnpackedTarball/boost/boost/smart_ptr/shared_ptr.hpp:625)
>    by 0x27B420E8: utl::SharedUNOComponent<com::sun::star::sdbc::XConnection, 
> utl::DisposableComponent>::clear() 
> (include/unotools/sharedunocomponent.hxx:234)
>    by 0x27B29FA6: dbaui::OApplicationController::disconnect() 
> (dbaccess/source/ui/app/AppController.cxx:339)
>    by 0x27B2A2A1: dbaui::OApplicationController::disposing() 
> (dbaccess/source/ui/app/AppController.cxx:361)
>    by 0x59ABFD1: cppu::WeakComponentImplHelperBase::dispose() 
> (cppuhelper/source/implbase.cxx:271)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to