← 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

 

I get this as well. I can run netbeans OK when using my laptops built in
intel card, but when switching to the (also built in!) nvidia card with
the proprietary drivers I get the described crash consistently.

@Craig: are you using the proprietary nvidia drivers as well when you
get the crash? In that case it can either be some ABI mismatch with
nvidia's libGL.so or simply a bugin the nvidia drivers.

-- 
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:
  Confirmed

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

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



References