UITest_writerperfect_epubexport hang (only sometimes)
Michael Stahl
mstahl at redhat.com
Mon Feb 26 16:46:10 UTC 2018
On 26.02.2018 16:50, Miklos Vajna wrote:
> Hi Michael,
>
> On Fri, Feb 23, 2018 at 01:54:05PM +0100, Michael Stahl <mstahl at redhat.com> wrote:
>> in the one case i've debugged the exception (and also, assert about
>> disposed window during shutdown) was caused by a hang in the
>> SvpSalInstance::DoReleaseYield, with 2 threads blocked in poll.
>>
>> hopefully https://gerrit.libreoffice.org/#/c/50237/ should fix it.
>
> Thanks, sadly I still hit a hang after this was merged (pulled in the
> morning then a bit later cherry-picked
> 0efd06de8fca4036c4132b2745a11273b1755df2) in UITest_autofilter.
> Backtraces below. Thread 7 and Thread 1 seem to be the problematic ones,
> but not sure what is the specific problem. Possibly it's not even
> related to your changes...
>
thread 7 probably has the SolarMutex locked while it's calling into "gio".
i wonder what this is waiting on? DNS maybe?
> Thread 7 (Thread 0x2b2b6a0c9700 (LWP 25720)):
> #0 0x00002b2b4883530d in poll () at /lib64/libc.so.6
> #1 0x00002b2b4a0c8314 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x34b1560, timeout=1800000, context=0x3498930) at gmain.c:4135
> #2 0x00002b2b4a0c8314 in g_main_context_iterate (context=0x3498930, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3835
> #3 0x00002b2b4a0c864a in g_main_loop_run (loop=0x34b0cb0) at gmain.c:4034
> #4 0x00002b2b73120fc4 in gio::MountOperation::Mount(_GFile*) (this=0x2b2b6a0c5930, pFile=0x34b08b0) at /git/libreoffice/master/ucb/source/ucp/gio/gio_content.cxx:351
> #5 0x00002b2b73121202 in gio::Content::getGFileInfo(com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> const&, _GError**) (this=0x3486ee0, xEnv=uno::Reference to (ucbhelper::CommandEnvironment *) 0x3483778, ppError=0x0) at /git/libreoffice/master/ucb/source/ucp/gio/gio_content.cxx:381
> #6 0x00002b2b73122072 in gio::Content::getPropertyValues(com::sun::star::uno::Sequence<com::sun::star::beans::Property> const&, com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> const&) (this=0x3486ee0, rProperties=uno::Sequence of length 1 = {...}, xEnv=uno::Reference to (ucbhelper::CommandEnvironment *) 0x3483778) at /git/libreoffice/master/ucb/source/ucp/gio/gio_content.cxx:545
> #7 0x00002b2b7312468e in gio::Content::execute(com::sun::star::ucb::Command const&, int, com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> const&) (this=0x3486ee0, aCommand=..., xEnv=uno::Reference to (ucbhelper::CommandEnvironment *) 0x3483778) at /git/libreoffice/master/ucb/source/ucp/gio/gio_content.cxx:928
> #8 0x00002b2b523f27d9 in ucbhelper::Content_Impl::executeCommand(com::sun::star::ucb::Command const&) (this=0x348a980, rCommand=...) at /git/libreoffice/master/ucbhelper/source/client/content.cxx:1258
> #9 0x00002b2b523ef164 in ucbhelper::Content::getPropertyValuesInterface(com::sun::star::uno::Sequence<rtl::OUString> const&) (this=0x2b2b6a0c61d0, rPropertyNames=uno::Sequence of length 1 = {...}) at /git/libreoffice/master/ucbhelper/source/client/content.cxx:494
> #10 0x00002b2b523eeef2 in ucbhelper::Content::getPropertyValues(com::sun::star::uno::Sequence<rtl::OUString> const&) (this=0x2b2b6a0c61d0, rPropertyNames=uno::Sequence of length 1 = {...}) at /git/libreoffice/master/ucbhelper/source/client/content.cxx:453
> #11 0x00002b2b523eecd0 in ucbhelper::Content::getPropertyValue(rtl::OUString const&) (this=0x2b2b6a0c61d0, rPropertyName="IsReadOnly") at /git/libreoffice/master/ucbhelper/source/client/content.cxx:432
> #12 0x00002b2b5282b235 in utl::MediaDescriptor::impl_openStreamWithURL(rtl::OUString const&, bool) (this=0x2b2b6a0c68a0, sURL="smb://swcznet2000/dfs/info/alle_Mitarbeiter/Dokumentvorlagen/Allgemeine_Vorlagen/SWCZ_Standard.ots", bLockFile=true) at /git/libreoffice/master/unotools/source/misc/mediadescriptor.cxx:715
a smb:// URL!
> #13 0x00002b2b5282a199 in utl::MediaDescriptor::impl_addInputStream(bool) (this=0x2b2b6a0c68a0, bLockFile=true) at /git/libreoffice/master/unotools/source/misc/mediadescriptor.cxx:520
> #14 0x00002b2b52829e23 in utl::MediaDescriptor::addInputStream() (this=0x2b2b6a0c68a0) at /git/libreoffice/master/unotools/source/misc/mediadescriptor.cxx:481
> #15 0x00002b2b4dd29483 in (anonymous namespace)::SfxDocumentMetaData::loadFromMedium(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) (this=0x3486710, URL="smb://swcznet2000/dfs/info/alle_Mitarbeiter/Dokumentvorlagen/Allgemeine_Vorlagen/SWCZ_Standard.ots", Medium=empty uno::Sequence) at /git/libreoffice/master/sfx2/source/doc/SfxDocumentMetaData.cxx:1867
> #16 0x00002b2b4ddb1259 in SfxObjectShell::UpdateFromTemplate_Impl() (this=0x3006cc0) at /git/libreoffice/master/sfx2/source/doc/objcont.cxx:446
> #17 0x00002b2b4df34c5f in SfxViewFrame::UpdateDocument_Impl() (this=0x338b610) at /git/libreoffice/master/sfx2/source/view/viewfrm.cxx:3077
> #18 0x00002b2b4de0554c in SfxBaseModel::connectController(com::sun::star::uno::Reference<com::sun::star::frame::XController> const&) (this=0x300db30, xController=uno::Reference to (ScTabViewObj *) 0x323b2f0) at /git/libreoffice/master/sfx2/source/doc/sfxbasemodel.cxx:1055
> #19 0x00002b2b4df088fe in (anonymous namespace)::SfxFrameLoader_Impl::impl_createDocumentView(com::sun::star::uno::Reference<com::sun::star::frame::XModel2> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&, comphelper::NamedValueCollection const&, rtl::OUString const&) (i_rModel=uno::Reference to (ScModelObj *) 0x300dbc0, i_rFrame=uno::Reference to ((anonymous namespace)::Frame *) 0x2be76d0, i_rViewFactoryArgs=..., i_rViewName="Default") at /git/libreoffice/master/sfx2/source/view/frmload.cxx:592
> #20 0x00002b2b4df094a3 in (anonymous namespace)::SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) (this=0x2fb38f0, rArgs=uno::Sequence of length 11 = {...}, _rTargetFrame=uno::Reference to ((anonymous namespace)::Frame *) 0x2be76d0) at /git/libreoffice/master/sfx2/source/view/frmload.cxx:711
> #21 0x00002b2b66f1a75d in framework::LoadEnv::impl_loadContent() (this=0x2b2b6a0c7760) at /git/libreoffice/master/framework/source/loadenv/loadenv.cxx:1107
> #22 0x00002b2b66f16a57 in framework::LoadEnv::startLoading() (this=0x2b2b6a0c7760) at /git/libreoffice/master/framework/source/loadenv/loadenv.cxx:375
> #23 0x00002b2b66f15436 in framework::LoadEnv::loadComponentFromURL(com::sun::star::uno::Reference<com::sun::star::frame::XComponentLoader> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) (xLoader=uno::Reference to (framework::Desktop *) 0x29acad8, xContext=uno::Reference to (cppu::ComponentContext *) 0x1c8d580, sURL="file:///git/libreoffice/master/sc/qa/uitest/autofilter/data/tdf77479.ods", sTarget="_default", nFlags=0, lArgs=empty uno::Sequence) at /git/libreoffice/master/framework/source/loadenv/loadenv.cxx:161
> #24 0x00002b2b66f53ee2 in framework::Desktop::loadComponentFromURL(rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) (this=0x29aca60, sURL="file:///git/libreoffice/master/sc/qa/uitest/autofilter/data/tdf77479.ods", sTargetFrameName="_default", nSearchFlags=0, lArguments=empty uno::Sequence) at /git/libreoffice/master/framework/source/services/desktop.cxx:618
More information about the LibreOffice
mailing list