Apache OpenOffice (AOO) Bugzilla – Issue 111102
API tests: some chart tests in xmloff deadlock
Last modified: 2013-09-25 20:41:24 UTC
At least on DEV300_m76-based CWS sb120 (mainly making changes to the testing framework), executing the xmloff/qa/unoapi tests quite often hangs at least under unxmacxi non-pro when creating a chart document. The problem appears to be that DiagramHelper::getDimension does not expect a null xDiagram argument, but the call to ChartModelHelper::findDiagram in ModelState::update returns null. The unoapi output leading to the problem is OOoRunner Main() version from 20100125 (yyyymmdd) TestJob: -sce xmloff.sce Connecting the Office with uno:pipe,name=oootest94b6b431-c1ad-4d52-9c46-9de1b880429d;urp;StarOffice.ServiceManager [23.04.2010 - 10:34:29,547]OfficeProvider: trying to connect to uno:pipe,name=oootest94b6b431-c1ad-4d52-9c46-9de1b880429d;urp;StarOffice.ServiceManager [23.04.2010 - 10:34:29,550]OfficeProvider: resolved url Creating: xmloff.Chart.XMLContentExporter LOG> Log started 23.03.2010 - 10:34:31 LOG> creating a chartdocument and the stack trace leading to the problematic DiagramHelper::getDimension call is #0 0x27302e15 in chart::DiagramHelper::getDimension () #1 0x181e52e1 in chart::impl::ModelState::update () #2 0x181ed3fb in chart::ControllerCommandDispatch::initialize () #3 0x181af0b1 in chart::ChartController::attachModel () #4 0x181ddcb2 in chart::ChartFrameLoader::load () #5 0x187de35d in framework::LoadEnv::impl_loadContent () #6 0x187dea34 in framework::LoadEnv::startLoading () #7 0x187dec49 in framework::LoadEnv::loadComponentFromURL () #8 0x187408f7 in framework::Desktop::loadComponentFromURL () #9 0x03d54d22 in (anonymous namespace)::callVirtualMethod () #10 0x03d550f0 in (anonymous namespace)::cpp_call () #11 0x03d5593f in bridges::cpp_uno::shared::unoInterfaceProxyDispatch () #12 0x18173d0a in thisDispatch () #13 0x18166676 in bridges_urp::ServerMultiJob::execute () #14 0x18166f86 in doit () #15 0x0015e8ea in cppu_threadpool::JobQueue::enter () #16 0x0015ecab in cppu_threadpool::ORequestThread::run () #17 0x0015f024 in cppu_requestThreadWorker () #18 0x001fd5b7 in osl_thread_start_Impl () #19 0x96e3d155 in _pthread_start () #20 0x96e3d012 in thread_start ()
worked around for now by disabling the affected tests in xmloff/qa/unoapi/xmloff.sce, see <http://hg.services.openoffice.org/cws/sb120/rev/6dde62a931f5>; please revert when fixing this issue
Assertion removed in CWS chart47.
tests are enabled again.
Hm, after several test runs I found additional deadlocks under linux pro. I disable the tests again for now as time is running out.
changing target
*** Issue 86555 has been marked as a duplicate of this issue. ***