chrisidefix / cgal-bindings

Automatically exported from code.google.com/p/cgal-bindings
Boost Software License 1.0
0 stars 0 forks source link

java core dump while test.sh executing (ubuntu 13.04, CGAL-4.2) #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. untar CGAL-4.2 into /usr/local/share/CGAL
cd /usr/local/share/CGAL
cmake .
make -j
cd ; cd sandbox
git clone https://code.google.com/p/cgal-bindings
cd cgal-bindings
mkdir build/CGAL-4.2 -p
cd build/CGAL-4.2/
cmake -DCGAL_DIR=/usr/local/share/CGAL -DBUILD_PYTHON=OFF 
-DJAVA_OUTDIR_PREFIX=../../examples/java ../..
make -j
cd ../../examples/java/
sh ./test.sh > test.out

What is the expected output?
test runs without errors

What do you see instead?
fossil@fossil-lt5:~/sandbox/cgal-bindings/examples/java$ sh ./test.sh > test.out
valid data structure
Delaunay valid triangulation
geometrically valid cell
Delaunay valid cell
_readImageHeaderAndGetError: error: unable to open file 'skull_2.9.inr'
Aborted (core dumped)

What version of the product are you using? On what operating system?
CGAL-4.2
ubuntu 13.04 upgraded from 12.04, 12.10

Please provide any additional information below.

the test.out with the core message are attached

Original issue reported on code.google.com by victor.p...@gmail.com on 25 Aug 2013 at 10:32

Attachments:

GoogleCodeExporter commented 9 years ago
when /usr/local/share/CGAL/examples/Surface_mesher/data/skull_2.9.inr copied to 
~/sandbox/cgal-bindings/examples/java/ and run the test.sh again, the problem 
is gone. 

But anyway, please consider that as bug, because just calling

Gray_level_image_3 image=new Gray_level_image_3("skull_2.9.inr",2.9);

without file in file system should not crash JVM.

Original comment by victor.p...@gmail.com on 25 Aug 2013 at 1:50

GoogleCodeExporter commented 9 years ago

Original comment by sloriot...@gmail.com on 2 Sep 2013 at 6:43