Werner, On Tue, Aug 18, 2009 at 11:00:47AM +0200, Werner Smekal wrote: > Hi, > > I just ran the plplot tests (latest svn) on Mac OS X, turning > everything on I got and the Java tests fail in example 19: > > 3/ 17 Testing examples_java > Test command: /bin/bash -c EXAMPLES_DIR=/Users/smekal/Development/ > plbuild/examples\ SRC_EXAMPLES_DIR=/Users/smekal/Development/plplot/ > examples\ PLPLOT_JAVA_WRAP_DIR=/Users/smekal/Development/plbuild/ > bindings/java/\ PLPLOT_CLASSPATH=/Users/smekal/Development/plbuild/ > examples/java/plplot.jar\ ./plplot-test.sh\ --verbose\ --device=psc\ -- > front-end=java > Test timeout computed to be: 1500 > Testing front-end java > x01 > x02 > x03 > x04 > x05 > x06 > x07 > x08 > x09 > x10 > x11 > x12 > x13 > x14 > x15 > x16 > x17 > x18 > x19 > ./test_java.sh: line 47: 98261 Segmentation fault java -classpath > ${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev > $device -o ${OUTPUT_DIR}/x${index}${lang}%n.$dsuffix $options 2> > test.error >|${OUTPUT_DIR}/x${index}${lang}_${dsuffix}.txt > -- Process completed > ***Failed > > I believe Andrew had a similar problem on his computer. I encountered a possible bug with the openjdk java compilers. Which version of java are you using? Everything worked for me with gcj.
I must admit I am no expert at all on the java JNI stuff and I am somewhat at a loss at to why this does not work on some compilers. If I can't fix it then we may need to disable the plslabelfunc call for java which would be irritating. A very similar thing works fine with the mapform callbacks. Andrew ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel