← Back to team overview

openjdk team mailing list archive

[Bug 750994] Re: NetBeans 7 crashes OpenJDK with SIGSEGV in glXChooseVisual when GLX not available on display

 

** Attachment added: "OpenJDK crash report"
   https://bugs.launchpad.net/bugs/750994/+attachment/1981016/+files/hs_err_pid392.log

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

Title:
  NetBeans 7 crashes OpenJDK with SIGSEGV in glXChooseVisual when GLX
  not available on display

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

Bug description:
  Launching NetBeans7 RC1 from http://netbeans.org/ fails with a SIGSEGV
  on a freshly installed Ubuntu 11.04 system with OpenJDK 1.6.0_22. The
  segfault is in libGL.so.1 at glXChooseVisual+0x106eb .

  Running "glxinfo" reports:

  Xlib:  extension "GLX" missing on display ":0.0".
  Error: couldn't find RGB GLX visual or fbconfig

  ... so I suspect the issue is that OpenJDK isn't coping cleanly when
  GLX isn't available.

  It appears that the JDK has been restructured to try to merge the
  -headless and regular jdks, given that `dpkg -S
  /usr/lib/jvm/java-6-openjdk/bin/java' reports `openjdk-6-jre-
  headless'. Attempting to 'apt-get --purge remove openjdk-6-jre-
  headless' shows that openjdk-6-jre now depends on openjdk-6-jre-
  headless. This may be related to the problem.


  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0xb0d99e7b, pid=392, tid=3001133936
  #
  # JRE version: 6.0_22-b22
  # Java VM: OpenJDK Client VM (20.0-b11 mixed mode, sharing linux-x86 )
  # Derivative: IcedTea6 1.10.1pre
  # Distribution: Ubuntu Natty (development branch), package 6b22-1.10.1~pre1-0ubuntu1
  # Problematic frame:
  # C  [libGL.so.1+0x61e7b]  glXChooseVisual+0x106eb
  #
  # An error report file with more information is saved as:
  # /home/craig/hs_err_pid392.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