Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsuliman

Posted 25 April 2013 - 12:59 PM

Hi

 

My prog "crashes" (when i close it!, still works fine during running) with: 

 

Unhandled exception at 0x1014d7af in game.exe: 0xC0000005: Access violation reading location 0xfeeefef2.

 

It happens when i send a string to a function. If i leave that param empty its ok. If i use a simple string like ("test") it crashes. But its only that instance of that function. I use that function with strings everywhere with no problem. Where can the problem lie?

 

Maybe you can answer generally, but when i close and get the error the compiler directs me to some irrlicht code, namely:

 

from ireferencecounter, this is what happens when i close my program:

bool drop() const
{
// someone is doing bad reference counting.
_IRR_DEBUG_BREAK_IF(ReferenceCounter <= 0)


--ReferenceCounter;
if (!ReferenceCounter)
{
delete this;
return true;
}


return false;
}
 

#1suliman

Posted 25 April 2013 - 12:58 PM

Hi

 

My prog "crashes" (when i close it!, still works fine during running) with: 

 

Unhandled exception at 0x1014d7af in game.exe: 0xC0000005: Access violation reading location 0xfeeefef2.

 

It happens when i send a string to a function. If i leave that param empty its ok. If i use a simple string like ("test") it crashes. But its only that instance of that function. I use that function with strings everywhere with no problem. What can the problem lie?

 

Maybe you can answer generally, but the complain the compiler gives me is from irrlicht code, namely:

 

 

from ireferencecounter, this is what happens when i close my program:

bool drop() const
{
// someone is doing bad reference counting.
_IRR_DEBUG_BREAK_IF(ReferenceCounter <= 0)


--ReferenceCounter;
if (!ReferenceCounter)
{
delete this;
return true;
}


return false;
}
 

 


PARTNERS