[BUG!!] Java Mapscript crashes when debugging is not set on a MAP
umberto.nicoletti at GMAIL.COM
Wed Apr 12 11:19:21 EDT 2006
As the subject says Java mapscript crashes when debugging is not set
at the MAP level.
Steps to reproduce:
cvs co mapserver
cd mapscript/java && make interface clean all test
at which point the DrawMap java example will crash giving the followin output:
java -classpath ./:examples/:./mapscript.jar -Djava.library.path=.
DrawMap ../../tests/test.map ./map.png
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0x45b6da8a, pid=24833, tid=16384
# Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode, sharing)
# Problematic frame:
# C [libmapscript.so+0x98a8a] msDrawMap+0x62
# An error report file with more information is saved as hs_err_pid24833.log
# If you would like to submit a bug report, please visit:
make: *** [test] Aborted (core dumped)
To solve the issue just enable debugging at the map level (add DEBUG ON).
Anyone knows or at least has an idea of what's going on?
Last time I checked Java mapscript it was with 4.8.1 (but could have
been 4.8.0) so the culprit should be something added recently.
More information about the mapserver-dev