Bug 92257 - deadlock in CppunitTest_sc_subsequent_export in oox::xls::`anonymous namespace'::importSheetFragments
Summary: deadlock in CppunitTest_sc_subsequent_export in oox::xls::`anonymous namespac...
Status: RESOLVED DUPLICATE of bug 96887
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.0.0.alpha0+ Master
Hardware: All Windows (All)
: high major
Assignee: Michael Meeks
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2015-06-22 15:14 UTC by Michael Stahl (allotropia)
Modified: 2016-04-12 08:03 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
backtrace without linewrapping (5.81 KB, text/plain)
2015-06-22 15:17 UTC, Michael Stahl (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stahl (allotropia) 2015-06-22 15:14:33 UTC
seen this deadlock during make check on Windows (but never Linux) several times now:

CppunitTest_sc_subsequent_export

main thread:

 	[External Code]	
>	vcllo.dll!ImplSalYieldMutexAcquireWithWait() Line 240	C++
 	vcllo.dll!WinSalInstance::Yield(bool bWait, bool bHandleAllCurrentEvents) Line 675	C++
 	vcllo.dll!ImplYield(bool i_bWait, bool i_bAllEvents) Line 354	C++
 	vcllo.dll!Application::Yield() Line 382	C++
 	scfiltlo.dll!oox::xls::`anonymous namespace'::importSheetFragments(oox::xls::WorkbookFragment & rWorkbookHandler, std::vector<std::pair<boost::shared_ptr<oox::xls::WorksheetGlobals>,rtl::Reference<oox::core::FragmentHandler> >,std::allocator<std::pair<boost::shared_ptr<oox::xls::WorksheetGlobals>,rtl::Reference<oox::core::FragmentHandler> > > > & rSheets) Line 338	C++
 	scfiltlo.dll!oox::xls::WorkbookFragment::finalizeImport() Line 479	C++
 	ooxlo.dll!oox::core::FragmentHandler2::endDocument() Line 51	C++
 	expwraplo.dll!sax_fastparser::FastSaxParserImpl::parseStream(const com::sun::star::xml::sax::InputSource & maStructSource) Line 793	C++
 	expwraplo.dll!sax_fastparser::FastSaxParser::parseStream(const com::sun::star::xml::sax::InputSource & aInputSource) Line 1300	C++
 	ooxlo.dll!oox::core::FastParser::parseStream(const com::sun::star::xml::sax::InputSource & rInputSource, bool bCloseStream) Line 118	C++
 	ooxlo.dll!oox::core::FastParser::parseStream(const com::sun::star::uno::Reference<com::sun::star::io::XInputStream> & rxInStream, const rtl::OUString & rStreamName, bool bCloseStream) Line 127	C++
 	ooxlo.dll!oox::core::XmlFilterBase::importFragment(const rtl::Reference<oox::core::FragmentHandler> & rxHandler, oox::core::FastParser & rParser) Line 371	C++
 	ooxlo.dll!oox::core::XmlFilterBase::importFragment(const rtl::Reference<oox::core::FragmentHandler> & rxHandler) Line 312	C++
 	scfiltlo.dll!oox::xls::ExcelFilter::importDocument() Line 102	C++
 	ooxlo.dll!oox::core::FilterBase::filter(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & rMediaDescSeq) Line 459	C++
 	scfiltlo.dll!oox::xls::ExcelFilter::filter(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & rDescriptor) Line 156	C++
 	sfxlo.dll!SfxObjectShell::ImportFrom(SfxMedium & rMedium, const com::sun::star::uno::Reference<com::sun::star::text::XTextRange> & xInsertPosition) Line 2271	C++
 	sfxlo.dll!SfxObjectShell::DoLoad(SfxMedium * pMed) Line 767	C++
 	scqahelper.dll!ScBootstrapFixture::load(bool bReadWrite, const rtl::OUString & rURL, const rtl::OUString & rFilter, const rtl::OUString & rUserData, const rtl::OUString & rTypeName, SfxFilterFlags nFilterFlags, SotClipboardFormatId nClipboardID, unsigned long nFilterVersion, const rtl::OUString * pPassword) Line 557	C++
 	scqahelper.dll!ScBootstrapFixture::loadDoc(const rtl::OUString & rFileName, long nFormat, bool bReadWrite) Line 588	C++
 	test_sc_subsequent_export_test.dll!ScExportTest::testFontSize() Line 2603	C++
 	test_sc_subsequent_export_test.dll!CppUnit::TestCaller<ScExportTest>::runTest() Line 173	C++
 	cppunitd_dll.dll!CppUnit::TestCaseMethodFunctor::operator()() Line 32	C++
 	vclbootstrapprotector.dll!`anonymous namespace'::Protector::protect(const CppUnit::Functor & functor, const CppUnit::ProtectorContext & __formal) Line 57	C++
 	cppunitd_dll.dll!CppUnit::ProtectorChain::ProtectFunctor::operator()() Line 20	C++
 	unobootstrapprotector.dll!`anonymous namespace'::Prot::protect(const CppUnit::Functor & functor, const CppUnit::ProtectorContext & __formal) Line 89	C++
 	cppunitd_dll.dll!CppUnit::ProtectorChain::ProtectFunctor::operator()() Line 20	C++
 	unoexceptionprotector.dll!`anonymous namespace'::Prot::protect(const CppUnit::Functor & functor, const CppUnit::ProtectorContext & context) Line 63	C++
 	cppunitd_dll.dll!CppUnit::ProtectorChain::ProtectFunctor::operator()() Line 20	C++
 	cppunitd_dll.dll!CppUnit::DefaultProtector::protect(const CppUnit::Functor & functor, const CppUnit::ProtectorContext & context) Line 15	C++
 	cppunitd_dll.dll!CppUnit::ProtectorChain::ProtectFunctor::operator()() Line 20	C++
 	cppunitd_dll.dll!CppUnit::ProtectorChain::protect(const CppUnit::Functor & functor, const CppUnit::ProtectorContext & context) Line 77	C++
 	cppunitd_dll.dll!CppUnit::TestResult::protect(const CppUnit::Functor & functor, CppUnit::Test * test, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & shortDescription) Line 181	C++
 	cppunitd_dll.dll!CppUnit::TestCase::run(CppUnit::TestResult * result) Line 92	C++
 	cppunitd_dll.dll!CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult * controller) Line 64	C++
 	cppunitd_dll.dll!CppUnit::TestComposite::run(CppUnit::TestResult * result) Line 23	C++
 	cppunitd_dll.dll!CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult * controller) Line 64	C++
 	cppunitd_dll.dll!CppUnit::TestComposite::run(CppUnit::TestResult * result) Line 23	C++
 	cppunitd_dll.dll!CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult * result) Line 47	C++
 	cppunitd_dll.dll!CppUnit::TestResult::runTest(CppUnit::Test * test) Line 148	C++
 	cppunitd_dll.dll!CppUnit::TestRunner::run(CppUnit::TestResult & controller, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & testPath) Line 96	C++
 	cppunittester.exe!`anonymous namespace'::ProtectedFixtureFunctor::run() Line 276	C++
 	cppunittester.exe!sal_main() Line 379	C++
 	cppunittester.exe!main(int argc, char * * argv) Line 297	C++
 	[External Code]	


 15 threads with this stack:

 	[External Code]	
>	sal3.dll!osl_waitCondition(void * Condition, const TimeValue * pTimeout) Line 99	C
 	comphelper.dll!osl::Condition::wait(const TimeValue * pTimeout) Line 80	C++
 	comphelper.dll!comphelper::ThreadPool::ThreadWorker::waitForWork() Line 65	C++
 	comphelper.dll!comphelper::ThreadPool::ThreadWorker::execute() Line 36	C++
 	salhelper3MSC.dll!salhelper::Thread::run() Line 40	C++
 	salhelper3MSC.dll!threadFunc(void * param) Line 184	C++
 	sal3.dll!oslWorkerWrapperFunction(void * pData) Line 57	C
 	[External Code]
Comment 1 Michael Stahl (allotropia) 2015-06-22 15:17:36 UTC
Created attachment 116736 [details]
backtrace without linewrapping

description has lines wrapped unfortunately
Comment 2 Michael Meeks 2016-01-05 09:14:55 UTC

*** This bug has been marked as a duplicate of bug 96887 ***
Comment 3 Armin Le Grand 2016-04-12 08:03:00 UTC
Should/may be fixed with https://gerrit.libreoffice.org/#/c/23921/, to whom it may concern, have a look there, please...