Issue 111285 - forms/qa/unoapi forms.OButtonModel failure
forms/qa/unoapi forms.OButtonModel failure
Status: CONFIRMED
Product: gsl
Classification: Code
Component: code
DEV300m77
All All
: P3 trivial (vote)
: ---
Assigned To: Frank Schönheit
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-30 13:09 UTC by Stephan Bergmann
Modified: 2013-01-29 21:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation on: ---
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-30 13:09:03 UTC
At least on DEV300_m77-based CWS sb120 (mainly making changes to the testing
framework), executing forms/qa/unoapi at least under unxlngi6 non-pro, with
soffice.bin executing under valgrind memchk control ('export
LD_PRELOAD=.../sal/unxlngi6/lib/libsalalloc_malloc.so.3; exec valgrind
"$sd_prog/$sd_binary" "$@"' inserted into soffice script), repeatedly (maybe due
to timing issues caused by valgrind?) fails at

[...]
4: ***** State for forms.OButtonModel::com::sun::star::beans::XMultiPropertySet
******
4: Whole interface: PASSED.OK
4:
***********************************************************************************
4: LOG> Log started 29.03.2010 - 17:47:28
4: Creating: forms.OButtonModel
4: LOG> Log started 29.03.2010 - 17:47:28
4: LOG> creating a textdocument
4: LOG> adding contol shape 'CommandButton'
4: LOG> Implementation name: com.sun.star.comp.forms.OButtonModel
4:
docpth:/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/forms/qa/unoapi/testdocuments
4: LOG> copy
'file:///net/so-cwsserv02/export/cws/sb120/DEV300/ooo/forms/qa/unoapi/testdocuments/TestDB/testDB.dbf'
->
'file:///net/so-cwsserv02/export/cws/sb120/DEV300/ooo/forms/unxlngi6/misc/qa_unoapi/user/user/test-temp/testDB.dbf'
4: LOG> data source:
sdbc:dbase:file:///net/so-cwsserv02/export/cws/sb120/DEV300/ooo/forms/unxlngi6/misc/qa_unoapi/user/user/test-temp/
4: LOG> !!! Can't access TestDB !!!
4: com.sun.star.io.IOException: Could not save the document to
file:///net/so-cwsserv02/export/cws/sb120/DEV300/ooo/forms/unxlngi6/misc/qa_unoapi/user/user/test-temp/APITestDatabase.odb:
4: Error during shared access to
/net/so-cwsserv02/export/cws/sb120/DEV300/ooo/forms/unxlngi6/misc/qa_unoapi/user/user/test-temp/APITestDatabase.odb.
4: LOG> 	at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177)
4: LOG> 	at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
4: LOG> 	at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335)
4: LOG> 	at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304)
4: LOG> 	at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:91)
4: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:639)
4: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
4: LOG> 	at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
4: LOG> 	at $Proxy40.storeAsURL(Unknown Source)
4: LOG> 	at util.DBTools.reRegisterDB(DBTools.java:337)
4: LOG> 	at
mod._forms.GenericModelTest.createTestEnvironment(GenericModelTest.java:419)
4: LOG> 	at mod._forms.OButtonModel.createTestEnvironment(OButtonModel.java:131)
4: LOG> 	at lib.TestCase.getTestEnvironment(TestCase.java:132)
4: LOG> 	at base.java_fat.getEnv(java_fat.java:466)
4: LOG> 	at base.java_fat.executeTest(java_fat.java:221)
4: LOG> 	at org.openoffice.Runner.run(Runner.java:239)
4: LOG> 	at org.openoffice.forms.qa.unoapi.Test.test(Test.java:44)
4: LOG> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
4: LOG> 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
4: LOG> 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
4: LOG> 	at java.lang.reflect.Method.invoke(Method.java:585)
4: LOG> 	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
4: LOG> 	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
4: LOG> 	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
4: LOG> 	at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
4: LOG> 	at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
4: LOG> 	at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
4: LOG> 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
4: LOG> 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
4: LOG> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
4: LOG> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
4: LOG> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
4: LOG> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
4: LOG> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
4: LOG> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
4: LOG> 	at org.junit.runners.Suite.runChild(Suite.java:128)
4: LOG> 	at org.junit.runners.Suite.runChild(Suite.java:24)
4: LOG> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
4: LOG> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
4: LOG> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
4: LOG> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
4: LOG> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
4: LOG> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
4: LOG> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
4: LOG> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
4: LOG> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
4: LOG> 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
4: LOG> 	at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
4: LOG> 	at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
4: Exception while getting Environment Can't access TestDB
4: lib.StatusException: Can't access TestDB
4: 	at mod._forms.GenericModelTest.createTestEnvironment(GenericModelTest.java:426)
4: 	at mod._forms.OButtonModel.createTestEnvironment(OButtonModel.java:131)
4: 	at lib.TestCase.getTestEnvironment(TestCase.java:132)
4: 	at base.java_fat.getEnv(java_fat.java:466)
4: 	at base.java_fat.executeTest(java_fat.java:221)
4: 	at org.openoffice.Runner.run(Runner.java:239)
4: 	at org.openoffice.forms.qa.unoapi.Test.test(Test.java:44)
4: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
4: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
4: 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
4: 	at java.lang.reflect.Method.invoke(Method.java:585)
4: 	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
4: 	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
4: 	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
4: 	at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
4: 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
4: 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
4: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
4: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
4: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
4: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
4: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
4: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
4: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
4: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
4: 	at org.junit.runners.Suite.runChild(Suite.java:128)
4: 	at org.junit.runners.Suite.runChild(Suite.java:24)
4: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
4: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
4: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
4: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
4: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
4: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
4: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
4: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
4: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
4: 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
4: 	at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
4: 	at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
4: LOG> closing connection...
4: LOG> ERROR: Can't close the connection:
com.sun.star.container.NoSuchElementException: 
4: LOG> closing data source...
4: LOG> ERROR: couldn't close data source:
com.sun.star.lang.NotInitializedException: 
4: LOG> disposing data source...
4: LOG> closing document...
4: LOG> revoking data source...
4: ==29761== 
4: ==29761== Thread 1:
4: ==29761== Syscall param write(buf) points to uninitialised byte(s)
4: ==29761==    at 0x74783CE: pthread_key_delete (specific.c:124)
4: ==29761==    by 0x40419DE: osl_destroyThreadKey (in
/net/so-cwsserv02/export/cws/sb120/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_sal.so.3)
4: ==29761==    by 0x452F86A: __tcf_0 (in
/net/so-cwsserv02/export/cws/sb120/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libuno_cppu.so.3)
4: ==29761==    by 0x737F2FA: exit (exit.c:60)
4: ==29761==    by 0x7369326: __libc_start_main (libc-start.c:240)
4: ==29761==  Address 0xBEA6A2BC is on thread 1's stack
4: ==29761== 
4: ==29761== Syscall param write(buf) points to uninitialised byte(s)
4: ==29761==    at 0x74783CE: pthread_key_delete (specific.c:124)
4: ==29761==    by 0x72F1F48: __tcf_0 (gthr-default.h:589)
4: ==29761==    by 0x737F539: __cxa_finalize (cxa_finalize.c:42)
4: ==29761==    by 0x727B7B2: (within
/net/so-cwsserv02/export/cws/sb120/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libstdc++.so.6)
4: ==29761==    by 0x72F97D9: (within
/net/so-cwsserv02/export/cws/sb120/DEV300/unxlngi6/installation/opt/openoffice.org/ure/lib/libstdc++.so.6)
4: ==29761==    by 0x400B8F3: (within /lib/ld-2.3.6.so)
4: ==29761==    by 0x737F2FA: exit (exit.c:60)
4: ==29761==    by 0x7369326: __libc_start_main (libc-start.c:240)
4: ==29761==  Address 0xBEA69FDC is on thread 1's stack
4: ==29761== 
4: ==29761== Invalid free() / delete / delete[]
4: ==29761==    at 0x401CFCF: free (vg_replace_malloc.c:235)
4: ==29761==    by 0x7446EE9: free_mem (dl-libc.c:228)
4: ==29761==    by 0x7446A9E: __libc_freeres (set-freeres.c:47)
4: ==29761==    by 0x401931E: _vgw_freeres (vg_preloaded.c:62)
4: ==29761==    by 0x737F34B: exit (exit.c:82)
4: ==29761==    by 0x7369326: __libc_start_main (libc-start.c:240)
4: ==29761==  Address 0x74C0250 is not stack'd, malloc'd or (recently) free'd
4: ==29761== 
4: ==29761== ERROR SUMMARY: 501 errors from 37 contexts (suppressed: 162 from 8)
4: ==29761== malloc/free: in use at exit: 12,282,304 bytes in 145,682 blocks.
4: ==29761== malloc/free: 1,665,329 allocs, 1,519,648 frees, 163,718,952 bytes
allocated.
4: ==29761== For counts of detected errors, rerun with: -v
4: ==29761== searching for pointers to 145,682 not-freed blocks.
4: ==29761== checked 15,530,092 bytes.
4: ==29761== 
4: ==29761== LEAK SUMMARY:
4: ==29761==    definitely lost: 33,056 bytes in 316 blocks.
4: ==29761==      possibly lost: 6,994,853 bytes in 58,405 blocks.
4: ==29761==    still reachable: 5,254,395 bytes in 86,961 blocks.
4: ==29761==         suppressed: 0 bytes in 0 blocks.
4: ==29761== Use --leak-check=full to see details of leaked memory.
4: E
4: Time: 1,497.875
4: There was 1 failure:
4: 1) test(org.openoffice.forms.qa.unoapi.Test)
4: java.lang.NullPointerException
4: 	at base.java_fat.executeTest(java_fat.java:222)
4: 	at org.openoffice.Runner.run(Runner.java:239)
4: 	at org.openoffice.forms.qa.unoapi.Test.test(Test.java:44)
4: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
4: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
4: 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
4: 	at java.lang.reflect.Method.invoke(Method.java:585)
4: 	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
4: 	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
4: 	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
4: 	at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
4: 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
4: 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
4: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
4: 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
4: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
4: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
4: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
4: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
4: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
4: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
4: 	at org.junit.runners.Suite.runChild(Suite.java:128)
4: 	at org.junit.runners.Suite.runChild(Suite.java:24)
4: 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
4: 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
4: 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
4: 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
4: 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
4: 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
4: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
4: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
4: 	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
4: 	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
4: 	at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
4: 	at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
4: 
4: FAILURES!!!
4: Tests run: 1,  Failures: 1
4: 
4: dmake:  Error code 1, while making 'javatest'
failed in /net/so-cwsserv02/export/cws/sb120/DEV300/ooo/forms/qa/unoapi
Comment 1 Stephan Bergmann 2010-04-30 13:12:19 UTC
worked around for now by disabling the affected tests in
forms/qa/unoapi/forms.sce, see
<http://hg.services.openoffice.org/cws/sb120/rev/ae767cd8fc19>; please revert
when fixing this issue
Comment 2 philipp.lohmann 2010-04-30 13:53:11 UTC
@fs: please have a look