Hello,
I've recently noticed that when I close my application via console close button, SIGSEGV is raised. Minimal program which reproduces this bug would be
int main()
{
window.create(sf::VideoMode(1024, 768), "window", sf::Style::Default);
sf::Text test;
test.setCharacterSize(11);
test.setString(" ");
while(1);
}
When program reaches while(1) try to close it with console close button.
Problem occures only with sf::Text afaik. If you comment this line test.setString(" "); it doesn't happen.
Is it suppoused to be like this? I know that closing application via console close button isn't completely normal way to terminate application but it still shouldn't happen I think.