Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382311 - dev-java/icedtea opengl issues with x11-drivers/nvidia-drivers
Summary: dev-java/icedtea opengl issues with x11-drivers/nvidia-drivers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: icedtea-tracker
  Show dependency tree
 
Reported: 2011-09-08 19:40 UTC by Till Schäfer
Modified: 2011-10-25 15:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hs_err_pid4509.log (hs_err_pid4509.log,65.81 KB, text/plain)
2011-09-08 19:42 UTC, Till Schäfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2011-09-08 19:40:44 UTC
When running a application i get the following error: 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f597cffebf6, pid=4509, tid=140022262847232
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.10.3
# Distribution: Built on Gentoo Base System release 2.0.3 (Fri Sep  2 15:07:17 CEST 2011)
# Problematic frame:
# C  [libGL.so.1+0x7fbf6]  glXCreateWindow+0xea86
#
# An error report file with more information is saved as:
# /home/till/data/programmierung/java/workspace_helios/edu.udo.scaffoldhunter/hs_err_pid4509.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#

The application works well on my laptop with Intel graphics card. It is a self written application, but there are similar errors for netbeans (see Bug 355999). So i think it is maybe an OpenGL issue with nvidia cards only that is not rooted in my application or netbeans. It runs well under sun jvm either. 

As Oracle has reverted the licence for the sun-jdk this will become more important. 

As it is a scientific application it is very complex to use the software. Therefore i will try to reproduce the netbeans error for reproducability. 

Reproducible: Always
Comment 1 Till Schäfer 2011-09-08 19:42:04 UTC
Created attachment 285887 [details]
hs_err_pid4509.log
Comment 2 Till Schäfer 2011-09-08 19:44:29 UTC
# emerge --info
Portage 2.2.0_alpha54 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 08 Sep 2011 13:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo proaudio arcon local_overlay
Installed sets: @kdeartwork-4.6, @kdebase-4.6, @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/arcon /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdr cli compiz consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode evdev exif fam ffmpeg firefox flac fortran gdbm gdu gif glib glibc gpm gstreamer gtk iconv id3tag ieee1394 imagemagick inotify ipv4 ipv6 irc jack java java6 jpeg jpeg2k kde kde4 kipi latex lcms ldap libnotify libsamplerate lvm mad mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musicbrainz ncurses nls nptl nptlonly ntp ogg opengl openmp oscar otr pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qemu qt3support qt4 quicktime rar readline rss rtc sdl semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification strigi svg sysfs syslog taglib tcpd theora threads thumbnail tiff truetype udev unicode usb v41 v412 vcd vdpau vim-syntax visualization vorbis wavpack wlm wma wmf x264 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hdsp hdspm" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2011-09-14 18:40:59 UTC
I've been seeing the same thing but intermittently. I've been using TD Ameritrade's application where this happens. Basically the program will work for a few days in a row and then suddenly it won't work anymore until I reboot. Its likely an issue where icedtea is not cleaning up a context and they are being leaked inside the driver and can't be reused.
Comment 4 Mikael Grahn 2011-09-30 12:06:02 UTC
I get the same problem with the icedtea-web (both 1.1.2 and 1.1.3).

Not hard to reproduce either. Happens every time. So for now i have to use the oracle java release instead.
Comment 5 Mikael Grahn 2011-10-25 12:49:37 UTC
I used to have this problem also, but in the last two weeks it has fixed itself. Not sure which change has fixed it though. Could be the new version of icedtea that came a couple of days ago.
Comment 6 Till Schäfer 2011-10-25 15:28:24 UTC
I can confirm that the error is fixed in dev-java/icedtea-6.1.10.4 for me.