Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse java run-time environment fatal error at startup(Eclipse java run-time environment fatal error at startup)
icon9.gif  Eclipse java run-time environment fatal error at startup [message #647178] Tue, 04 January 2011 20:58 Go to next message
virus_free  is currently offline virus_free Friend
Messages: 2
Registered: January 2011
Junior Member
Hello, I am using the eclipse platform for my current work, I'm using it to program an embedded system, the manufacturer of the embedded system supplied an development environment to be run in windows based on CoLinux, this is an emulated Linux, and the eclipse that came with that CoLinux had a customized menu and compiler to work with the embedded system. It happens that the Colinux environment they offered is only compatible with windows XP professional, and I tried to make it work with windows XP professional but it didn't worked, so I extracted the eclipse and crosstools folders, and copied to a Fedora 13 partition, and run the eclipse environment from there, and it worked fine. But now I have to put the development environment to work in computers with Fedora 14 and tried the same process to install the Eclipse customized for my embedded system, but I'm getting a fatal error when I start eclipse.
The "eclipse" and "crosstools" folders are placed in /opt, and the error I'm getting is reported in the end of the message. Thanks very much for reading and helping me, this problem is very important for me because is my job, and I'm stuck because already tried to make updates to IcedTea and searched the internet and couldn't solve the problem!!

[DavidQ@DavidQ eclipse]$ cd /opt/eclipse

[DavidQ@DavidQ eclipse]$ ./eclipse

#

# A fatal error has been detected by the Java Runtime Environment:

#

# SIGSEGV (0xb) at pc=0x04202c1d, pid=5214, tid=3079239712

#

# JRE version: 6.0_20-b20

# Java VM: OpenJDK Client VM (19.0-b09 mixed mode linux-x86 )

# Derivative: IcedTea6 1.9.3

# Distribution: Fedora release 14 (Laughlin), package fedora-49.1.9.3.fc14-i386

# Problematic frame:

# C [libxul.so+0x9c7c1d]

#

# An error report file with more information is saved as:

# /tmp/hs_err_pid5214.log

#

# If you would like to submit a bug report, please include

# instructions how to reproduce the bug and visit:

# http://icedtea.classpath.org/bugzilla

#

Aborted (core dumped)

[DavidQ@DavidQ eclipse]$

[Updated on: Wed, 05 January 2011 10:05]

Report message to a moderator

Re: Eclipse java run-time environment fatal error at startup [message #647300 is a reply to message #647178] Wed, 05 January 2011 15:25 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
You should be able to get eclipse to at least come up by adding the
following (without the quotes) to the end of your eclipse.ini file:
"-Dorg.eclipse.swt.browser.XULRunnerPath=/dev/null". This will disable
Browser functionality in Eclipse, but will work around the crash since this
appears to be the cause.

To get Eclipse to run without this workaround...

Firstly I notice that you're using OpenJDK. Can you download a jre from
either Oracle or IBM and see if it works any better for you? I don't know
that OpenJDK has a problem here, but it's just to eliminate one potential
culprit.

If the alternative jre fails for you in a similar way then the problem is
probably that swt is trying to use a xulrunner version that's newer than the
one supported by your eclipse. Fedora 14 is a very recent release, so you
need to use Eclipse 3.5.2 or newer to use Fedora's shipped XULRunner
1.9.2.x. If you're tied to using an older eclipse release then you'll need
to download an older xulrunner release and point eclipse at it. Info which
should be helpful:

http://www.eclipse.org/swt/faq.php#browserlinux
http://www.eclipse.org/swt/faq.php#specifyxulrunner
http://www.eclipse.org/swt/faq.php#printmozillapath
http://www.eclipse.org/swt/faq.php#howdetectmozilla (an FYI)
http://www.eclipse.org/swt/faq.php#browserwebkitgtk (I assume Fedora 14
offers WebKitGTK as an alternative)

If the above links do not help you with getting eclipse running then please
log a bug with swt at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=SWT
and provide the full stack dump (the hs_* file).

HTH,
Grant


"virus_free" <virus_free@excite.co.uk> wrote in message
news:ig01c9$mdm$1@news.eclipse.org...
> Hello, I am using the eclipse platform for my current work, I'm using it
> to program an embedded system, the manufacturer of the embedded system
> supplied an development environment to be run in windows based on CoLinux,
> this is an emulated Linux, and the eclipse that came with that CoLinux had
> a customized menu and compiler to work with the embedded system. It
> happens that the Colinux environment they offered is only compatible with
> windows XP professional, and I tried to make it work with windows XP
> professional but it didn't worked, so I extracted the eclipse and
> crosstools folders, and copied to a Fedora 13 partition, and run the
> eclipse environment from there, and it worked fine. But know I have to put
> the development environment to work in computers with Fedora 14 and tried
> the same process to install the Eclipse customized for my embedded system,
> but I'm getting a fatal error when I start eclipse.
> The "eclipse" and "crosstools" folders are placed in /opt, and the error
> I'm getting is reported in the end of the message. Thanks very much for
> reading and helping me, this problem is very important for me because is
> my job, and I'm stuck because already tried to make updates to IcedTea and
> searched the internet and couldn't solve the problem!!
>
> [mailto:DavidQ@DavidQ eclipse]$ cd /opt/eclipse
>
> [mailto:DavidQ@DavidQ eclipse]$ ./eclipse
>
> #
>
> # A fatal error has been detected by the Java Runtime Environment:
>
> #
>
> # SIGSEGV (0xb) at pc=0x04202c1d, pid=5214, tid=3079239712
>
> #
>
> # JRE version: 6.0_20-b20
>
> # Java VM: OpenJDK Client VM (19.0-b09 mixed mode linux-x86 )
>
> # Derivative: IcedTea6 1.9.3
>
> # Distribution: Fedora release 14 (Laughlin), package
> fedora-49.1.9.3.fc14-i386
>
> # Problematic frame:
>
> # C [libxul.so+0x9c7c1d]
>
> #
>
> # An error report file with more information is saved as:
>
> # /tmp/hs_err_pid5214.log
>
> #
>
> # If you would like to submit a bug report, please include
>
> # instructions how to reproduce the bug and visit:
>
> # http://icedtea.classpath.org/bugzilla
>
> #
>
> Aborted (core dumped)
>
> [mailto:DavidQ@DavidQ eclipse]$
icon10.gif  Re: Eclipse java run-time environment fatal error at startup [message #647373 is a reply to message #647178] Wed, 05 January 2011 20:14 Go to previous messageGo to next message
virus_free  is currently offline virus_free Friend
Messages: 2
Registered: January 2011
Junior Member
Hello, thanks very much for your time and support, I have just tried the first tip you suggested, and it worked, I would like to know, if I run Eclipse with that extra line in the eclipse.ini file, what are the limitations that the Eclipse environment has, and especially I would like to know if I just want to use Eclipse to compile C code and make debug on the target system if I'm likely to have any limitations/problems because of the browser disabling.

This really looks like a nice forum!, there are forums were most of the answers are crap talk, but that was a great help, thanks very much.
Re: Eclipse java run-time environment fatal error at startup [message #647460 is a reply to message #647373] Thu, 06 January 2011 14:40 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
For what you describe you're probably fine to just run with this limitation.
Most of the places in Eclipse where the Browser is used already do provide
alternate implementations if a native browser is not available (eg.- the
Welcome screen, the Javadoc view). The only place in core Eclipse where a
missing Browser really impacts functionality is the WebBrowser view.

Since you're compiling C I assume you're also using CDT, which I've never
used, but I would guess would not be absolutely dependent on having a
Browser. Someone on eclipse.tools.cdt newsgroup could give you a more
definite answer if you want.

Grant


"virus_free" <virus_free@excite.co.uk> wrote in message
news:ig2j4o$u5b$1@news.eclipse.org...
> Hello, thanks very much for your time and support, I have just tried the
> first tip you suggested, and it worked, I would like to know, if I run
> Eclipse with that extra line in the eclipse.ini file, what are the
> limitations that the Eclipse environment has, and especially I would like
> to know if I just want to use Eclipse to compile C code and make debug on
> the target system if I'm likely to have any limitations/problems because
> of the browser disabling.
>
> This really looks like a nice forum!, there are forums were most of the
> answers are crap talk, but that was a great help, thanks very much.
Previous Topic:Building a product with 3.6
Next Topic:How to Integrate a debugger and runtime with eclipse editor
Goto Forum:
  


Current Time: Fri Nov 21 16:41:16 GMT 2014

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

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