Surely I'm wrong but after some investigations I've discovered a similiar thing.
I tested normal SFML code in differents PC with NVIDIA and ATI cards with the last drivers installed:
On some PC SFML code doesn't work and crashes.
I built a simple logging system for every line of code and I discovered that the problem was in the loading of images that haven't power-of-2 dimensions.
I examined the source code of CreateTexture() function, I'm far from an expert but:
If non-power-of-2-dimensions aren't supported SFML calculates new power-of-2 bigger image sizes with the function GetValidTextureSize(unsigned int Size)
but the buffer of the image just loaded is not updated with the new size.
So when we call:...
GLCheck(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, myTextureWidth, myTextureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, GetPixelsPtr()));
myTextureWidth and myTextureHeight are bigger than the real buffer dimension retrieved with GetPixelPtr().
Could be this the reasons of these crashes? If not I'm sorry...