SFML community forums

Help => Audio => Topic started by: Stauricus on August 31, 2012, 12:23:31 am

Title: sf::music causes a crash?
Post by: Stauricus on August 31, 2012, 12:23:31 am
hello
i'm having a strange issue when i try to create a music object.
the program runs fine, but at the finish, windows give a error message "test.exe stopped working"

all i have to do is write sf::Music test! a minimal example that reproduces the problem:

#include "SFML/Audio.hpp"
int main(){
    sf::Music test;
    return 0;
}

in a complete example, the music DOES play, and the program runs fine. for some reason, it occurs after the 'return 0' from main().

in the console output:
process returned 255 (0xFF)

is this normal? the program runs fine, so i don't know...
i'm running on windows 7 SP1, SFML 2.0rc, Code::Blocks 10.05

thanks in advance!
Title: Re: sf::music causes a crash?
Post by: Laurent on August 31, 2012, 12:31:28 am
Hi

Please search before posting:
https://github.com/SFML/SFML/issues/30
Title: Re: sf::music causes a crash?
Post by: Stauricus on August 31, 2012, 01:03:13 am
oops, sorry, i searched only this forum.  :-\

i'll wait, then. thanks.