Using sf::Font::GetDefaultFont (SFML2) causes a segmentation fault when closeing the program. If I only use fonts loaded from a file or whatever it works like intended.
Here is the backtrace:
#0 019298AD atioglxx!DrvRealizeLayerPalette() (C:\WINDOWS\system32\atioglxx.dll:??)
#1 00000000 0x0467a45c in ??() (??:??)
#2 0197241E atioglxx!atiPPHSN() (C:\WINDOWS\system32\atioglxx.dll:??)
#3 00000000 0x0467a200 in ??() (??:??)
#4 00000000 0x0022fe40 in ??() (??:??)
#5 022062D5 atioglxx!DrvValidateVersion() (C:\WINDOWS\system32\atioglxx.dll:??)
#6 00000000 0xffffffff in ??() (??:??)
#7 5F0E9926 wglSwapLayerBuffers() (C:\WINDOWS\system32\opengl32.dll:??)
#8 6E185583 ~WglContext(this=0x6a4f50) (E:\Programmierung\SFML2\SFML\src\SFML\Window\Win32\WglContext.cpp:118)
#9 6E181A5D sf::priv::GlContext::Cleanup() (E:\Programmierung\SFML2\SFML\src\SFML\Window\GlContext.cpp:127)
#10 6E18235F ~GlResource(this=0x598d934) (E:\Programmierung\SFML2\SFML\src\SFML\Window\GlResource.cpp:79)
#11 68EC48C1 ~Image(this=0x598d934) (E:\Programmierung\SFML2\SFML\src\SFML\Graphics\Image.cpp:92)
#12 68F7631B ~Page(this=0x598d91c) (E:/Programmierung/SFML2/SFML/include/SFML/Graphics/Font.hpp:222)
#13 68FC0ECC ~pair(this=0x598d918) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_pair.h:68)
#14 68F77879 __gnu_cxx::new_allocator<std::pair<unsigned int const, sf::Font::Page> >::destroy(this=0x22fc03, __p=0x598d918) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/ext/new_allocator.h:115)
#15 68FC6200 std::_Rb_tree<unsigned int, std::pair<unsigned int const, sf::Font::Page>, std::_Select1st<std::pair<unsigned int const, sf::Font::Page> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, sf::Font::Page> > >::_M_destroy_node(this=0x69056088, __p=0x598d908) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_tree.h:383)
#16 68FC6D9A std::_Rb_tree<unsigned int, std::pair<unsigned int const, sf::Font::Page>, std::_Select1st<std::pair<unsigned int const, sf::Font::Page> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, sf::Font::Page> > >::_M_erase(this=0x69056088, __x=0x598d908) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_tree.h:972)
#17 68FC6AD9 std::_Rb_tree<unsigned int, std::pair<unsigned int const, sf::Font::Page>, std::_Select1st<std::pair<unsigned int const, sf::Font::Page> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, sf::Font::Page> > >::clear(this=0x69056088) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_tree.h:726)
#18 68FC09B1 std::map<unsigned int, sf::Font::Page, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, sf::Font::Page> > >::clear(this=0x69056088) (d:/programme/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/include/c++/bits/stl_map.h:626)
#19 68EC2CFD sf::Font::Cleanup(this=0x69056060) (E:\Programmierung\SFML2\SFML\src\SFML\Graphics\Font.cpp:297)
#20 68EC239F ~Font(this=0x69056060) (E:\Programmierung\SFML2\SFML\src\SFML\Graphics\Font.cpp:69)
#21 68EC2B59 __tcf_0() (E:\Programmierung\SFML2\SFML\src\SFML\Graphics\Font.cpp:249)
#22 68EC1086 __dll_exit() (C:\WINDOWS\system32\sfml-graphics-d-2.dll:??)
#23 68EC1106 DllMainCRTStartup@12() (C:\WINDOWS\system32\sfml-graphics-d-2.dll:??)
#24 7C91118A ntdll!LdrSetAppCompatDllRedirectionCallback() (C:\WINDOWS\system32\ntdll.dll:??)
#25 00000000 0x68ec0000 in ??() (??:??)
#26 00000000 0x00000000 in ??() (??:??)
I'm using SFML2 and WinXP. My video card is a Radeon X1650, that might be relevant