1
General / Re: SFML with Steam SDK crash on linux.
« on: March 09, 2022, 10:08:08 pm »
Hi exploiter.
I download SFML source code and I compile it with "cmake CMakeList.txt" and "makefile -j 4". I try now compile using the command "make" without the "-j 4" and it runs the same bug.
I make the qtcreator project and I run it with the gdb in qtcreator. When it crash, the IDE shows the tree:
And the line 17 have this:
I hope you guys can fix this in future versions of SFML.
I try make some programs with SDL 2.0, GLFW and ALLEGRO and the three librarys run the window with steam SDK without crash.
I download SFML source code and I compile it with "cmake CMakeList.txt" and "makefile -j 4". I try now compile using the command "make" without the "-j 4" and it runs the same bug.
I make the qtcreator project and I run it with the gdb in qtcreator. When it crash, the IDE shows the tree:
1 ??
2 __pthread_once_slow pthread_once.c 116 0x7ffff753547f
3 llvm::ManagedStaticBase::RegisterManagedStatic(void * ( *)(), void ( *)(void *)) const 0x7ffff066530a
4 ?? 0x7ffff04f2e94
5 ?? 0x7ffff7fe0b8a
6 ?? 0x7ffff7fe0c91
7 _dl_catch_exception 0x7ffff7ab6895
8 ?? 0x7ffff7fe542d
9 _dl_catch_exception 0x7ffff7ab6838
10 ?? 0x7ffff7fe45fa
11 ?? 0x7ffff751f34c
12 _dl_catch_exception 0x7ffff7ab6838
13 _dl_catch_error 0x7ffff7ab6903
14 ?? 0x7ffff751fb59
15 dlopen 0x7ffff751f3da
16 glPrimitiveBoundingBox 0x7ffff7140762
17 glPrimitiveBoundingBox 0x7ffff714085d
18 ?? 0x7ffff7120085
19 ?? 0x7ffff7135dee
20 ?? 0x7ffff71275f9
21 ?? 0x7ffff7122dd4
22 ?? 0x7ffff7123472
23 sfglx_LoadFunctions 0x7ffff7f1d430
24 sf::priv::GlxContext::GlxContext(sf::priv::GlxContext *) 0x7ffff7f1cdb5
25 sf::priv::GlContext::initResource() 0x7ffff7f0b927
26 sf::Window::Window() 0x7ffff7f0deb3
27 sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&) 0x7ffff7f75a9d
28 main main.cpp 17 0x5555555553d7
2 __pthread_once_slow pthread_once.c 116 0x7ffff753547f
3 llvm::ManagedStaticBase::RegisterManagedStatic(void * ( *)(), void ( *)(void *)) const 0x7ffff066530a
4 ?? 0x7ffff04f2e94
5 ?? 0x7ffff7fe0b8a
6 ?? 0x7ffff7fe0c91
7 _dl_catch_exception 0x7ffff7ab6895
8 ?? 0x7ffff7fe542d
9 _dl_catch_exception 0x7ffff7ab6838
10 ?? 0x7ffff7fe45fa
11 ?? 0x7ffff751f34c
12 _dl_catch_exception 0x7ffff7ab6838
13 _dl_catch_error 0x7ffff7ab6903
14 ?? 0x7ffff751fb59
15 dlopen 0x7ffff751f3da
16 glPrimitiveBoundingBox 0x7ffff7140762
17 glPrimitiveBoundingBox 0x7ffff714085d
18 ?? 0x7ffff7120085
19 ?? 0x7ffff7135dee
20 ?? 0x7ffff71275f9
21 ?? 0x7ffff7122dd4
22 ?? 0x7ffff7123472
23 sfglx_LoadFunctions 0x7ffff7f1d430
24 sf::priv::GlxContext::GlxContext(sf::priv::GlxContext *) 0x7ffff7f1cdb5
25 sf::priv::GlContext::initResource() 0x7ffff7f0b927
26 sf::Window::Window() 0x7ffff7f0deb3
27 sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&) 0x7ffff7f75a9d
28 main main.cpp 17 0x5555555553d7
And the line 17 have this:
sf::RenderWindow window(sf::VideoMode(800, 600), "My window");
I hope you guys can fix this in future versions of SFML.
I try make some programs with SDL 2.0, GLFW and ALLEGRO and the three librarys run the window with steam SDK without crash.