<div dir="ltr"><div><div><div><div><div><div>Hey Stephan,<br><br></div>to come back to your comment from IRC earlier.<br><br><a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=74bf4ca9f382fa12481fda18b57cdce4c0d5422b">https://cgit.freedesktop.org/libreoffice/core/commit/?id=74bf4ca9f382fa12481fda18b57cdce4c0d5422b</a> should catch the case now that the started LibreOffice instance has already stopped before we can connect.<br><br></div>Additionally I found some more information about the dbgutil assert that I mentioned.<br><br></div>I managed to add some debug code and improve the order that the output for the test is generated and found the following pattern.<br><br>tearDown: calling terminate()...<br>create desktop    <-- added from me as debug output<br>terminate            <-- added from me as debug output<br>caught DisposedException while TearDown<br>ok<br>test_select_text (start.SimpleWriterTest) ... warn:sal.osl.pipe:23905:6:sal/osl/unx/pipe.cxx:497: recv() failed: Connection reset by peer<br>warn:binaryurp:23583:9:binaryurp/source/reader.cxx:123: caught UNO exception 'Binary URP bridge already disposed'<br>warn:binaryurp:23905:6:binaryurp/source/bridge.cxx:844: undisposed bridge, potential deadlock ahead<br>python3: /home/moggi/devel/libo/binaryurp/source/binaryany.cxx:107: void* binaryurp::BinaryAny::getValue(const com::sun::star::uno::TypeDescription&) const: Assertion `type.get()->eTypeClass == typelib_TypeClass_ANY || type.equals(css::uno::TypeDescription(data_.pType))' failed.<br><br><br></div>So it seems I basically hit this if I the Desktop.terminate call has thrown a DisposedException that we get the problem during the next start. Additionally it seems that we might leak Bridge instances but I need to debug that a bit more. Adding a SAL_DEBUG into the Bridge constructor and destructor shows two created bridges but only one destroyed one per test.<br><br></div>Regards,<br></div>Markus<br></div>