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

Author Topic: SFML2 Error / Crash message on Vista with ATI drivers  (Read 3303 times)

0 Members and 1 Guest are viewing this topic.

Figs

  • Newbie
  • *
  • Posts: 2
    • View Profile
SFML2 Error / Crash message on Vista with ATI drivers
« on: November 13, 2010, 06:28:32 am »
Hello. I am running Windows Vista and built SFML2 using MSYS/MinGW. The examples run but display a "[name of program] has stopped working." error message every time I quit. The problem appears to be the result of a segfault in an ATI graphics driver (atioglxx.dll), in particular, gdb indicates that the segfault occurs at 0x693839fa in atioglxx!DrvGetProcAddress (). To the best of my knowledge, I am using the most up to date drivers. My naive guess is that this may be a result of some sort of multithreading/concurrency problem in the interaction between window cleanup and OpenGL, although I'm not familiar enough with OpenGL or the SFML2 codebase to know where to look next. Any ideas?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML2 Error / Crash message on Vista with ATI drivers
« Reply #1 on: November 13, 2010, 11:05:35 am »
It's a known bug, don't worry.
Laurent Gomila - SFML developer

Figs

  • Newbie
  • *
  • Posts: 2
    • View Profile
SFML2 Error / Crash message on Vista with ATI drivers
« Reply #2 on: November 13, 2010, 11:25:11 am »
This is a rather significant bug for my purposes. Is there a plan to fix it soon? If not, can you point me in the correct direction towards working on a fix myself?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML2 Error / Crash message on Vista with ATI drivers
« Reply #3 on: November 13, 2010, 12:55:38 pm »
Quote
Is there a plan to fix it soon?

To fix it yes, definitely, but I don't know if it's going to happen soon. It's very hard to fix.

Quote
If not, can you point me in the correct direction towards working on a fix myself?

Use static link to avoid the crash. As for fixing the crash itself, don't even try to do that, it's a pure nightmare ;)
And there's probably no clean solution anyway, so...
Laurent Gomila - SFML developer

Mr. X

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
SFML2 Error / Crash message on Vista with ATI drivers
« Reply #4 on: November 13, 2010, 05:40:13 pm »
Has this bug been reported to AMD (As far as I know, its a bug in the driver and not in SFML, right?)? If they do not know of it, it will never be fixed.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML2 Error / Crash message on Vista with ATI drivers
« Reply #5 on: November 13, 2010, 06:07:26 pm »
Well, I don't know if it's a bug. It happens at global exit of a DLL, so I don't know if the expected behaviour is well defined.

But I can report it and see what they say.
Laurent Gomila - SFML developer

Mr. X

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
SFML2 Error / Crash message on Vista with ATI drivers
« Reply #6 on: November 18, 2010, 06:34:44 pm »
Any updates on this? (Have you informed AMD about it? Whats their response (if you already have one)?)

Xurix

  • Newbie
  • *
  • Posts: 14
    • MSN Messenger - Luixsia@crimasi.com
    • AOL Instant Messenger - Luixsia
    • Yahoo Instant Messenger - Luixsia@yahoo.com
    • View Profile
    • http://www.crimasi.com
SFML2 Error / Crash message on Vista with ATI drivers
« Reply #7 on: November 18, 2010, 07:02:21 pm »
This isn't a vista Specific bug. I had it on xp to.
But I expect Laurent will get it fixed.. somehow... lol Maybe ATI will fix it.. who knows.
SFML - Simply Fun on Many Levels