openjdk segfault

Bug #585142 reported by David Turner
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

To reproduce (sorry these directions stink -- it's hard to get a good test case for a random JVM crash):
Download OpenTripPlanner from here:
svn co https://svn.opentripplanner.org/branches/contraction-wip/ -r853

Download and combine the New York City map from :
http://www.nyc.gov/html/dcp/html/bytes/dwnlion.shtml
Download the MapInfo file. This must be converted to a ShapeFile. unzip nyc_lion09ami.zip ogr2ogr -f 'ESRI Shapefile'
nyc_streets/streets.shp lion/MNLION1.tab ogr2ogr -update -append -f 'ESRI Shapefile'
nyc_streets lion/SILION1.tab -nln streets ogr2ogr -update -append -f 'ESRI Shapefile'
nyc_streets lion/QNLION1.tab -nln streets ogr2ogr -update -append -f 'ESRI Shapefile'
nyc_streets lion/BKLION1.tab -nln streets ogr2ogr -update -append -f 'ESRI Shapefile'
nyc_streets lion/BXLION1.tab -nln streets

I can't redistribute it, or I would save you this step.

Make sure you have lots of RAM allocated to Maven:

export MAVEN_OPTS=-Xmx2500m

run the tests:

mvn test

It will spit out a bunch of output, then crash inside the JVM:

here: 111000 total time: 366971 avg time 0.08736151 non-time 90312
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f883a4e002c, pid=11746, tid=140220721572112
#
# JRE version: 6.0-b16
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Distribution: Ubuntu 9.10, package 6b16-1.6.1-3ubuntu3
# Problematic frame:
# V [libjvm.so+0x58802c]
#
# An error report file with more information is saved as:
# /home/novalis/otp/opentripplanner/maven.1268438348896/opentripplanner-graph-builder/hs_err_pid11746.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/

For what it's worth, here's my processor:
Architecture: x86_64
CPU(s): 2
Thread(s) per core: 1
Core(s) per socket: 2
CPU socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 23
Stepping: 6
CPU MHz: 800.000
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 6144K

Revision history for this message
David Turner (novalis) wrote :
Revision history for this message
David Turner (novalis) wrote :

Update on this. I made numerous changes to OpenTripPlanner (the instructions above check out the precise version exhibiting this bug), and upgraded to Lucid, thus upgrading my JDK.

I have now run across another, similar crash. You can check out the version of OTP that exhibits this crash with:
svn co https://svn.opentripplanner.org/branches/contraction-wip/ -r864
Follow the same instructions.

Here's the output right before it crashes:
contracted: 156000 total time: 151.361 average degree 24.547176023253623
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fcbf9c0905f, pid=1044, tid=140511704381200
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8
# Distribution: Ubuntu lucid (development branch), package 6b18-1.8-0ubuntu1
# Problematic frame:
# V [libjvm.so+0x22d05f]
#
# An error report file with more information is saved as:
# /home/novalis/otp/opentripplanner/maven.1268438348896/opentripplanner-graph-builder/hs_err_pid1044.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#

And the log is attached

Revision history for this message
Munzir Taha (منذر طه) (munzirtaha) wrote :

I am also trying to access an applet on the net (@https://vpn.wdc01.softlayer.com) and it segfaults java.

$ java -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007f9a9fb1b0eb, pid=7592, tid=140302092519168
#
# JRE version: 6.0_21-b21
# Java VM: OpenJDK 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.10pre
# Distribution: Ubuntu natty (development branch), package 6b21~pre1-0ubuntu1
# Problematic frame:
# C [libc.so.6+0x850eb] memset+0xa5b
#
# An error report file with more information is saved as:
# /home/munzir/hs_err_pid7592.log
Segmentation fault (core dumped)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.