Java apps crash in glXChooseVisual() with nvidia drivers

Bug #745271 reported by Vitali Kulikou
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
NVIDIA Drivers Ubuntu
New
Undecided
Unassigned
openjdk-6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

$ ./bin/rubymine.sh
OpenJDK Runtime Environment (IcedTea6 1.10.1pre) (6b22-1.10.1~pre1-0ubuntu1)
OpenJDK Server VM (build 20.0-b11, mixed mode)
WARNING: You are launching IDE using OpenJDK Java runtime

THIS IS STRICTLY UNSUPPORTED DUE TO KNOWN PERFORMANCE AND GRAPHICS PROBLEMS

NOTE: If you have both Sun JDK and OpenJDK installed
please validate either RUBYMINE_JDK or JDK_HOME points to valid Sun JDK installation

Press Enter to continue.

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x8806fe7b, pid=597, tid=2302401392
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK Server VM (20.0-b11 mixed mode 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:
# hs_err_pid597.log
#
Aborted (core dumped)

Revision history for this message
Vitali Kulikou (sabotatore) wrote :
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

@Vitali: Can you confirm whether or not you are using the proprietary nvidia drivers (and in the positive case also which version)?

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I am asking because this bug seems similar to bug #750994

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Ok - peeking into your attached log attests that you are indeed using the proprietary nvidia drivers version 270.30. I see exactly the same behavior with v 280.13. But everything is smooth sailing when I am using the intel driver.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

My log with the proprietary nvidia drivers version 280.13 when trying to run Netbeans java ide.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Hinted by Сергій Матрунчик (aka SkyMan) in comment 2 on bug #635289 (which appears unrelated) I discovered that running Netbeans under sudo makes things "work" again - needless to say this is not a sustainable solution... But could work for searching souls while we wait for a fix...

So perhaps it's really a permissions (or apparmor?) problem?

summary: - Rubymine can't start
+ Java apps crash in glXChooseVisual() with nvidia drivers
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

This appears to be fixed with the latest round of updates in Oneiric. I have:

openjdk-6-jre: 6b23~pre5-0ubuntu1
nvidia-current: 280.13-0ubuntu1

That said I am not 100% sure that it is really fixed. Keeping the bug open until someone else can confirm.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.