Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***  (Read 6350 times)

0 Members and 1 Guest are viewing this topic.

aligator33

  • Newbie
  • *
  • Posts: 3
    • View Profile
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.
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!

Verra

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
« Reply #1 on: August 12, 2015, 05:32:09 pm »
Did you just install the precompiled libraries or build sfml your self?

aligator33

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
« Reply #2 on: August 12, 2015, 07:13:59 pm »
I install it directly from the package repository distribution.

victorlevasseur

  • Full Member
  • ***
  • Posts: 206
    • View Profile
Re: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
« Reply #3 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. ;)

aligator33

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: *** Error in `./sfml-app': free(): invalid pointer: 0x08fcca7c ***
« Reply #4 on: August 12, 2015, 10:21:23 pm »
Prompt a reference to assembly instructions?

 

anything