You are not logged in.

#1 2009-10-04 21:48:27

kryr
Member
Registered: 2008-06-16
Posts: 7

System freezes (x64, java)

Hi!

Since the complete system upgrade (done today) of my x64 arch box I cannot use Eclipse sad
Whenever I run Eclipse (it opens normally, workspace looks fine) it completely freezes my entire (mouse cursor is not moving, can't switch to any other VC nor use the alt+ctrl+backspc) box so I have to hardreset it. Same happens when I try to run the NetBeans IDE installation sh script. However simple Java GUI programs runs all right.
I'm running gnome, compizfusion (on nvidia), virtualbox, sun jre (64bit), eclipse (the linux 64bit version). (everything is in the newest version since the upgrade)
I don't know how to get any other data from the crash since everything stops responding. I can't find any crash dump on the FS.

Can anybody give any hints what to do now?

Thx in advance.

Offline

#2 2009-10-10 01:54:21

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

Re: System freezes (x64, java)

Hello Kryr!

Is there any related in log files, like syslog/errorlog/xorglog ? Can you see something if you start these application from console ? Which kernel/x/driver do you use ?

Offline

#3 2009-10-13 20:17:50

kryr
Member
Registered: 2008-06-16
Posts: 7

Re: System freezes (x64, java)

Hello.

/var/log/everything.log:

...
Oct  4 18:40:10 brzydal gnome-session[3271]: WARNING: Unable to determine session: Unable to lookup session information for process '3271'
Oct  4 18:40:16 brzydal kernel: fuse init (API version 7.11)
Oct  4 18:51:46 brzydal gnome-session[3271]: WARNING: Unable to determine session: Unable to lookup session information for process '3271'
Oct  4 18:51:52 brzydal gnome-session[3271]: WARNING: Unable to determine session: Unable to lookup session information for process '3271'
(here system crashed)
Oct  4 19:12:36 brzydal syslog-ng[2946]: syslog-ng starting up; version='3.0.4'
...

so nothing suspicious there. (I'm not using GDM, it is installed however the deamon is never started)

/var/log/Xorg.0.log:
Only two (EE) saying can't load type1 and freetype modules -- I will try to fix this :-)

I'm using:

X.Org X Server 1.6.3.901 (1.6.4 RC 1)
Release Date: 2009-8-25
Build Operating System: Linux 2.6.30-ARCH x86_64 
Current Operating System: Linux brzydal.lan 2.6.30-ARCH #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009 x86_64
Build Date: 04 September 2009  05:45:43PM
(--) PCI:*(0:1:0:0) 10de:0421:1043:8264 nVidia Corporation G86 [GeForce 8500 GT] rev 161, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000dc00/128, BIOS @ 0x????????/131072
(II) NVIDIA GLX Module  185.18.36  Fri Aug 14 18:27:24 PDT 2009
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  185.18.36  Fri Aug 14 17:51:02 PDT 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

Since the 4th of October (sys upgrade) the system is working perfectly stable until I start Java Apps...

After disabling the SWT browser in eclipse i managed to run it. (I cleared MOZILLA_FIVE_HOME, LD_LIBRARY_PRELOAD and passed -Dorg.eclipse.swt.browser.XULRunnerPath= to jvm) But after trying netbeans installation everything freezed again and after restart lilo can't load kernel so I'll have to restore my box now... sad

It seems like an error somewhere between MOZILLA, SWT & JAVA but I have no idea why it kills the kernel (maybe I'll try to downgrade it...?)

Last edited by kryr (2009-10-13 20:59:43)

Offline

#4 2009-10-23 07:55:31

dermixer
Member
Registered: 2009-10-15
Posts: 1

Re: System freezes (x64, java)

Hello kryr,

I'm having pretty much the same problem on Arch64. I start Netbeans and during startup and opening a project, the system freezes completly. Keyboard LEDs start blinking. Alt+SysRQ+... doesnt work and I dont get any logs. I guess it is some I/O Error since no logs are written. Tonight i`ll try to hook up a netconsole to see if i get some output.

Have you found a solution yet?

Last edited by dermixer (2009-10-23 10:07:29)

Offline

#5 2009-10-27 21:38:31

kryr
Member
Registered: 2008-06-16
Posts: 7

Re: System freezes (x64, java)

Hi,

No I don't have any solution. I had to reinstall the system due to the fs damage done by the hard restarts.
Since the new installation installed some newer packages the problem has change a bit:
Now I can run complex java applications like Eclipse/NetBeans but sometimes they die with a segfault (with something mentioning GTK/cairo in the stacktraces).
At least I have some logs to investigate now.

I think trying pacman -Syu now should give some relieve to you too.
(however when this finally ends I'll stop doing those updates @#$)

I tried openjdk6 and jdk (sun) with the exactly same results.

PS: During the installation I chosen to install GNU IceCat instead of Firefox (There is a tiny chance that it changed the behavior of SWT/Java embedded browser...)

Last edited by kryr (2009-10-28 07:30:25)

Offline

#6 2009-11-01 22:14:21

kryr
Member
Registered: 2008-06-16
Posts: 7

Re: System freezes (x64, java)

The solution is here:
export GDK_NATIVE_WINDOWS=true
before running any Java app.

Eclipse bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=291257.

Happy happy joy joy wink

Offline

Board footer

Powered by FluxBB