Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse Crashes on Startup
Eclipse Crashes on Startup [message #661803] Sun, 27 March 2011 21:45 Go to next message
Eclipse UserFriend
I'm not sure what the issue is exactly, the application crashes on me more or less right away after starting it up and attempting to create a new project. Sometimes I can't even make it that far before the whole thing just up and blows.

Here's a screenshot of the dialog I get on error.
http://stoldark.com/images/eclipse_crash.jpg

You can view the eclipse error log here.

The environment is Win7 x64, with the latest 64 bit JRE and JDK versions installed. I'm using the 64bit version of Eclipse. Any ideas?

[Updated on: Sun, 27 March 2011 21:48] by Moderator

Re: Eclipse Crashes on Startup [message #662467 is a reply to message #661803] Wed, 30 March 2011 13:42 Go to previous messageGo to next message
Eclipse UserFriend
On 3/27/11 9:45 PM, diego wrote:
> I'm not sure what the issue is exactly, the application crashes on me
> more or less right away after starting it up and attempting to create a
> new project. Sometimes I can't even make it that far before the whole
> thing just up and blows.
>
> Here's a screenshot of the dialog I get on error.
>
>
> You can view the eclipse http://pastebin.com/uKUEJszY
>
> The environment is Win7 x64, with the latest 64 bit JRE and JDK versions
> installed. Any ideas?

Look at the topic right below yours; it's likely that you're mixing
64-bit and 32-bit versions of Java and Eclipse. Make sure you've
downloaded and installed 64-bit Eclipse and that eclipse.ini is pointing
to your 64-bit JDK.

Eric
Re: Eclipse Crashes on Startup [message #662665 is a reply to message #661803] Thu, 31 March 2011 09:27 Go to previous messageGo to next message
Eclipse UserFriend
I thought so too so I double and triple checked everything, even uninstalling the 32 bit version of JRE. Still no dice.

Since making my initial post Eclipse would randomly work. Some days it behaves, some days it crashes every five minutes. Recently (today), I made a change to one of my source files that seems to have thrown the workspace into a tizzy, because it's back to crashing as soon as I load up the IDE.

Funny enough removing the project from the workspace lets it work ok. The offending code?

/*
 * WinLuaTest.cpp
 *
 *  Created on: Mar 30, 2011
 *      Author: dbenavid
 */

extern "C"
{
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
}

#include <iostream>

void fromC()
{
    std::cout << "This is from C." << std::endl;
}

int main()
{
    lua_State *L = lua_open();
    luaL_openlibs(L);
    luaL_dofile(L,"foo.lua");
    printf("\nI am done with Lua in C++.\n");
    lua_close(L);
    return 0;
}


The entire project was ok before adding in
#include <iostream>

void fromC()
{
    std::cout << "This is from C." << std::endl;
}


I'm not sure why the entire IDE would crash in this scenario. Even if there were code errors or it was unable to perform its internal calculations for dependencies and the like there's not need for such a spectacular crash Sad
Re: Eclipse Crashes on Startup [message #662683 is a reply to message #662665] Thu, 31 March 2011 10:33 Go to previous message
Eclipse UserFriend
At very least, you should ask this question in the eclipse cdt forum as
per the sticky posts at the top of this forum.

On 2011.03.31 7:27, diego wrote:
> I thought so too so I double and triple checked everything, even
> uninstalling the 32 bit version of JRE. Still no dice.
>
> Since making my initial post Eclipse would randomly work. Some days it
> behaves, some days it crashes every five minutes. Recently (today), I
> made a change to one of my source files that seems to have thrown the
> workspace into a tizzy, because it's back to crashing as soon as I load
> up the IDE.
>
> Funny enough removing the project from the workspace lets it work ok.
> The offending code?
>
> /*
> * WinLuaTest.cpp
> *
> * Created on: Mar 30, 2011
> * Author: dbenavid
> */
>
> extern "C"
> {
> #include "lua.h"
> #include "lualib.h"
> #include "lauxlib.h"
> }
>
> #include <iostream>
>
> void fromC()
> {
> std::cout << "This is from C." << std::endl;
> }
>
> int main()
> {
> lua_State *L = lua_open();
> luaL_openlibs(L);
> luaL_dofile(L,"foo.lua");
> printf("\nI am done with Lua in C++.\n");
> lua_close(L);
> return 0;
> }
>
>
> The entire project was ok before adding in
> #include <iostream>
>
> void fromC()
> {
> std::cout << "This is from C." << std::endl;
> }
>
>
> I'm not sure why the entire IDE would crash in this scenario. Even if
> there were code errors or it was unable to perform its internal
> calculations for dependencies and the like there's not need for such a
> spectacular crash :(
Previous Topic:Using gdb
Next Topic:Deploying Helios and Plugins to a shared location on Linux
Goto Forum:
  


Current Time: Mon Jul 07 04:39:29 EDT 2025

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

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

Back to the top