jdk jvm crash on ~120 threads

Bug #647133 reported by Michal Heriban
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

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
when i debug from netbeans ,then the crash is not happening

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/
#

Tags: jdk jvm sigsegv
Revision history for this message
Michal Heriban (info-aab) wrote :
description: updated
description: updated
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.