Issue 114211 - xmloff/qa/unoapi xmloff.Draw.XMLStylesImporter::com::sun::star::lang::XInitialization crash
Summary: xmloff/qa/unoapi xmloff.Draw.XMLStylesImporter::com::sun::star::lang::XInitia...
Status: CONFIRMED
Alias: None
Product: xml
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 3.4.1
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 15:35 UTC by Stephan Bergmann
Modified: 2017-05-20 11:35 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-08-30 15:35:16 UTC
At least on a combination of DEV300_m86 based CWSs sb123/sb127 under unxmacxi
non-pro, executing xmloff/qa/unoapi once crashed at

[...]
34: LOG> setSourceDocument(): PASSED.OK
34: ***** State for
xmloff.Draw.XMLMetaExporter::com::sun::star::document::XExporter ******
34: Whole interface: PASSED.OK
34:
***************************************************************************************
34: LOG>     disposing xDrawDoc 
34: ***** State for xmloff.Draw.XMLMetaExporter ******
34: Whole component: PASSED(with known issues).OK
34: **************************************************
34: Creating: xmloff.Draw.XMLStylesImporter
34: LOG> Log started 16.07.2010 - 10:12:10
34: LOG> creating a drawdocument
34: LOG> creating a test environment
34: LOG> creating a new environment for Paragraph object
34: Environment created
34: LOG> Log started 16.07.2010 - 10:12:11
34: checking:
[xmloff.Draw.XMLStylesImporter::com::sun::star::lang::XInitialization] is iface:
[com.sun.star.lang.XInitialization] testcode: [ifc.lang._XInitialization]
34: LOG> Execute: initialize()
34: LOG> calling method with valid arguments...
34: Using new Object[0] as Argument
34: sh:
/net/so-cwsserv02/export/cws/sb127/DEV300/unxmacxi/installation/opt/OpenOffice.org.app/Contents/MacOS/../program/crashrep:
No such file or directory
34: Application Error 
34: 
34: Fatal exception: Signal 6
34: Stack:
[...]
34: com.sun.star.lang.DisposedException: java.io.EOFException
34: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:158)
34: LOG> initialize(): java.io.EOFException.FAILED
34: LOG>     disposing document 
34: ***** State for
xmloff.Draw.XMLStylesImporter::com::sun::star::lang::XInitialization ******
34:
[xmloff.Draw.XMLStylesImporter::com::sun::star::lang::XInitialization::initialize()]
is testcode: [initialize()] - java.io.EOFException.FAILED
34: 
34: Whole interface: PASSED.FAILED
34:
*******************************************************************************************
34: LOG> Log started 16.07.2010 - 10:12:59
34: Creating: xmloff.Draw.XMLStylesImporter
34: LOG> Log started 16.07.2010 - 10:12:59
34: LOG> creating a drawdocument
34: com.sun.star.lang.DisposedException: java_remote_bridge
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@3f4a21 is disposed
34: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:702)
34: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:621)
34: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
34: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
34: LOG> 	at $Proxy10.loadComponentFromURL(Unknown Source)
34: LOG> 	at util.SOfficeFactory.openDoc(SOfficeFactory.java:594)
34: LOG> 	at util.SOfficeFactory.createDrawDoc(SOfficeFactory.java:171)
34: LOG> 	at
mod._xmloff.Draw.XMLStylesImporter.initialize(XMLStylesImporter.java:84)
34: LOG> 	at lib.TestCase.initializeTestCase(TestCase.java:79)
34: LOG> 	at base.java_fat.getEnv(java_fat.java:465)
34: LOG> 	at base.java_fat.executeTest(java_fat.java:221)
34: LOG> 	at org.openoffice.Runner.run(Runner.java:240)
34: LOG> 	at org.openoffice.xmloff.qa.unoapi.Test.test(Test.java:44)
[...]

with

#8  0x935232bb in _sigtramp ()
#9  0xffffffff in ?? ()
#10 0x24741cb7 in SvXMLNamespaceMap::_Add ()
#11 0x247425cd in SvXMLNamespaceMap::Add ()
#12 0x2476549b in SvXMLImport::_InitCtor ()
#13 0x24767c4b in SvXMLImport::SvXMLImport ()
#14 0x2490e1ab in SdXMLImport::SdXMLImport ()
#15 0x2490e938 in XMLImpressStylesImportOasis_createInstance ()
#16 0x0063e646 in cppu::OSingleFactoryHelper::createInstanceEveryTime ()
#17 0x0063dd6c in cppu::OSingleFactoryHelper::createInstanceWithContext ()
#18 0x0063e08f in cppu::OFactoryComponentHelper::createInstanceWithContext ()
#19 0x0063ee93 in
cppu::OSingleFactoryHelper::createInstanceWithArgumentsAndContext ()
#20 0x0063f475 in
cppu::OFactoryComponentHelper::createInstanceWithArgumentsAndContext ()
#21 0x00640efc in
cppu::ORegistryFactoryHelper::createInstanceWithArgumentsAndContext ()
#22 0x04b36565 in
stoc_smgr::OServiceManager::createInstanceWithArgumentsAndContext ()
#23 0x04b2ab38 in stoc_smgr::OServiceManager::createInstanceWithArguments ()
#24 0x28d393df in OOo2OasisTransformer::Initialize ()
#25 0x04b04d22 in (anonymous namespace)::callVirtualMethod ()
#26 0x04b050f0 in (anonymous namespace)::cpp_call ()
#27 0x04b0593f in bridges::cpp_uno::shared::unoInterfaceProxyDispatch ()
#28 0x1891cd0a in thisDispatch ()
#29 0x1890f676 in bridges_urp::ServerMultiJob::execute ()
#30 0x1890ff86 in doit ()
#31 0x0073865f in cppu_threadpool::JobQueue::enter ()
#32 0x00738e7b in cppu_threadpool::ORequestThread::run ()
#33 0x007391f0 in cppu_requestThreadWorker ()
#34 0x001ff197 in osl_thread_start_Impl ()
#35 0x934e8155 in _pthread_start ()
#36 0x934e8012 in thread_start ()
Comment 1 Stephan Bergmann 2010-09-17 10:47:46 UTC
worked around for now by disabling affected tests as
<http://hg.services.openoffice.org/cws/sb126/rev/ca736fce23d9>; please revert
when fixing this issue
Comment 2 Stephan Bergmann 2010-09-23 12:44:59 UTC
A similar problem occurred at
<http://termite.services.openoffice.org/buildbot/builders/Ubuntu-8.04-amd64/builds/2468>
on DEV300_m88 based CWS sb123subsequenttests for
xmloff.Impress.XMLStylesImporter::com::sun::star::lang::XInitialization:

[...]
33: Creating: xmloff.Impress.XMLStylesImporter
33: LOG> Log started 23.08.2010 - 06:07:47
33: LOG> creating an impress document
33: LOG> creating a test environment
33: LOG> creating a new environment for Paragraph object
33: LOG> Styles before:
33: LOG>   standard
33: LOG>   objectwitharrow
33: LOG>   objectwithshadow
33: LOG>   objectwithoutfill
33: LOG>   text
33: LOG>   textbody
33: LOG>   textbodyjustfied
33: LOG>   textbodyindent
33: LOG>   title
33: LOG>   title1
33: LOG>   title2
33: LOG>   headline
33: LOG>   headline1
33: LOG>   headline2
33: LOG>   measure
33: Environment created
33: LOG> Log started 23.08.2010 - 06:07:48
33: checking:
[xmloff.Impress.XMLStylesImporter::com::sun::star::lang::XInitialization] is
iface: [com.sun.star.lang.XInitialization] testcode: [ifc.lang._XInitialization]
33: LOG> Execute: initialize()
33: LOG> calling method with valid arguments...
33: Using new Object[0] as Argument
33: Method initialize() finished with state OK
33: LOG> initialize(): PASSED.OK
33: LOG>     disposing document 
33: X-Error: BadAlloc (insufficient resources for operation)
33: 	Major opcode: 53 (X_CreatePixmap)
33: 	Resource ID:  0x50
33: 	Serial No:    102353 (102353)
33: These errors are reported asynchronously,
33: set environment variable SAL_SYNCHRONIZE to 1 to help debugging
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
33: Application Error***** State for
xmloff.Impress.XMLStylesImporter::com::sun::star::lang::XInitialization ******
33: Whole interface: PASSED.OK
33:
**********************************************************************************************
33: LOG> Log started 23.08.2010 - 06:07:48
33: Creating: xmloff.Impress.XMLStylesImporter
33: LOG> Log started 23.08.2010 - 06:07:48
33: LOG> creating an impress document
33: com.sun.star.lang.DisposedException: java_remote_bridge
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge@7786df0f is disposed
33: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.checkDisposed(java_remote_bridge.java:702)
33: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:621)
33: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
33: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
33: LOG> 	at $Proxy10.loadComponentFromURL(Unknown Source)
33: LOG> 	at util.SOfficeFactory.openDoc(SOfficeFactory.java:594)
33: LOG> 	at util.SOfficeFactory.createImpressDoc(SOfficeFactory.java:192)
33: LOG> 	at
mod._xmloff.Impress.XMLStylesImporter.initialize(XMLStylesImporter.java:84)
33: LOG> 	at lib.TestCase.initializeTestCase(TestCase.java:79)
33: LOG> 	at base.java_fat.getEnv(java_fat.java:465)
33: LOG> 	at base.java_fat.executeTest(java_fat.java:221)
33: LOG> 	at org.openoffice.Runner.run(Runner.java:240)
33: LOG> 	at org.openoffice.xmloff.qa.unoapi.Test.test(Test.java:44)
33: LOG> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
33: LOG> 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
33: LOG> 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
33: LOG> 	at java.lang.reflect.Method.invoke(Method.java:585)
33: LOG> 	at
org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
33: LOG> 	at
org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
33: LOG> 	at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
33: LOG> 	at
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
33: LOG> 	at
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
33: LOG> 	at
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
33: LOG> 	at
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
33: LOG> 	at
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
33: LOG> 	at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
33: LOG> 	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
33: LOG> 	at org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:29)
33: LOG> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:130)
33: LOG> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:109)
33: LOG> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
33: LOG> 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)
33: LOG> 	at org.junit.runner.JUnitCore.main(JUnitCore.java:44)
33: Couldn't create document
[...]

X11's CreatePixmap takes arguments "width, height: CARD16"
(<ftp://ftp.x.org/pub/X11R7.0/doc/PDF/proto.pdf>), so what might happen here is
that those are wrong values (for whatever reason) whose product is so large as
to let the server complain Alloc.

Worked around for now by disabling the test as
<http://hg.services.openoffice.org/cws/sb123/rev/46110d9efe59>; please also
revert when fixing this issue.
Comment 3 Marcus 2017-05-20 11:35:05 UTC
Reset assigne to the default "issues@openoffice.apache.org".