Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse often hangs
Eclipse often hangs [message #206918] Mon, 23 April 2007 15:27 Go to next message
Eclipse UserFriend
Originally posted by: tilmannreh.despammed.com

Hello,

I recently started using the YAGARTO toolchain (Eclipse, GNUARM C
compiler, OpenOCD) for developing the software for a current ARM7 based
project (OS: Win XP pro, SP2).

Every now and then, the Eclipse IDE suddenly hangs. This happens when
trying to save after some changes have been made to a source file, or
when entering debug mode, or at some other circumstances. However, it
does not generally fail, and when I restart Eclipse it will work fine
for some time, but then suddenly it will hang again. I have read some
reports about problems during project launch, but none of these seems to
apply here. (I also included permanent memory size settings and selected
"external browser" for IDE and help system, but that also didn't change
anything.)

Every time it hangs, I need to shutdown it by the task manager. Then,
a popup message window from the java runtime module (javaw.exe or
java.exe) appears, which shows this JVM exit code: 1073807364.
"Googling" for this code reveals no useful information - this seems to
be an exit code that appears quite often, for several causes, and not
only with Eclipse.

However, regardless of what happened before the crash, the exit code is
always the same.

I tried starting Eclipse in debug mode, but the only error message it
shows (and that is reported in the log file) is "unable to create
variable object", which obviously happens from time to time when trying
to start the debugger. However, Eclipse does not hang when this occurs
(at least no immediately). Obviously, there are no log file entries for
the operations that finally caused the crash.

I also tried to get some more detailed report from the Java runtime
environment, but without success. There is no console, even if I
activate it in the Java Control Panel... :-\

As it is now, I need to restart Eclipse every few minutes, which is
really boring.

What can I do to track that problem, and/or to make Eclipse run stable?

Thanks in advance,
Tilmann
Re: Eclipse often hangs [message #206943 is a reply to message #206918] Mon, 23 April 2007 15:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tilmannreh.despammed.com

I wrote:

> I recently started using the YAGARTO toolchain (Eclipse, GNUARM C
> compiler, OpenOCD) for developing the software for a current ARM7 based
> project (OS: Win XP pro, SP2).

Sorry, I forgot to provide more version information...

The Eclipse version is 3.2.0, build M20060629-1905. It contains CDT
v3.1.1.200609080933, and Eclipse platform & RCP v3.2.0.v20060609m - and
many many plugins...
The Java VM I have installed is v1.5.0_09_b03, dated 12.10.2006.

The complete toolchain can be downloaded here: <http://www.yagarto.de>.

Thanks,
Tilmann
Re: Eclipse often hangs [message #206971 is a reply to message #206943] Mon, 23 April 2007 17:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Tilmann Reh" <tilmannreh@despammed.com> wrote in message
news:f0iknb$jsi$1@build.eclipse.org...
>I wrote:
>
> The Eclipse version is 3.2.0, build M20060629-1905.

Seems like maybe the first thing to try is updating to 3.2.2. Possibly the
bug has already been fixed.
Re: Eclipse often hangs [message #207036 is a reply to message #206971] Tue, 24 April 2007 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tilmannreh.despammed.com

Walter Harley schrieb:

>> The Eclipse version is 3.2.0, build M20060629-1905.
>
> Seems like maybe the first thing to try is updating to 3.2.2. Possibly the
> bug has already been fixed.

Thanks for your reply.

I just updated to the Eclipse SDK 3.2.2 - but no change in behaviour.
Every now and then it crashes.

Then I updated the JRE to the latest version (1.6.0_01), but that also
did not change anything - except for another JVM exit code (now 143),
which also does not provide useful information.

The log file still reports these same two error messages slightly (but
not immediately!) before the crash:


!SESSION 2007-04-24 11:19:01.728
-----------------------------------------------
eclipse.buildId=M20070212-1330
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86 -console
-consoleLog -debug

!ENTRY org.eclipse.debug.core 4 120 2007-04-24 11:19:36.320
!MESSAGE Inferior terminated

!ENTRY org.eclipse.debug.core 4 120 2007-04-24 11:19:36.336
!MESSAGE mi_cmd_var_create: unable to create variable object



It is interesting that I was able to start and run the debugger once
/after/ these messages were reported. Then, after having terminated the
debugging process, I was also able to edit my sources. But when I tried
to save them, Eclipse crashed again.
Also, for the notice: it does not consume any CPU processing time
(neither does the JVM). The system is running idle.

Would the log file section about the loading of all plug-ins eventually
provide any useful information?

Thanks,
Tilmann
Re: Eclipse often hangs [message #207048 is a reply to message #207036] Tue, 24 April 2007 10:10 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Tilmann Reh wrote:

>Walter Harley schrieb:
>
>
>
>>>The Eclipse version is 3.2.0, build M20060629-1905.
>>>
>>>
>>Seems like maybe the first thing to try is updating to 3.2.2. Possibly the
>>bug has already been fixed.
>>
>>
>
>Thanks for your reply.
>
>I just updated to the Eclipse SDK 3.2.2 - but no change in behaviour.
>Every now and then it crashes.
>
>Then I updated the JRE to the latest version (1.6.0_01), but that also
>did not change anything - except for another JVM exit code (now 143),
>which also does not provide useful information.
>
>The log file still reports these same two error messages slightly (but
>not immediately!) before the crash:
>
>
>!SESSION 2007-04-24 11:19:01.728
>-----------------------------------------------
>eclipse.buildId=M20070212-1330
>java.version=1.6.0_01
>java.vendor=Sun Microsystems Inc.
>BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>Command-line arguments: -os win32 -ws win32 -arch x86 -console
>-consoleLog -debug
>
>!ENTRY org.eclipse.debug.core 4 120 2007-04-24 11:19:36.320
>!MESSAGE Inferior terminated
>
>!ENTRY org.eclipse.debug.core 4 120 2007-04-24 11:19:36.336
>!MESSAGE mi_cmd_var_create: unable to create variable object
>
>
>
>It is interesting that I was able to start and run the debugger once
>/after/ these messages were reported. Then, after having terminated the
>debugging process, I was also able to edit my sources. But when I tried
>to save them, Eclipse crashed again.
>Also, for the notice: it does not consume any CPU processing time
>(neither does the JVM). The system is running idle.
>
>Would the log file section about the loading of all plug-ins eventually
>provide any useful information?
>
>
Create a VM dump while it is "hanging"
( http://wiki.eclipse.org/index.php/How_to_report_a_deadlock#G etting_a_stack_trace_on_Windows)

Dani

>Thanks,
>Tilmann
>
>
Re: Eclipse often hangs [message #207059 is a reply to message #207048] Tue, 24 April 2007 13:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tilmannreh.despammed.com

Daniel Megert schrieb:

> Create a VM dump while it is "hanging"
> ( http://wiki.eclipse.org/index.php/How_to_report_a_deadlock#G etting_a_stack_trace_on_Windows)

Thanks for the note - I somehow knew I had seen this before, but I
didn't find it again...

I have uploaded two stack traces after Eclipse did crash. Unlike Eclipse
3.2, the current version 3.2.2 popups a message window that it's waiting
for something to finish. Maybe this is also relevant.

Here are the stack traces:
< http://www.autometer.de/files/Eclipse_Stack_20070424-1506.tx t> (15k)
< http://www.autometer.de/files/Eclipse_Stack_20070424-1511.tx t> (21k)

In both cases, the "unable to create variable object" message was logged
a short time before the crash (one or two compile/debug cycles).
In the first case, the crash happened when I stopped the debugging
process. The buttons were greyed out, but nothing else did change (i.e.
the processes were not shown as terminated).
In the second case, the crash happened when trying to save a modified
source file. The cursor became the hourglass, and the above mentioned
message window appeared.

Thanks for any help,
Tilmann
Re: Eclipse often hangs [message #207082 is a reply to message #207059] Tue, 24 April 2007 14:26 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Tilmann Reh wrote:

>Daniel Megert schrieb:
>
>
>
>>Create a VM dump while it is "hanging"
>>( http://wiki.eclipse.org/index.php/How_to_report_a_deadlock#G etting_a_stack_trace_on_Windows)
>>
>>
>
>Thanks for the note - I somehow knew I had seen this before, but I
>didn't find it again...
>
>I have uploaded two stack traces after Eclipse did crash. Unlike Eclipse
>3.2, the current version 3.2.2 popups a message window that it's waiting
>for something to finish. Maybe this is also relevant.
>
>Here are the stack traces:
>< http://www.autometer.de/files/Eclipse_Stack_20070424-1506.tx t> (15k)
>< http://www.autometer.de/files/Eclipse_Stack_20070424-1511.tx t> (21k)
>
>
They are not comlete (clipped at the top).

Dani

>In both cases, the "unable to create variable object" message was logged
>a short time before the crash (one or two compile/debug cycles).
>In the first case, the crash happened when I stopped the debugging
>process. The buttons were greyed out, but nothing else did change (i.e.
>the processes were not shown as terminated).
>In the second case, the crash happened when trying to save a modified
>source file. The cursor became the hourglass, and the above mentioned
>message window appeared.
>
>Thanks for any help,
>Tilmann
>
>
Re: Eclipse often hangs [message #207119 is a reply to message #207082] Tue, 24 April 2007 17:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tilmannreh.despammed.com

Daniel Megert schrieb:

>>I have uploaded two stack traces after Eclipse did crash. Unlike Eclipse
>>3.2, the current version 3.2.2 popups a message window that it's waiting
>>for something to finish. Maybe this is also relevant.
>>
>>Here are the stack traces:
>>< http://www.autometer.de/files/Eclipse_Stack_20070424-1506.tx t> (15k)
>>< http://www.autometer.de/files/Eclipse_Stack_20070424-1511.tx t> (21k)
>>
> They are not comlete (clipped at the top).

That was due to the 300 lines limit of the debug console window...

Now this one should be complete:
< http://www.autometer.de/files/Eclipse_Stack_20070424-1857.tx t> (34k)

Tilmann
Re: Eclipse often hangs [message #207386 is a reply to message #207119] Wed, 25 April 2007 09:57 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Tilmann Reh wrote:

>Daniel Megert schrieb:
>
>
>
>>>I have uploaded two stack traces after Eclipse did crash. Unlike Eclipse
>>>3.2, the current version 3.2.2 popups a message window that it's waiting
>>>for something to finish. Maybe this is also relevant.
>>>
>>>Here are the stack traces:
>>>< http://www.autometer.de/files/Eclipse_Stack_20070424-1506.tx t> (15k)
>>>< http://www.autometer.de/files/Eclipse_Stack_20070424-1511.tx t> (21k)
>>>
>>>
>>>
>>They are not comlete (clipped at the top).
>>
>>
>
>That was due to the 300 lines limit of the debug console window...
>
>Now this one should be complete:
>< http://www.autometer.de/files/Eclipse_Stack_20070424-1857.tx t> (34k)
>
>
OK, this looks like a deadlock caused by CDT Debug. Please file a bug there.

Dani

>Tilmann
>
>
Re: Eclipse often hangs [message #207427 is a reply to message #207386] Wed, 25 April 2007 10:33 Go to previous message
Eclipse UserFriend
Originally posted by: tilmannreh.despammed.com

Daniel Megert schrieb:

>>< http://www.autometer.de/files/Eclipse_Stack_20070424-1857.tx t> (34k)
>>
> OK, this looks like a deadlock caused by CDT Debug. Please file a bug there.

Thanks, but could you provide some more information about the relevant
entries in the stack trace that lead to this conclusion?

Tilmann
Previous Topic:Aperi_R0.2_Binary.zip install problems
Next Topic:AST parser
Goto Forum:
  


Current Time: Fri Apr 26 03:05:33 GMT 2024

Powered by FUDForum. Page generated in 0.08418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top