← Back to team overview

openjdk team mailing list archive

[Bug 647133] Re: jdk jvm crash on ~120 threads

 

** Description changed:

  im programing a simple app which uses many threads and mysql connection
  the jvm crashes in a few minutes after the threads are continuously created.
+ 
+ the problem only arises when debugging from eclipse
+ 
  i suspect it has something to do with the way linux manages threads (NPTL)
  i use a static threadlocal instance,which initializes a mysql connection
  
  i've encountered this on different hardware :
- intel e6850 , 6gb ram 
+ intel e6850 , 6gb ram
  hp probook 4520s core i3 350m, 4gb ram
  
  i've tried to find a fix via google for many hours but found nothing useful or remotely helpful
  the same app runs flawlessly on windows 7 x64 jdk from sun,i've also tried the jdk from sun on linux,but the same problem arises
  
  is there any way to choose something different than NPTL ?
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0x00007f565248e065, pid=2356, tid=140007445153552
  #
  # JRE version: 6.0_18-b18
  # Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )
  # Derivative: IcedTea6 1.8.1
  # Distribution: Ubuntu 10.04 LTS, package 6b18-1.8.1-0ubuntu1
  # Problematic frame:
  # V  [libjvm.so+0x5a5065]
  #
  # An error report file with more information is saved as:
  # /home/michal/praca/stefan/webrozhranie/webrozhranie/hs_err_pid2356.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/
  #

-- 
jdk jvm crash on ~120 threads
https://bugs.launchpad.net/bugs/647133
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:
im programing a simple app which uses many threads and mysql connection
the jvm crashes in a few minutes after the threads are continuously created.

the problem only arises when debugging from eclipse

i suspect it has something to do with the way linux manages threads (NPTL)
i use a static threadlocal instance,which initializes a mysql connection

i've encountered this on different hardware :
intel e6850 , 6gb ram
hp probook 4520s core i3 350m, 4gb ram

i've tried to find a fix via google for many hours but found nothing useful or remotely helpful
the same app runs flawlessly on windows 7 x64 jdk from sun,i've also tried the jdk from sun on linux,but the same problem arises

is there any way to choose something different than NPTL ?
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f565248e065, pid=2356, tid=140007445153552
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8.1
# Distribution: Ubuntu 10.04 LTS, package 6b18-1.8.1-0ubuntu1
# Problematic frame:
# V  [libjvm.so+0x5a5065]
#
# An error report file with more information is saved as:
# /home/michal/praca/stefan/webrozhranie/webrozhranie/hs_err_pid2356.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/
#







References