1
General / Re: Error in `./sfml-app': free(): invalid pointer
« on: March 30, 2017, 09:46:03 am »
I downloaded the linux package from https://www.sfml-dev.org/files/SFML-2.4.2-linux-gcc-64-bit.tar.gz
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#0 0x00007ffff6dc2428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff6dc402a in __GI_abort () at abort.c:89
#2 0x00007ffff6e047ea in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff6f1d2e0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff6e0ce0a in malloc_printerr (ar_ptr=<optimised out>, ptr=<optimised out>, str=0x7ffff6f1a0b2 "free(): invalid pointer", action=3) at malloc.c:5004
#4 _int_free (av=<optimised out>, p=<optimised out>, have_lock=0) at malloc.c:3865
#5 0x00007ffff6e1098c in __GI___libc_free (mem=<optimised out>) at malloc.c:2966
#6 0x0000000000401750 in __gnu_cxx::new_allocator<unsigned int>::deallocate (this=0x7fffffffd730, __p=0x7fa038) at /usr/include/c++/5/ext/new_allocator.h:110
#7 0x000000000040171f in __gnu_cxx::__alloc_traits<std::allocator<unsigned int> >::deallocate (__a=..., __p=0x7fa038, __n=140737344620449) at /usr/include/c++/5/ext/alloc_traits.h:185
#8 0x00000000004016ae in std::__cxx11::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int> >::_M_destroy (this=0x7fffffffd730, __size=140737344620448) at /usr/include/c++/5/bits/basic_string.h:185
#9 0x0000000000401624 in std::__cxx11::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int> >::_M_dispose (this=0x7fffffffd730) at /usr/include/c++/5/bits/basic_string.h:180
#10 0x00000000004015a3 in std::__cxx11::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int> >::~basic_string (this=0x7fffffffd730, __in_chrg=<optimised out>)
at /usr/include/c++/5/bits/basic_string.h:543
#11 0x000000000040156a in sf::String::~String (this=0x7fffffffd730, __in_chrg=<optimised out>) at /usr/local/include/SFML/System/String.hpp:45
#12 0x00007ffff7943dbf in sf::priv::JoystickImpl::open (this=0x7ffff7b573c0 <sf::priv::JoystickManager::getInstance()::instance>, index=0) at /usr/local/share/buildslave/debian-gcc-64/build/src/SFML/Window/Unix/JoystickImpl.cpp:563
#13 0x00007ffff792aca4 in sf::priv::JoystickManager::update (this=0x7ffff7b573c0 <sf::priv::JoystickManager::getInstance()::instance>) at /usr/local/share/buildslave/debian-gcc-64/build/src/SFML/Window/JoystickManager.cpp:90
#14 0x00007ffff792f37a in sf::priv::WindowImpl::WindowImpl (this=0x7f91c0) at /usr/local/share/buildslave/debian-gcc-64/build/src/SFML/Window/WindowImpl.cpp:87
#15 0x00007ffff7935c4e in sf::priv::WindowImplX11::WindowImplX11 (this=0x7f91c0, mode=..., title=..., style=7, settings=...) at /usr/local/share/buildslave/debian-gcc-64/build/src/SFML/Window/Unix/WindowImplX11.cpp:445
#16 0x00007ffff792f229 in sf::priv::WindowImpl::create (mode=..., title=..., style=7, settings=...) at /usr/local/share/buildslave/debian-gcc-64/build/src/SFML/Window/WindowImpl.cpp:71
#17 0x00007ffff792e7b3 in sf::Window::create (this=0x7fffffffde00, mode=..., title=..., style=7, settings=...) at /usr/local/share/buildslave/debian-gcc-64/build/src/SFML/Window/Window.cpp:124
#18 0x00007ffff7ba796b in sf::RenderWindow::RenderWindow (this=0x7fffffffde00, mode=..., title=..., style=7, settings=...) at /usr/local/share/buildslave/debian-gcc-64/build/src/SFML/Graphics/RenderWindow.cpp:45
#19 0x000000000040131e in main () at main.cpp:5