Apache OpenOffice (AOO) Bugzilla – Issue 112758
integration of renaissance2 in m81 broke smoketestoo_native
Last modified: 2013-08-07 15:26:35 UTC
as discussed on dev@tools: --- snip --- It worked fine between m77 and m80 (before m77, it requried X11), and broke on m81. hg bisect identified the integration of renaissance2 as the cws that broke it. --- snip --- --- snip -- : && +LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/home/cl/build/compile/sm +oketestoo_native/unxlngi6.pro/lib:/home/cl/build/compile/solver/300/unxlngi6.pr +o/lib /home/cl/build/compile/solver/300/unxlngi6.pro/bin/cppunittester \ +-env:UNO_SERVICES=file:///home/cl/build/compile/smoketestoo_native/./unxlngi6.p +ro/misc/smoketest/services.rdb \ +-env:UNO_TYPES=file:///home/cl/build/compile/solver/300/unxlngi6.pro/bin/types. +rdb \ +-env:arg-soffice=path:/home/cl/build/compile/solver/300/unxlngi6.pro/installati +on/opt/openoffice.org3/program/soffice -env:arg-user=./unxlngi6.pro/misc/smoketest/user \ -env:arg-env=LD_LIBRARY_PATH"${LD_LIBRARY_PATH+=$LD_LIBRARY_PATH}" ./unxlngi6.pro/lib/libsmoketest.so -env:arg-doc=./unxlngi6.pro/bin/smoketestdoc.sxw Fontconfig error: Cannot load config file "/home/cl/build/compile/solver/300/unxlngi6.pro/installation/opt/openoffice.org3 +/program/../basis-link/share/fonts/type1/fc_local.conf" Fontconfig error: Cannot load config file "/home/cl/build/compile/smoketestoo_native/unxlngi6.pro/misc/smoketest/user/user +/fonts/fc_local.conf" # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xb6133dec, pid=14438, tid=3030546128 # # JRE version: 6.0_16-b01 # Java VM: Java HotSpot(TM) Client VM (14.2-b01 mixed mode linux-x86 ) # Problematic frame: # C [libvclli.so+0x198dec] # # An error report file with more information is saved as: # /home/cl/build/compile/smoketestoo_native/hs_err_pid14438.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # [error occurred during error reporting , id 0xb] /home/cl/build/compile/solver/300/unxlngi6.pro/installation/opt/openoffice.org3Zeile 120: 14438 Abgebrochen "$sd_prog/$sd_binary" "$@" officeconnection.cxx:163:Assertion Test name: (anonymous namespace)::Test::test tearDown() failed - equality assertion failed - Expected: - Actual : Failures !!! Run: 1 Failure total: 1 Failures: 1 Errors: 0 dmake: Error code 1, while making 'cpptest' --- snip--- I tried to track it down further back in time, and I must say that cws is a pain in the ass. Virtually no revision builds because of cyclic dependencies or typos. And even that, the history isn't clear to me. Apparently it merged in renaissance1, that is still open and being worked on. On top of that, smoketest on the earlier revisions reports success, but one can still see the segfault messge that is not there on the original Master. I might have taken a wrong turn somewhere, but as written before that cws doesn't follow the commit-log scheme and doesn't add the cws name in the commit-message. Anyway - my path took be back to changeset 5c75abeb21aa and that still exhibits the problem. This is based on m65 (way older than renaissance2's "milestone created") - fails in the sense that building in smoketestoo_native does exit with status 0, but shows the segfault-message. That revision is a 1295 line diff - and that's it for me.... --- snip --- seen so far on various buildbots, mandriva and Debian, redardless of what JDK use (Sun/OpenJDK/...)
must be fixed ASAP, sometest vurrently is impossible
is -> cl: If renaissance2 is the cause of this problem, this should be your task ;-)
cl: the last snip from the discussions on dev@tools shows that the segfault is also happening prior to renaissance2. Renaissance2 did not touch any platform depended stuff concerning the smoketest. cl->sb: as discussed, please have a look at why the office crash here cl->rene: is it possible that you install an ooo version on a machine that fails the smoketest and execute the smoketestoo_native/data/smoketestdoc.sxw by hand and note here which test actually fail, if any. or if there are other problems while loading that document?
@cl: "the last snip from the discussions on dev@tools shows that the segfault is also happening prior to renaissance2" -- no, it only shows that renaissance2 probably had a long and winding history ;) Apart from that, I just contacted cloph on dev@tools to find out what exactly is broken here.
Created attachment 70271 [details] patch to change new introduced static BitmapEx to static pointer
cl: since sb suspects newly introduced static BitmapEx members in sd module to be the cause of the office crash on close, I attached a patch to replace those with static pointers (a scheme which is already used elsewhere). I applied this patch to cws impress193 and started mandriva buildbots for 32 and 64 bit to see if this changes anything
Hmm, at least here it seems to work with xvfb-run but fails with svp-plugin. Maybe that helps to find the problem (your patch didn't change it)
building impress193 (private cws - sigh) works for smoketestoo_native (more precise: 0742a6ab67e1 built fine and smoketestoo_native succeeded as well. (on the Mandriva x64 one, without X11))
So, what is the status now? The attached i112758_patch.txt solves the problem for cloph, but still causes a SEGV during smoketestoo_native for rene (when not using X11), right? If so, rene, please make a complete build configured with --disable-strip-solver (to have meaningful stack trace information) and "ulimit -c unlimited" (to enable core files) and give me access to the stack trace information in the core file resulting from the above SEGV.
FWIW the patch solves the BitmapEx related crash at application exit for me too (on DEV300_m81).
Created attachment 70294 [details] better patch
cl->obo: please use my second patch from today as a master fix, thank you
Fixed in DEV300_m84 with revision: 85e7cfbbb08a
@rene: verify, please.
I can confirm this ONLY for X11 (i.e. xvfb-run, but see below), NOT for using svp. In the second case I still get: : && LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/home/rene/OpenOffice.org/OOO330_m1/smoketestoo_native/unxlngx6.pro/lib:/home/rene/OpenOffice.org/OOO330_m1/solver/330/unxlngx6.pro/lib /home/rene/OpenOffice.org/OOO330_m1/solver/330/unxlngx6.pro/bin/cppunittester \ -env:UNO_SERVICES=file:///home/rene/OpenOffice.org/OOO330_m1/smoketestoo_native/./unxlngx6.pro/misc/smoketest/services.rdb \ -env:UNO_TYPES=file:///home/rene/OpenOffice.org/OOO330_m1/solver/330/unxlngx6.pro/bin/types.rdb \ -env:arg-soffice=path:/home/rene/OpenOffice.org/OOO330_m1/solver/330/unxlngx6.pro/installation/opt/openoffice.org3/program/soffice -env:arg-user=./unxlngx6.pro/misc/smoketest/user \ -env:arg-env=LD_LIBRARY_PATH"${LD_LIBRARY_PATH+=$LD_LIBRARY_PATH}" ./unxlngx6.pro/lib/libsmoketest.so -env:arg-doc=./unxlngx6.pro/bin/smoketestdoc.sxw officeconnection.cxx:136:Assertion Test name: N12_GLOBAL__N_14TestE::test setUp() failed - equality assertion failed - Expected: 2 - Actual : 0 officeconnection.cxx:163:Assertion Test name: N12_GLOBAL__N_14TestE::test tearDown() failed - equality assertion failed - Expected: 0 - Actual : 77 Failures !!! Run: 1 Failure total: 2 Failures: 2 Errors: 0 dmake: Error code 1, while making 'cpptest' though with no Java crash. As many things outside of OOo using OOo use svp, I don't believe this is a good sign ;) (with xvfb-run it just "hangs", running under "normal" $DISPLAY says "A general error occursed while accessing your central configuration").
filed as issue 113228
... which turned out to be INVALID.. My bad, sorry. works in m1 for me on both "normal" $DISPLAY/xvfb-run and svp
close, as working in m1