← Back to team overview

openjdk team mailing list archive

[Bug 398280] Re: experiencing frequent netbeans crashing

 

Getting the same error as #5 when resizing, not just with NetBeans but
with several swing apps, i.e. TV-Browser, JDownloader, ArgoUML and some
swing apps written by myself. However, when I tried the resizing on
Geogebra it did not crash. This helped me (hopefully) pinpointing the
problem.

All of the crashing applications allow you to set the look and feel to
GTK l&f or have this as the default and only option. Geogebra, which
does not crash, uses the default ocean l&f. So I configured JDownloader
of them to use a different l&f and in fact, the crashes did stop. To
workaroung the error, you can either avoid using GTK look, recompile the
app and remove the code affecting the look and feel or use the Java
distribution from Sun.

Also, this problem is not limited to resizing a window. I tried to
create an app that can demonstrate this error but unfortunately the l&f
is not the only factor responsible for the problem. Once I find the
exact source, I will post the code here.

I hope this can help you guys to fix this problem. I have had this error
for months now but I blamed the application for it.

-- 
experiencing frequent netbeans crashing
https://bugs.launchpad.net/bugs/398280
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

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

Bug description:
The last 3 errors all look like this (pids being different of course).  All mention nmethod.cpp line 1836, JavaThread "AWT-EventQueue-1", and libjvm.so.  I can't deliberately reproduce the error but if I run netbeans for long enough it will crash.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (nmethod.cpp:1836), pid=10665, tid=140316030511440
#  Error: guarantee(cont_offset != 0,"unhandled implicit exception in compiled code")
#
# Java VM: OpenJDK 64-Bit Server VM (14.0-b08 mixed mode linux-amd64 )
# Distribution: Ubuntu 9.04, package 6b14-1.4.1-0ubuntu10
# 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/
#

---------------  T H R E A D  ---------------

Current thread (0x0000000000aaf000):  JavaThread "AWT-EventQueue-1" [_thread_in_Java, id=11553, stack(0x00007f9ddf07a000,0x00007f9ddf27b000)]

Stack: [0x00007f9ddf07a000,0x00007f9ddf27b000],  sp=0x00007f9ddf277d60,  free space=2039k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x66e7ef]
V  [libjvm.so+0x66eb51]
V  [libjvm.so+0x2cdc26]
V  [libjvm.so+0x52b006]
V  [libjvm.so+0x5bb6e9]
V  [libjvm.so+0x54f017]





References