Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Michael Koch
On Wed, Dec 05, 2007 at 11:21:55PM +0200, Arie Skliarouk wrote:
 I have the same problem.
 If I launch the command line manually (not using eclipse shell script), then
 eclipse starts properly:
 
 /usr/lib/jvm/java-gcj/bin/java -Djava.library.path=/usr/lib/jni -
 Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db \ -
 Dgnu.gcj.runtime.VMClassLoader.library_control=never
 -Dosgi.locking=none-jar /usr/lib/eclipse//usr/lib/eclipse/startup.jar
 \
 -os linux -ws gtk -arch x86 -launcher /usr/lib/eclipse/eclipse -name Eclipse
 -showsplash 600 -exitdata 4230001 \
 -install /usr/lib/eclipse -debug -vm /usr/lib/jvm/java-gcj/bin/java -vmargs
 -Djava.library.path=/usr/lib/jni \ -
 Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db -
 Dgnu.gcj.runtime.VMClassLoader.library_control=never \
 -Dosgi.locking=none -jar /usr/lib/eclipse//usr/lib/eclipse/startup.jar
 
 I have copied the /usr/lib/eclipse/startup.jar to
 /usr/lib/eclipse//usr/lib/eclipse/startup.jar:
 mkdir -p /usr/lib/eclipse//usr/lib/eclipse/
 cp /usr/lib/eclipse/startup.jar /usr/lib/eclipse/usr/lib/eclipse/

Does deinstalling/purging all eclipse related packages and reinstalling
them help for you too?


Cheers,
Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Michael Koch
On Wed, Dec 05, 2007 at 11:21:55PM +0200, Arie Skliarouk wrote:
 I have the same problem.
 If I launch the command line manually (not using eclipse shell script), then
 eclipse starts properly:
 
 /usr/lib/jvm/java-gcj/bin/java -Djava.library.path=/usr/lib/jni -
 Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db \ -
 Dgnu.gcj.runtime.VMClassLoader.library_control=never
 -Dosgi.locking=none-jar /usr/lib/eclipse//usr/lib/eclipse/startup.jar
 \
 -os linux -ws gtk -arch x86 -launcher /usr/lib/eclipse/eclipse -name Eclipse
 -showsplash 600 -exitdata 4230001 \
 -install /usr/lib/eclipse -debug -vm /usr/lib/jvm/java-gcj/bin/java -vmargs
 -Djava.library.path=/usr/lib/jni \ -
 Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db -
 Dgnu.gcj.runtime.VMClassLoader.library_control=never \
 -Dosgi.locking=none -jar /usr/lib/eclipse//usr/lib/eclipse/startup.jar
 
 I have copied the /usr/lib/eclipse/startup.jar to
 /usr/lib/eclipse//usr/lib/eclipse/startup.jar:
 mkdir -p /usr/lib/eclipse//usr/lib/eclipse/
 cp /usr/lib/eclipse/startup.jar /usr/lib/eclipse/usr/lib/eclipse/

/usr/lib/eclipse/usr/lib/eclipse/startup.jar looks terribly awful.
Something is wrong here.

Have you tried with /usr/lib/eclipse/startup.jar?

Have you tried executing /usr/lib/eclipse/eclipse?


Cheers,
Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Arie Skliarouk

 Does deinstalling/purging all eclipse related packages and reinstalling
 them help for you too?


Yes, tried that before, did not help.

-- 
Arie


Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Arie Skliarouk

 Have you tried executing /usr/lib/eclipse/eclipse?


When I start /usr/lib/eclipse/eclipse, it complains on out-of-memory

# /usr/lib/eclipse/eclipse
GC Warning: Out of Memory!  Returning NIL!

In separate window top shows:
  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
COMMAND
 4048 arie  25   0  473m 345m  60m R  100 34.1   0:20.51 java

My machine has 1GB of memory. If I run eclipse using eclipse command, the
memory usage by java process baloons to 900Mb before falling out:
  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
COMMAND
 4588 arie  23   0  930m 754m  60m D   81 64.7   0:28.48 java

Is the memory consumption reasonable?

/usr/lib/eclipse/usr/lib/eclipse/startup.jar looks terribly awful.
 Something is wrong here.


I have removed the /usr/lib/eclipse/usr directory, to recreate the problem I
had back then, but have not found any indication on that. The same huge
memory usage.

Could be the problem was related to the memory consumption.
$ eclipse
searching for compatible vm...
  testing /usr/lib/jvm/java-gcj...found
$ ls -l /usr/lib/jvm/java-gcj
lrwxrwxrwx 1 root root 26 2007-12-04 16:54 /usr/lib/jvm/java-gcj -
java-1.5.0-gcj-4.2-1.5.0.0/
$ dpkg -S /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/bin/java
java-gcj-compat: /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/bin/java
$ dpkg -l | grep java-gcj-compat
ii  java-gcj-compat  1.0.77-2
Java runtime environment using GIJ

--
Arie


Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Michael Koch
On Tue, Jan 15, 2008 at 11:43:50AM +0200, Arie Skliarouk wrote:
 
  Have you tried executing /usr/lib/eclipse/eclipse?
 
 
 When I start /usr/lib/eclipse/eclipse, it complains on out-of-memory
 
 # /usr/lib/eclipse/eclipse
 GC Warning: Out of Memory!  Returning NIL!
 
 In separate window top shows:
   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
 COMMAND
  4048 arie  25   0  473m 345m  60m R  100 34.1   0:20.51 java
 
 My machine has 1GB of memory. If I run eclipse using eclipse command, the
 memory usage by java process baloons to 900Mb before falling out:
   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
 COMMAND
  4588 arie  23   0  930m 754m  60m D   81 64.7   0:28.48 java
 
 Is the memory consumption reasonable?
 
 /usr/lib/eclipse/usr/lib/eclipse/startup.jar looks terribly awful.
  Something is wrong here.
 
 
 I have removed the /usr/lib/eclipse/usr directory, to recreate the problem I
 had back then, but have not found any indication on that. The same huge
 memory usage.
 
 Could be the problem was related to the memory consumption.
 $ eclipse
 searching for compatible vm...
   testing /usr/lib/jvm/java-gcj...found
 $ ls -l /usr/lib/jvm/java-gcj
 lrwxrwxrwx 1 root root 26 2007-12-04 16:54 /usr/lib/jvm/java-gcj -
 java-1.5.0-gcj-4.2-1.5.0.0/
 $ dpkg -S /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/bin/java
 java-gcj-compat: /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/bin/java
 $ dpkg -l | grep java-gcj-compat
 ii  java-gcj-compat  1.0.77-2
 Java runtime environment using GIJ

Hmm, no I have a much leaner memory usage here. Is the package
eclipse-gcj installed? This depends on some optimized packages for GCJ.
Can you please try this too?


Cheers,
Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Arie Skliarouk
PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
  COMMAND
   4588 arie  23   0  930m 754m  60m D   81 64.7   0:28.48 java

 Hmm, no I have a much leaner memory usage here. Is the package
 eclipse-gcj installed? This depends on some optimized packages for GCJ.
 Can you please try this too?


$ dpkg -l | grep eclipse-gcj
ii  eclipse-gcj  3.2.2-4
Native Eclipse run with GCJ

-- 
Arie


Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Michael Koch
On Tue, Jan 15, 2008 at 12:01:36PM +0200, Arie Skliarouk wrote:
 PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
   COMMAND
4588 arie  23   0  930m 754m  60m D   81 64.7   0:28.48 java
 
  Hmm, no I have a much leaner memory usage here. Is the package
  eclipse-gcj installed? This depends on some optimized packages for GCJ.
  Can you please try this too?
 
 
 $ dpkg -l | grep eclipse-gcj
 ii  eclipse-gcj  3.2.2-4
 Native Eclipse run with GCJ

Can you please remove it and all the *-gcj packages and retest?

Have you ever tried to run Eclipse with SUN JDK? Does that work?


Cheers,
Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Arie Skliarouk
On Jan 15, 2008 12:16 PM, Michael Koch [EMAIL PROTECTED] wrote:

 On Tue, Jan 15, 2008 at 12:01:36PM +0200, Arie Skliarouk wrote:
  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
COMMAND
 4588 arie  23   0  930m 754m  60m D   81 64.7   0:28.48 java
  
   Hmm, no I have a much leaner memory usage here. Is the package
   eclipse-gcj installed? This depends on some optimized packages for
 GCJ.
   Can you please try this too?
 
 
  $ dpkg -l | grep eclipse-gcj
  ii  eclipse-gcj  3.2.2-4
  Native Eclipse run with GCJ

 Can you please remove it and all the *-gcj packages and retest?


I did following:
# dpkg --purge libxerces2-java-gcj libxalan2-java-gcj libswt3.2-gtk-gcj
liblog4j1.2-java-gcj libjaxp1.3-java-gcj libecj-java-gcj eclipse-rcp-gcj
eclipse-platform-gcj eclipse-pde-gcj eclipse-jdt-gcj eclipse-gcj ecj-gcj
ant-optional-gcj ant-gcj  java-gcj-compat-dev

And now eclipse works! Thank you very much!

Have you ever tried to run Eclipse with SUN JDK? Does that work?


Yes, I tried that before. Got the same problem.

-- 
Arie


Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Michael Koch
On Tue, Jan 15, 2008 at 01:07:30PM +0200, Arie Skliarouk wrote:
 sudo apt-get install java-gcj-compat-dev java-gcj-compat
 
 $ eclipse
 searching for compatible vm...
   testing /usr/lib/jvm/java-gcj...found
 $
 
 Apparently works. How can I see for sure, whether it uses gcj?

It did already. It used the first runtime found. The complete list to
search is in /etc/eclipse/java_home.


Cheers,
Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Arie Skliarouk
On Jan 15, 2008 12:54 PM, Michael Koch [EMAIL PROTECTED] wrote:

 On Tue, Jan 15, 2008 at 12:24:20PM +0200, Arie Skliarouk wrote:
  On Jan 15, 2008 12:16 PM, Michael Koch [EMAIL PROTECTED] wrote:
 
   On Tue, Jan 15, 2008 at 12:01:36PM +0200, Arie Skliarouk wrote:
PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
  COMMAND
   4588 arie  23   0  930m 754m  60m D   81 64.7   0:28.48java

 Hmm, no I have a much leaner memory usage here. Is the package
 eclipse-gcj installed? This depends on some optimized packages for
   GCJ.
 Can you please try this too?
   
   
$ dpkg -l | grep eclipse-gcj
ii  eclipse-gcj  3.2.2-4
Native Eclipse run with GCJ
  
   Can you please remove it and all the *-gcj packages and retest?
 
 
  I did following:
  # dpkg --purge libxerces2-java-gcj libxalan2-java-gcj libswt3.2-gtk-gcj
  liblog4j1.2-java-gcj libjaxp1.3-java-gcj libecj-java-gcj eclipse-rcp-gcj
  eclipse-platform-gcj eclipse-pde-gcj eclipse-jdt-gcj eclipse-gcj ecj-gcj
  ant-optional-gcj ant-gcj  java-gcj-compat-dev
 
  And now eclipse works! Thank you very much!
 
  Have you ever tried to run Eclipse with SUN JDK? Does that work?
 
 
  Yes, I tried that before. Got the same problem.

 Hmm, as you deinstalled java-gcj-compat-dev GCJ is probably not used
 anymore as runtime. Would have been good to see if it works with GCJ for
 you at all. Can you please retest this and give feedback?


sudo apt-get install java-gcj-compat-dev java-gcj-compat

$ eclipse
searching for compatible vm...
  testing /usr/lib/jvm/java-gcj...found
$

Apparently works. How can I see for sure, whether it uses gcj?

-- 
Arie


Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Michael Koch
On Tue, Jan 15, 2008 at 12:24:20PM +0200, Arie Skliarouk wrote:
 On Jan 15, 2008 12:16 PM, Michael Koch [EMAIL PROTECTED] wrote:
 
  On Tue, Jan 15, 2008 at 12:01:36PM +0200, Arie Skliarouk wrote:
   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+
 COMMAND
  4588 arie  23   0  930m 754m  60m D   81 64.7   0:28.48 java
   
Hmm, no I have a much leaner memory usage here. Is the package
eclipse-gcj installed? This depends on some optimized packages for
  GCJ.
Can you please try this too?
  
  
   $ dpkg -l | grep eclipse-gcj
   ii  eclipse-gcj  3.2.2-4
   Native Eclipse run with GCJ
 
  Can you please remove it and all the *-gcj packages and retest?
 
 
 I did following:
 # dpkg --purge libxerces2-java-gcj libxalan2-java-gcj libswt3.2-gtk-gcj
 liblog4j1.2-java-gcj libjaxp1.3-java-gcj libecj-java-gcj eclipse-rcp-gcj
 eclipse-platform-gcj eclipse-pde-gcj eclipse-jdt-gcj eclipse-gcj ecj-gcj
 ant-optional-gcj ant-gcj  java-gcj-compat-dev
 
 And now eclipse works! Thank you very much!
 
 Have you ever tried to run Eclipse with SUN JDK? Does that work?
 
 
 Yes, I tried that before. Got the same problem.

Hmm, as you deinstalled java-gcj-compat-dev GCJ is probably not used
anymore as runtime. Would have been good to see if it works with GCJ for
you at all. Can you please retest this and give feedback?


Cheers,
Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446299: eclipse: Crashes on startup

2008-01-15 Thread Arie Skliarouk
Consider to close the bug. Unfortunately I don't have time to pinpoint the
package that caused gcj to use huge amount of memory...

Thank you for your help!

-- 
Arie


Bug#446299: eclipse: Crashes on startup

2007-12-05 Thread Arie Skliarouk
I have the same problem.
If I launch the command line manually (not using eclipse shell script), then
eclipse starts properly:

/usr/lib/jvm/java-gcj/bin/java -Djava.library.path=/usr/lib/jni -
Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db \ -
Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none-jar /usr/lib/eclipse//usr/lib/eclipse/startup.jar
\
-os linux -ws gtk -arch x86 -launcher /usr/lib/eclipse/eclipse -name Eclipse
-showsplash 600 -exitdata 4230001 \
-install /usr/lib/eclipse -debug -vm /usr/lib/jvm/java-gcj/bin/java -vmargs
-Djava.library.path=/usr/lib/jni \ -
Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db -
Dgnu.gcj.runtime.VMClassLoader.library_control=never \
-Dosgi.locking=none -jar /usr/lib/eclipse//usr/lib/eclipse/startup.jar

I have copied the /usr/lib/eclipse/startup.jar to
/usr/lib/eclipse//usr/lib/eclipse/startup.jar:
mkdir -p /usr/lib/eclipse//usr/lib/eclipse/
cp /usr/lib/eclipse/startup.jar /usr/lib/eclipse/usr/lib/eclipse/

-- 
Arie


Bug#446299: eclipse: Crashes on startup

2007-10-11 Thread Jaanus Rõõmus
Package: eclipse
Version: 3.2.2-4
Severity: grave
Justification: renders package unusable

After running eclipse, startup dialog crashes on loading workbench and
shows error dialog:

JVM terminated. Exit code=1
/usr/bin/java
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
-os linux
-ws gtk
-arch x86_64
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 3418028
-install /usr/lib/eclipse
-vm /usr/bin/java
-vmargs
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar 

In the console, I can see:

# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x2aaabd063e20, pid=7557, tid=1076017488
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C  [libglib-2.0.so.0+0x22e20]
#
# An error report file with more information is saved as
# hs_err_pid7557.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21.5
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages eclipse depends on:
ii  eclipse-jdt   3.2.2-4Java Development Tools plug-ins fo
ii  eclipse-pde   3.2.2-4Plug-in Development Environment to
ii  eclipse-source3.2.2-4Eclipse source code plug-ins
ii  zenity2.20.0-2   Display graphical dialog boxes fro

Versions of packages eclipse recommends:
pn  eclipse-gcj   none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446299: eclipse: Crashes on startup

2007-10-11 Thread Michael Koch
On Thu, Oct 11, 2007 at 11:05:21PM +0300, Jaanus Rõõmus wrote:
 Package: eclipse
 Version: 3.2.2-4
 Severity: grave
 Justification: renders package unusable
 
 After running eclipse, startup dialog crashes on loading workbench and
 shows error dialog:
 
 JVM terminated. Exit code=1
 /usr/bin/java
 -Djava.library.path=/usr/lib/jni
 -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
 -Dgnu.gcj.runtime.VMClassLoader.library_control=never
 -Dosgi.locking=none
 -jar /usr/lib/eclipse/startup.jar
 -os linux
 -ws gtk
 -arch x86_64
 -launcher /usr/lib/eclipse/eclipse
 -name Eclipse
 -showsplash 600
 -exitdata 3418028
 -install /usr/lib/eclipse
 -vm /usr/bin/java
 -vmargs
 -Djava.library.path=/usr/lib/jni
 -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
 -Dgnu.gcj.runtime.VMClassLoader.library_control=never
 -Dosgi.locking=none
 -jar /usr/lib/eclipse/startup.jar 
 
 In the console, I can see:
 
 # An unexpected error has been detected by Java Runtime Environment:
 #
 #  SIGSEGV (0xb) at pc=0x2aaabd063e20, pid=7557, tid=1076017488
 #
 # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-b05 mixed mode)
 # Problematic frame:
 # C  [libglib-2.0.so.0+0x22e20]
 #
 # An error report file with more information is saved as
 # hs_err_pid7557.log
 #
 # If you would like to submit a bug report, please visit:
 #   http://java.sun.com/webapps/bugreport/crash.jsp
 #

Please send us the file ~/hs_err_X.log. This is fil is generated
by SUN JVM after such a crash. This file contains more info where this
actually happened.


Cheers,
Michael