← Back to team overview

openjdk team mailing list archive

[Bug 569660] Re: Design Studio SIGSEGV While Testing HelloWorld - libxul.so

 

OK - found the following shared libraries in /usr/lib/xulrunner that
also appear in /usr/lib/xulrunner-1.9.1.9:

   libmozjs.so
   libxpcom.so
   libxul.so

They appear in xulrunner as symbolic kinks to /usr/lib/{shared
libraryname}.0d, but exist as actual files in xulrunner-1.9.1.9. So, I
moved the .0d files in /usr/lib out of the way and copied the actual
shared library files from xulrunner-1.9.1.9 to /usr/lib with a ".0d"
appended to the name so that the symbolic links in xulrunner point to
current shared libraries in /usr/lib (not sure this matters). Finally, I
created symbolic links in /usr/lib to the ".0d" files named with the
".so" name (e.g. ln -s libxul.so.0d libxul.so). After all was said and
done, I have symbolic links in /usr/lib pointing to xulrunner-1.9.1.9
versions. Hope that's reasonably clear.

Anyway, fired up bi server, then design studio, then tried to test
HelloWorld.xaction - didn't work but in a different way, i.e. no
complaints about not finding a lib{whatever}.so. Instead, the JVM
crashes. Couldn't find a log file (find / -name 'hs*.log' -print) but
the following clip appears in my terminal window where I started design
studio:

biserver-ce/pentaho-solutions/system/usr/bin/java: symbol lookup error:
/home/bren/pentaho/design-
studio/configuration/org.eclipse.osgi/bundles/108/1/.cp/libswt-mozilla-
gtk-3236.so: undefined symbol: _ZN4nsID5ParseEPKc

Note that there is no /usr/bin/java directory in biserver-cd/pentaho-
solution/system as mentioned in the clip.

I'm stumped.

-- 
Design Studio SIGSEGV While Testing HelloWorld - libxul.so
https://bugs.launchpad.net/bugs/569660
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: New

Bug description:
Config: Karmic Koala and CE running on Ubuntu server.

This started as a problem getting Design Studio to display the Test screen for HelloWorld.xaction in Getting Started. There's a thread in the Community Forum on this. I found a dependence missing: libxpcom.so. As locate found it in a "xul" directory, Synaptic reported that package xulrunner provided XUL and XPCOM so I installed it. Presto, Design Studio can display the test screen but a lot of things got removed, e.g. firefox and eclipse, so this was a concern. I started the BI Server, loaded HelloWorld.xaction into Design Studio, configure it with name and message, then selected the Test capability. Presto, Design Studio can "GenerateURL" for the action sequence but, when attempting to "Test Server" I get the SIGSEGV. 

OK, so I guess xulrunner is obsolete and I went back to xulrunner-1.9.1 then reinstalled the things that got removed. Presto, I can't Test HelloWorld again but firefox is back. It may be that the symbolic links to xul libraries in /usr/lib have not been correctly updated to reflect the latest (?) version 1.9.1.9. I'll investigate tomorrow and fiddle with the symbolic links trying to have everything point to 1.9.1.9 as is possible. 

Config:
Eclipse 3.2.2, Ubuntu server 9.10, Pentaho CE version 3.5.2





References