Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Problem with crashing on exit  (Read 6379 times)

0 Members and 1 Guest are viewing this topic.

excrulon

  • Newbie
  • *
  • Posts: 12
    • View Profile
Problem with crashing on exit
« on: February 07, 2011, 07:09:09 am »
Probably something stupid I did, but whenever I exit my program I get:

The thread 'Win64 Thread' (0x12a0) has exited with code 0 (0x0).
First-chance exception at 0x690adf99 in isometric.exe: 0xC0000005: Access violation reading location 0x0000000000000010.
Unhandled exception at 0x690adf99 in isometric.exe: 0xC0000005: Access violation reading location 0x0000000000000010.

and crt0dat.c pops open and points to this block of code:

Code: [Select]

void __cdecl __crtExitProcess (
        int status
        )
{
        __crtCorExitProcess(status);

        /*
         * Either mscoree.dll isn't loaded,
         * or CorExitProcess isn't exported from mscoree.dll,
         * or CorExitProcess returned (should never happen).
         * Just call ExitProcess.
         */

        ExitProcess(status);
}


Any idea what might cause this?

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Problem with crashing on exit
« Reply #1 on: February 07, 2011, 08:47:37 am »
What Graphic  card do you have?
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

excrulon

  • Newbie
  • *
  • Posts: 12
    • View Profile
Problem with crashing on exit
« Reply #2 on: February 07, 2011, 09:06:48 am »
Radeon HD 4870 using an older version of catalyst version 10.8 since the sfml window wouldn't show up using the latest version of it.

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Problem with crashing on exit
« Reply #3 on: February 07, 2011, 01:14:46 pm »
I think I saw someone else with a similar problem before. I think it was this one: http://www.sfml-dev.org/forum/viewtopic.php?t=3976
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

excrulon

  • Newbie
  • *
  • Posts: 12
    • View Profile
Problem with crashing on exit
« Reply #4 on: February 07, 2011, 10:04:06 pm »
Oooh very nice. I did what JAssange said and it fixed it. Should do for now!

Thanks... I swear I searched around a little before posting. Guess I just didn't look hard enough.

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Problem with crashing on exit
« Reply #5 on: February 08, 2011, 08:09:58 am »
It's okay, it's not one of the normal problems.

Anyway that is only a quick fix so you know. It's probably related to the ATI bug. When Laurent says he has fixed it,  try to remove the fix. If it persist then come back here.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

 

anything