LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-18-2010, 12:07 AM   #1
michaelinux
Member
 
Registered: Apr 2009
Location: El Salvador
Distribution: Slackware -current
Posts: 166

Rep: Reputation: 17
Eclipse crashes while running?


Hi, i'm having a problem with eclipse, it keeps crashing while i'm working working with it, running from the terminal i found this:

# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb2616512, pid=9720, tid=3076064960
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 )
# Problematic frame:
# C [libxpcom_core.so+0x52512]

i have googled and i found a ubuntu forum where a guy had the same problem, his solution was disabling the php browser, so i try to do it and go to window>preferences>General>Web browser... as soon as i click "web browser" it just crashes with the same error above, so i guess the "browser" is the problem, i didn't find the "php browser" option so that's why i click on "web browser"

if anybody has a solution for this please help me, i would be awesome to solve this.
 
Old 06-21-2010, 02:23 AM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
I stopped punishing myself with Eclipse 4 or 5 years ago. I found Eclipse on Linux to always be inferior to Eclipse on Windows, but it sucks on both. I switched over to Netbeans and I use Maven. I'll never go back but it does require more resources when projects are large, like several thousand class files.

Okay, that wasn't helpful to your particular problem. I still run Eclipse once in a while because it has more flexibility on set up than Netbeans. I found that when Eclipse would eat itself on Linux, I would spend hours trying to fix it. Eventually, I would just reinstall it and move on. It was always faster than trouble shooting it. I don't know what it is about Eclipse, maybe it is plugins that step on each other, or maybe SWT just isn't mature on Linux, I don't know. I keep the plugins to a minimum and I try not to breath on it too hard, because it has always seemed fragile to me.

Given my statements in the first paragraph, I understand that IDE preferences can start holy wars. Switching is intensely painful. It takes about a month to start feeling like you are comfortable and productive. At least that was my experience. So I never recommend switching unless someone is really willing to upset their whole work life for a couple of months.

I just fired up my Eclipse install on Slackware 13.1 just to make sure I didn't see your issue. I might be a little behind on my Eclipse version, Release 3.5.2 Last revised February 10, 2010. I'm running 64 bit if that matters to you as I don't know if there would be a difference there.

Last edited by meetscott; 06-21-2010 at 02:24 AM.
 
Old 06-21-2010, 09:06 AM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
IDEs suck!
 
Old 06-21-2010, 10:48 AM   #4
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
Quote:
Originally Posted by MTK358 View Post
IDEs suck!
I agree, that in Java, most of our IDE choices have some real issues, although I have not used IntelliJ Idea. But you can't be reasonably productive without one. It's silly to try and do refactorings without something to help find all the places in code that need to be switched.

Debugging and profiling are much nicer on IDEs as well. Other essential things include code completion, Javadoc reference on the fly, and syntax highlighting.

On large projects, you just can't waste the time compiling unnecessarily to find issues. Even if you have perfect unit tests, it is still a waste of time to build when all you need is a progress check on your coding.

"IDEs suck" is both amusing and true, but they are essential tools for getting work done. We are expected to do more than we used to and handle larger systems. We need effective tools to do this in the short time frames we are generally given. Gone are the days of year or multi-year projects. Now it's days and weeks no matter how silly the deadline and corresponding scope.

Besides, at least Eclipse and Netbeans have vi bindings available. I seriously can't code without vi. I can't even think without vi.
 
Old 07-19-2010, 05:58 AM   #5
urgor
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 1
remove seamonkey

I found that
find / -name libxpcom_core.so
/usr/lib/thunderbird-3.0.4/libxpcom_core.so
/usr/lib/seamonkey-<somthing_another>/libxpcom_core.so
and just remove seamonkey package. And everything work fine.
 
1 members found this post helpful.
Old 07-19-2010, 11:21 AM   #6
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
Quote:
Originally Posted by urgor View Post
I found that
find / -name libxpcom_core.so
/usr/lib/thunderbird-3.0.4/libxpcom_core.so
/usr/lib/seamonkey-<somthing_another>/libxpcom_core.so
and just remove seamonkey package. And everything work fine.
Or just remove Eclipse and don't worry about it ;-)

I'm sorry, I just couldn't help myself. I'll keep that in mind.

Netbeans 6.9 is pretty nice, very solid. I use it every day and I leave it up for days at a time with *no* crashes yet. Best version yet. But, it does require better hardware than Eclipse to run comfortably. It also is not as flexible as Eclipse on how you set up a project. If you use Maven, it doesn't matter. Maven makes all projects in all IDE's equal on setup.

One last thing, I upgraded Thunderbird to Slackware's current which is 3.1. The stable branch is 3.0.5. I found 3.0.5 very buggy and it crashed when accessing AOL mail through IMAP. Lightning for 64 bit was also not working with the latest updates. Upgrading that was the best thing I ever did. It might help to go to Thunderbird 3.1 and/or a new version of Seamonkey if Eclipse is using any of their shared objects. Just a thought.

Thunderbird 3.0.5 was so bad I considered switching back to Kmail. It was always a good email client.

Last edited by meetscott; 07-19-2010 at 11:26 AM. Reason: Pulled out redundant information, sorry.
 
Old 07-20-2010, 02:48 AM   #7
urgor
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 1
Quote:
Originally Posted by meetscott View Post
Or just remove Eclipse and don't worry about it ;-)
Sounds like You offer treat headache by cutting head (:

Quote:
Originally Posted by meetscott View Post
Netbeans 6.9 is pretty nice, very solid. I use it every day and I leave it up for days at a time with *no* crashes yet....
Thank You. I`ll try it. Last uptime of my workstation is 125 days with any crashes of Eclipse of any. But this was XP.
 
Old 07-20-2010, 08:43 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by urgor View Post
Sounds like You offer treat headache by cutting head (:
To me removing eclipse sounds more like cutting head and replacing it with something better
 
Old 07-20-2010, 11:21 AM   #9
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
Quote:
Originally Posted by urgor View Post
Sounds like You offer treat headache by cutting head (:


Thank You. I`ll try it. Last uptime of my workstation is 125 days with any crashes of Eclipse of any. But this was XP.
Since you are indicating you might try Netbeans, I thought I would add a couple of other things...

Netbeans has a different workflow and I can't tell you how painful it is to not know where menu items are. I understand this. Most people I work with use Eclipse and some are using it on Linux with success. One uses Eclipse on Fedora, one on Linux Mint, and another on Ubuntu. I'm the only Slackware/Netbeans person.

That said... If you are doing development with an application server and your projects are several thousand files or you want to do Entity Bean generation (which Netbeans does very well) you may have to tweak JVM settings. There are some tweaks in the netbeans installation directory under etc/netbeans.conf. You should be able to configure for you needs from there. If you set everything really high, it will slow it down so only put in what you need for the task. No perfect, but that's the way it is with some of the really intense operations. An example of "intense" is it takes about 3 or 4 hours to generate 1600+ Entity Beans on our database of 1000+ tables.

Your story of 125 days up with Eclipse is the best I've ever heard by far. I'm simply sharing what I do and that I've had similar issues in the (distant) past. I've been using Netbeans steadily from version 5.5 and I think their upgrade process and features are solid in general. Much better than my years on Eclipse. But don't let me tell you what's best for you. Use what *works* best in your situation. If you have issues, post back and I'll be more than happy to help where ever I can.

Happy Coding!
 
Old 12-19-2010, 02:25 PM   #10
BurlyMan
LQ Newbie
 
Registered: Nov 2010
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by urgor View Post
I found that
find / -name libxpcom_core.so
/usr/lib/thunderbird-3.0.4/libxpcom_core.so
/usr/lib/seamonkey-<somthing_another>/libxpcom_core.so
and just remove seamonkey package. And everything work fine.
Thanks a lot urgor. Removing libxpcom_core.so from /usr/lib/seamonkey worked for me too. Does anyone know why a file in the seamonkey installation would affect eclipse?
 
  


Reply

Tags
browser, crashes, eclipse, running, web


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Aptana Studio 2.0.3.1265134283 crashes Eclipse 3.51 on Slackware 13.0 - BEWARE! tallship Slackware 3 05-02-2010 08:27 PM
java program crashes using Eclipse IDE and Fedora Core 7 liean Programming 2 09-04-2007 06:21 PM
Eclipse crashes when using SVN rejeep Linux - Software 1 07-15-2007 01:54 PM
Eclipse crashes on Ubuntu? spaaarky21 Programming 5 05-02-2007 01:30 PM
eclipse crashes climbingmerlin Programming 3 10-25-2005 09:58 AM


All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration