Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Compiler Crashes when used in Eclipse CDT (Windows)
Compiler Crashes when used in Eclipse CDT (Windows) [message #226857] Mon, 17 November 2008 08:02 Go to next message
Guillaume B is currently offline Guillaume BFriend
Messages: 3
Registered: July 2009
Junior Member
Hello everyone.

I'm starting a new job in a company that uses a C SDK for their
applications.
They are aimed at running on embedded devices, so the common tools are
specific to the architecture (gcco replaces gcc, ldo replaces ld and so
on).

To compile under Eclipse, I use a Makefile that specifically uses these
tools, so I have no "standard" compiler installed on my machine, just the
ones I told you about above.

The problem is, sometimes the compilation process hangs in eclipse,
whereas launched in a Command Line it runs flawlessly. It can happend in
any step of the compilation (compilation, linking, ...). At the end I
receive a strange error like:
"gmake: *** [appli.ocd] Error -1073741819"
And a popup appears that says: "Instruction at 0x610baeeda uses memory
address 0x00000009. The memory
Re: Compiler Crashes when used in Eclipse CDT (Windows) [continued] [message #226867 is a reply to message #226857] Mon, 17 November 2008 08:06 Go to previous messageGo to next message
Guillaume B is currently offline Guillaume BFriend
Messages: 3
Registered: July 2009
Junior Member
[Wrong click on the previous message, it's continued here]

Hello everyone.

I'm starting a new job in a company that uses a C SDK for their
applications.
They are aimed at running on embedded devices, so the common tools are
specific to the architecture (gcco replaces gcc, ldo replaces ld and so
on).

To compile under Eclipse, I use a Makefile that specifically uses these
tools, so I have no "standard" compiler installed on my machine, just the
ones I told you about above.

The problem is, sometimes (very randomly, but too often to be ignored) the
compilation process hangs in eclipse, whereas launched in a Command Line
it runs flawlessly.
It can happen in any step of the compilation (compilation, linking, ...).
At the end I receive a strange error like:
"gmake: *** [appli.ocd] Error -1073741819"
And a popup appears that says: "Instruction at 0x610baeeda uses memory
address 0x00000009. The memory cannot be written".

This has nothing to do with the tools I use, since my project compiles
both on my machine and the other developpers machines as well. I found
this behaviour only on my environment.

Do you have any idea of what happens?

Eclipse 3.4.1 and CDT 5.0.1

Thanks in advance!
Re: Compiler Crashes when used in Eclipse CDT (Windows) [continued] [message #226989 is a reply to message #226867] Wed, 19 November 2008 08:08 Go to previous messageGo to next message
Guillaume B is currently offline Guillaume BFriend
Messages: 3
Registered: July 2009
Junior Member
Hello,

For those interested in the climax: I solved the problem by replacing the
Cygwin dll by an older one (I had a 2005 version, replaced by a 1999
version).

It all works now :)
Re: Compiler Crashes when used in Eclipse CDT (Windows) [continued] [message #227069 is a reply to message #226989] Thu, 20 November 2008 07:30 Go to previous message
Ali Burak Kulakli is currently offline Ali Burak KulakliFriend
Messages: 116
Registered: July 2009
Senior Member
Hi,

I guess it is not related to Eclipse. I've done similar developments on
Eclipse and have no problem yet.

However, are you sure your build command runs cygwin not cmd? Eclipse
runs command on cmd (in Win32). You might have copied cygwin.dll to
windows system folder but this might give some problems. I recommend
using cygwin as a console to build. To achive this you can pass cygwin
command (bash -c YOUR_BUILD_COMMAND)

Cheers,
Burak

Guillaume B wrote:
> Hello,
>
> For those interested in the climax: I solved the problem by replacing
> the Cygwin dll by an older one (I had a 2005 version, replaced by a 1999
> version).
>
> It all works now :)
>
Previous Topic:CppUnit
Next Topic:stop-on-solib-events
Goto Forum:
  


Current Time: Thu Apr 25 00:02:25 GMT 2024

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

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

Back to the top