← Back to team overview

openjdk team mailing list archive

[Bug 921999] Re: SIGSEGV in sun.management MBean inspection

 

** Attachment added: "Inspector class that reads MBean attributes"
   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/921999/+attachment/2694370/+files/Inspector.java

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/921999

Title:
  SIGSEGV in sun.management MBean inspection

Status in “openjdk-6” package in Ubuntu:
  New

Bug description:
  A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0xb6e9ac65, pid=19625, tid=1792400240
  #
  # JRE version: 6.0_20-b20
  # Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )
  # Derivative: IcedTea6 1.9.10
  # Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.10-0ubuntu1~10.04.2
  # Problematic frame:
  # V  [libjvm.so+0x386c65]

  More in attached file.

  
  Application runs on Tomcat 6.
  Segfault occurs when extracting and viewing MBean attributes on a JSP webpage.
  It doesn't segfault immediately, it takes some reloads, maybe after the system has started processing data.
  The system it's part of has some worker threads, which some are exported as MBeans.

  The MBeans are exported by Spring.
  The code used to extract attribute values from the MBeans is based upon the code example from this forum post:  http://java-monitor.com/forum/showpost.php?p=1655&postcount=1

  Segfaults on both Ubuntu bootstrapped from Maven and deployed as war
  on Tomcat on Red Hat.

  Application never segfaulted before the javax.management code was
  added and it doesn't segfault until the mbeans webpage has been
  visited.

  
  = System info Ubuntu =

  $ lsb_release -rd
  Description:    Ubuntu 10.04.3 LTS
  Release:        10.04

  $ java -version
  java version "1.6.0_20"
  OpenJDK Runtime Environment (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.04.2)
  OpenJDK Server VM (build 19.0-b09, mixed mode)

  Application started with "mvn tomcat:run".


  = Same problem on Red Hat =

  $ lsb_release -rd
  Description:    Red Hat Enterprise Linux Server release 6.1 (Santiago)
  Release:        6.1

  $ java -version
  java version "1.6.0_20"
  OpenJDK Runtime Environment (IcedTea6 1.9.8) (rhel-1.39.1.9.8.el6_1-x86_64)
  OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

  Application deployed as war on Tomcat 6.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/921999/+subscriptions



References