Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse exit with -1073741571(Eclipse exit with -1073741571)
Eclipse exit with -1073741571 [message #1791857] Fri, 06 July 2018 09:07 Go to next message
Kostas Tsinganos is currently offline Kostas TsinganosFriend
Messages: 1
Registered: July 2018
Junior Member
I am writing an opencv program in c++ in eclipse IDE. The program uses a number of vectors and arrays (not Mat). When I add a new 2D array with a high dimension, 500x500 etc, the eclipse terminates with error code -1073741571 but there is no problems in problems list. When I change the dimension of the array to 50x50 the program runs fine. Is this a problem with eclipse? Or there is not enough memory? How I can free up space by deleting arrays that i dont need?
Re: Eclipse exit with -1073741571 [message #1792233 is a reply to message #1791857] Fri, 13 July 2018 03:49 Go to previous message
David VavraFriend
Messages: 776
Registered: October 2012
Senior Member
error code -1073741571 (decimal) is 0xC00000FD
It means stack overflow.

http://www.mikesmithdev.com/blog/debug-stack-overflow-exception/
https://forums.asp.net/t/1811350.aspx?Stack+overflow+exception+0xC00000FD+Exception

500x500 x 4 bytes = 1 MB.
Plus everything else seems to be too large for your stack.

Try moving the array to the heap.

It's also possible that the debugger (which is external to Eclipse) or Eclipse itself
might have a problem when trying to collect its values.
If so, try to avoid having the debugger inspect it by
using the Expressions tab exclusively in the debugger and don't attempt viewing the array.

[Updated on: Fri, 13 July 2018 03:53]

Report message to a moderator

Previous Topic:[LINUX] Can't compile Makefile Project
Next Topic:Memory debugging
Goto Forum:
  


Current Time: Fri Sep 21 15:24:49 GMT 2018

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

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

Back to the top