Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SIGSEGV at __GI___pthread_mutex_lock
torizon@fa64e1d682bc:~/ogre/bin$ gdb SampleBrowser
GNU gdb (Debian 9.2-1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from SampleBrowser...
(gdb) r
Starting program: /home/torizon/ogre/bin/SampleBrowser
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Creating resource group General
Creating resource group OgreInternal
Creating resource group OgreAutodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
ArchiveFactory for archive type EmbeddedZip registered.
DDS codec registering
ETC codec registering
ASTC codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
setting PluginFolder from OGRE_PLUGIN_DIR environment variable
Loading library /ogre/lib/OGRE/RenderSystem_GLES2.so.1.12.12
Installing plugin: OpenGL ES 2.0 RenderSystem
OpenGL ES 2.x Rendering Subsystem created.
[New Thread 0xffffe5603170 (LWP 651)]
[New Thread 0xffffe4e02170 (LWP 652)]
Thread 1 "SampleBrowser" received signal SIGSEGV, Segmentation fault.
0x0000fffff6e6bbd0 in __GI___pthread_mutex_lock (mutex=0xf3) at pthread_mutex_lock.c:67
67 pthread_mutex_lock.c: No such file or directory.
(gdb) bt
#0 0x0000fffff6e6bbd0 in __GI___pthread_mutex_lock (mutex=0xf3) at pthread_mutex_lock.c:67
#1 0x0000fffff69462f0 in wl_proxy_create_wrapper () from /usr/lib/aarch64-linux-gnu/libwayland-client.so.0
#2 0x0000fffff6ba4b50 in ?? () from /usr/lib/aarch64-linux-gnu/libEGL.so.1
#3 0x0000fffff6b97534 in eglInitialize () from /usr/lib/aarch64-linux-gnu/libEGL.so.1
#4 0x0000fffff6c7f984 in Ogre::EGLSupport::getGLDisplay (this=0xaaaaaab15670) at /workspaces/ogre/RenderSystems/GLSupport/src/EGL/OgreEGLSupport.cpp:65
#5 0x0000fffff6c63bc0 in Ogre::X11EGLSupport::getGLDisplay (this=0xaaaaaab15670) at /workspaces/ogre/RenderSystems/GLSupport/src/EGL/X11/OgreX11EGLSupport.cpp:280
#6 0x0000fffff6c62ea0 in Ogre::X11EGLSupport::X11EGLSupport (this=0xaaaaaab15670, profile=4)
at /workspaces/ogre/RenderSystems/GLSupport/src/EGL/X11/OgreX11EGLSupport.cpp:51
#7 0x0000fffff6c62e40 in Ogre::getGLSupport (profile=4) at /workspaces/ogre/RenderSystems/GLSupport/src/EGL/X11/OgreX11EGLSupport.cpp:45
#8 0x0000fffff6c3f4a8 in Ogre::GLES2RenderSystem::GLES2RenderSystem (this=0xaaaaaab14c60) at /workspaces/ogre/RenderSystems/GLES2/src/OgreGLES2RenderSystem.cpp:178
#9 0x0000fffff6c3edf8 in Ogre::GLES2Plugin::install (this=0xaaaaaab14be0) at /workspaces/ogre/RenderSystems/GLES2/src/OgreGLES2Plugin.cpp:48
#10 0x0000fffff79c00e8 in Ogre::Root::installPlugin (this=0xaaaaaab00b80, plugin=0xaaaaaab14be0) at /workspaces/ogre/OgreMain/src/OgreRoot.cpp:1177
#11 0x0000fffff6c2bea4 in Ogre::dllStartPlugin () at /workspaces/ogre/RenderSystems/GLES2/src/OgreGLES2EngineDll.cpp:41
#12 0x0000fffff79c04c8 in Ogre::Root::loadPlugin (this=0xaaaaaab00b80, pluginName="/ogre/lib/OGRE/RenderSystem_GLES2")
at /workspaces/ogre/OgreMain/src/OgreRoot.cpp:1226
#13 0x0000fffff79bf140 in Ogre::Root::loadPlugins (this=0xaaaaaab00b80, pluginsfile="/home/torizon/ogre/bin/../share/OGRE/plugins.cfg")
at /workspaces/ogre/OgreMain/src/OgreRoot.cpp:962
#14 0x0000fffff79bc8d4 in Ogre::Root::Root (this=0xaaaaaab00b80, pluginFileName="/home/torizon/ogre/bin/../share/OGRE/plugins.cfg", configFileName="./ogre.cfg",
logFileName="./ogre.log") at /workspaces/ogre/OgreMain/src/OgreRoot.cpp:228
#15 0x0000fffff7f76d50 in OgreBites::ApplicationContextBase::createRoot (this=0xfffffffff208)
at /workspaces/ogre/Components/Bites/src/OgreApplicationContextBase.cpp:191
#16 0x0000fffff7f76650 in OgreBites::ApplicationContextBase::initApp (this=0xfffffffff208) at /workspaces/ogre/Components/Bites/src/OgreApplicationContextBase.cpp:55
#17 0x0000aaaaaaab6b38 in OgreBites::SampleContext::go (this=0xfffffffff208, initialSample=0x0) at /workspaces/ogre/Samples/Common/include/SampleContext.h:143
#18 0x0000aaaaaaab44f4 in main (argc=1, argv=0xfffffffff618) at /workspaces/ogre/Samples/Browser/src/main.cpp:89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment