Issue 111102 - API tests: some chart tests in xmloff deadlock
Summary: API tests: some chart tests in xmloff deadlock
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 86555 (view as issue list)
Depends on:
Blocks:
 
Reported: 2010-04-23 09:48 UTC by Stephan Bergmann
Modified: 2013-09-25 20:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2010-04-23 09:48:49 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 ()
Comment 1 Stephan Bergmann 2010-04-23 10:01:25 UTC
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
Comment 2 IngridvdM 2010-05-07 11:23:14 UTC
Assertion removed in CWS chart47.
Comment 3 IngridvdM 2010-06-01 16:18:37 UTC
tests are enabled again.
Comment 4 IngridvdM 2010-06-02 21:09:51 UTC
Hm, after several test runs I found additional deadlocks under linux pro.
I disable the tests again for now as time is running out.
Comment 5 IngridvdM 2010-06-02 21:22:28 UTC
changing target
Comment 6 IngridvdM 2010-06-03 13:30:46 UTC
*** Issue 86555 has been marked as a duplicate of this issue. ***