SFML community forums

Help => Window => Topic started by: aligator33 on August 12, 2015, 02:23:05 pm

Title: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
Post by: aligator33 on August 12, 2015, 02:23:05 pm
Hello !
I use LUbuntu 15.04 and compiler g++ (Ubuntu 5.1.1-4ubuntu12) 5.1.1 20150504
SFML libraries installed according to the instructions http://www.sfml-dev.org/tutorials/2.2/start-linux.php (ftp://www.sfml-dev.org/tutorials/2.2/start-linux.php).
Example code from the instruction compiles without errors.
But when I run the compiled program - the window appears on a few seconds and it closes with an error.
*** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
 
Please help me!
Title: Re: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
Post by: Verra on August 12, 2015, 05:32:09 pm
Did you just install the precompiled libraries or build sfml your self?
Title: Re: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
Post by: aligator33 on August 12, 2015, 07:13:59 pm
I install it directly from the package repository distribution.
Title: Re: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
Post by: victorlevasseur on August 12, 2015, 07:16:26 pm
Try to build SFML yourself. GCC/G++ 5.0 introduced a change in the C++ ABI causing incompatibilities : if the SFML lib provided by the repo is compiled with the old ABI, it may not work. ;)
Title: Re: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
Post by: aligator33 on August 12, 2015, 10:21:23 pm
Prompt a reference to assembly instructions?