You are not logged in.

#1 2009-09-04 06:36:24

mt3o
Member
From: Warsaw, Poland
Registered: 2009-09-04
Posts: 3

Kernel panic with huge java apps

Hi everyone!
I have annoying problem with my archlinux. When I try to run java based programs, my linux gets kernel panic. This happens when i run vuze and netbeans. When i run eclipse, it crashes immediately.

My system is up to date, i tried using openjdk, jre+jdk with no results.
Everything was installed with pacman.

Kernel is 2.6.30

rc.conf: http://pastebin.com/f4a40027b
If this will help, i'll upload other files, but as for now i have no idea which might useful.

I'm running out of ideas how to solve this...
If this matters, i get 'bus error' with some blueman and some gnome apps. But memtest says my ram is ok. System is x86

Offline

#2 2009-09-04 21:42:59

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Kernel panic with huge java apps

Hello mt3o!

The related information from syslog maybe would be useful.

Offline

#3 2009-09-05 08:41:22

mt3o
Member
From: Warsaw, Poland
Registered: 2009-09-04
Posts: 3

Re: Kernel panic with huge java apps

Unluckly there is nothing relevant, at least i cant find enething from these files:
http://pastebin.com/m77201bdd - messages.log
http://pastebin.com/m2ebf24f3 - kernel.log
http://pastebin.com/m37e50041 - errors.log
http://mt-repo.neostrada.pl/everything.log (4mb)
http://mt-repo.neostrada.pl/pacman.log (300kb)

After todays yaourt -Syu i tried running netbeans. IDE launched, but just after the windows showed up - LED started to blink and everything frozen.  Kernel panic.
Eventually, I'll try with blackdown-java or some java packages not related to arch

Last edited by mt3o (2009-09-05 08:54:08)

Offline

#4 2009-09-05 09:07:41

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Kernel panic with huge java apps

What java do you use? OpenJDK6 or SUN's jre? What version?

Java apps are known to eat a hell of memory and make smoe cpu load. Is there enough space left in your memory? Anyways an application shouldn't ever crash the kernel. Watch temps, power usage/volts (lm_sensors).

Offline

#5 2009-09-05 09:20:43

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: Kernel panic with huge java apps

@mt3o
The only really suspicious line I found in your log files is that one:

[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0

and you said that your box hung immediately after showing the app window. Are you using any compositor like Compiz and friends? If yes, try and disable it for the moment. Another idea might be to use the Xorg vesa driver. KDE and GNOME will be very slow but at least we can find out if the message above has anything to do with your problems.
I Hope this helps
thn81

Offline

#6 2009-09-05 10:52:16

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Kernel panic with huge java apps

Do you have enough swap and memory ?

Offline

#7 2009-09-05 14:53:12

mt3o
Member
From: Warsaw, Poland
Registered: 2009-09-04
Posts: 3

Re: Kernel panic with huge java apps

Never checked if there was free ram/swap before running vuze or netbeans. But as for now, 2gb of ram and 2gb of swap were enough.

mt3o@mt3oarch:~$ free
             total       used       free     shared    buffers     cached
Mem:       2066032    1608452     457580          0     129704     224288
-/+ buffers/cache:    1254460     811572
Swap:      2144636      71716    2072920

Netbeans and eclipse are ok inside virtualbox, with ~600mb of ram.

I just tried to run eclipse, with effect:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb7a4d94c, pid=19473, tid=3084417232
#
# JRE version: 6.0_16-b01
# Java VM: Java HotSpot(TM) Client VM (14.2-b01 mixed mode linux-x86 )
# Problematic frame:
# C  [libgdk-x11-2.0.so.0+0x6394c]
#
# An error report file with more information is saved as:
# /home/mt3o/hs_err_pid19473.log
#
/usr/bin/eclipse: line 3: 19473 Aborted                 ${ECLIPSE_HOME}/eclipse $@

Eclipse went down after ctrl+o to open a file.
http://mt-repo.neostrada.pl/hs_err_pid19473.log - here is log from eclipse



About that vblank_counter thing, this appeared this morning. First vuze caused kernel panic happend about week or two ago.
New symptom is that, X11 doesn't start with kde as default wm. But when i start X, than fluxbox, than plasma and kwin, everything is ok.
Before sending previous logs, i tried to run netbeans from fluxbox. Windows appeared, and then system crashed, so i think those two problems are not related. Later i'll check if replacing intel driver with vesa helps, and i'lll resend log files.
But anyway, your help gives me hope that this is resolvable, thanks! :-)

Edit:
With java from sun (jre1.6.0_16) Netbeans works ok, no kernel panic! big_smile Same with vuze.
Eclipse still crashes, but i think it's Eclipse's problem, not with java/kernel.
After all, i think this is not related to kernel, rather to archlinux's version of java.

Last edited by mt3o (2009-09-06 21:15:46)

Offline

#8 2009-09-21 07:53:13

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

Re: Kernel panic with huge java apps

I might have a related problem with the large java program Mesquite. It can be downloaded from:

http://mesquiteproject.org/mesquite/mesquite.html

X11 consistently crashes when launching this program. I just get to see the splash screen for a second or two and then it crashes when loading a particular plugin module for the program.

This is on a laptop with Intel graphics, running SUNs Java and Compiz enabled.

Offline

#9 2009-09-21 07:59:00

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

Re: Kernel panic with huge java apps

The problem goes away when Compiz is disabled.

I have had other Compiz-related problems with the java app ATV which can be downloaded from:

http://www.phylosoft.org/archaeopteryx/

It has a tendency to kill Compiz every now and then.

So in my case the recent problems with Java apps have to do with Compiz.

Offline

#10 2009-09-28 14:40:11

anotherjohn
Member
Registered: 2009-09-23
Posts: 10

Re: Kernel panic with huge java apps

This happened to me just now sad

I was following this howto on setting up a flash development environment using Eclipse, and got a kernel panic while installing Eclipse plugins.

System info:

Linux myhost 2.6.30-ARCH #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009 i686 AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
2 gig ram
1.5 gig swap
Sun's java runtime jre6u16-1
NVidia's display driver
Not using a compositing WM.

grep -i panic /var/log/*

Produced nothing sad

Offline

Board footer

Powered by FluxBB