I'm having the same issue.
When I close a window, a segmentation fault occurs.
The call stack points to
c:\windows\system32\ig4dev32.dll
The code is perfect and very minimal. I have not had this problem using SFML 1.6, Im using the latest build of SFML 2.0.
-Windows 7 32-bit
-Intel integrated graphics card
-Code blocks mingw32
The funny thing is, I've had this error before on another project. The project was fairly complicated, and although I had the same problem initially, it disappeared as development went on. It seems to only occur when I use a minimal example:
sf::RenderWindow window(sf::VideoMode(WINDOW_WIDTH, WINDOW_HEIGHT, 32), "solo");
while(window.IsOpened())
{
sf::Event windowEvent;
while(window.GetEvent(windowEvent))
{
if(windowEvent.Type == sf::Event::Closed)
window.Close();
}
window.Clear();
window.Display();
}