News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

.EXE runs fine when launched from Win7 but F9 under Code::Blocks crashes hard..

Started by pitbullent, August 04, 2011, 02:23:28 AM

Previous topic - Next topic

pitbullent

I can build the binary with C::B no problem and as stated when I launch it from Win7 explorer or terminal I have no problems..
But when I attempt to run within C::B using F9 for example, I get a hard crash with the message

"Process returned -1073741819 (0xC0000005)     execution time : blah blah"

So I don't know how it can be a bug in my code but it's obviously memory issues.  Also worth nothing is that when debugging (GDB) the program also runs smoothly.  Any ideas?

Freem

C::B's version?
W7 64b or 32b?

And some other stuff like that could make someone help you.

In short: give informations, don't just report your crash.

oBFusCATed

If it is a crash in his app, we can't help, only he can track the problem.
Also this kind of questions violate the forum rules.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Quote from: pitbullent on August 04, 2011, 02:23:28 AM
Any ideas?
Without sources? No. Try checking your code with a tool like valgrind.
As we most likely cannot help at all I am locking this topic.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

thomas

Probably trying to open a file without checking for success, or something...
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."