Qt5 segmentation fault with libEGL.so.1 lib
-
Hi team,
I am using the Qt5.15.2, there i trying to run the qt5/exmaples/gui/openglwindows application but getting the segmentation fault. Below is the bt of gdb .
ype "apropos word" to search for commands related to "word"...
Reading symbols from ./openglwindow...
(No debugging symbols found in ./openglwindow)
(gdb) r
Starting program: /usr/lib/arm-linux-gnueabihf/qt5/examples/gui/openglwindow/openglwindow
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb2480420 (LWP 9794)]
[New Thread 0xa99a7420 (LWP 9795)]
[New Thread 0xa8fff420 (LWP 9796)]Thread 1 "openglwindow" received signal SIGSEGV, Segmentation fault.
0xb6556908 in pthread_mutex_lock ()
from /lib/arm-linux-gnueabihf/libpthread.so.0
(gdb) bt full
#0 0xb6556908 in pthread_mutex_lock ()
from /lib/arm-linux-gnueabihf/libpthread.so.0
No symbol table info available.
#1 0xb1aa8048 in wl_proxy_create_wrapper ()
from /lib/arm-linux-gnueabihf/libwayland-client.so.0
No symbol table info available.
#2 0xb1adad64 in ?? () from /lib/arm-linux-gnueabihf/libEGL.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)I am suspecting on libEGL issue somewhere. I have been stuck on this issue since very long time.
Please help me on this issue.Regards,
Rk -
S SGaist moved this topic from Qt Insight on
-
Hi and welcome to devnet,
You should install the debugging packages for these libraries. That should give you better information for your stack strace.
-
Hi and welcome to devnet,
You should install the debugging packages for these libraries. That should give you better information for your stack strace.
@SGaist Thanks for reply,
You mean the dbugging package of libEGL ? I think i have the libegl-dev package.
how to debug this seg fault issue , In Qt or using GDB . GDB is getting stopped at Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)How to process further here , Please suggest on this .
-
@SGaist Thanks for reply,
You mean the dbugging package of libEGL ? I think i have the libegl-dev package.
how to debug this seg fault issue , In Qt or using GDB . GDB is getting stopped at Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)How to process further here , Please suggest on this .
@Rakesh007 said in Qt5 segmentation fault with libEGL.so.1 lib:
libegl-dev
This is development package containing header files, not debug package of the library.
-
@Rakesh007 said in Qt5 segmentation fault with libEGL.so.1 lib:
libegl-dev
This is development package containing header files, not debug package of the library.
@jsulm thanks for reply,
I am suspecting that there is no debug package available for library libEGL.
If you have any information on this, then please suggest the concern library for libEGL seg fault and better place to debug GDB/Qt creator?
Regards,
Rk -
@jsulm thanks for reply,
I am suspecting that there is no debug package available for library libEGL.
If you have any information on this, then please suggest the concern library for libEGL seg fault and better place to debug GDB/Qt creator?
Regards,
RkSince Libegl is a dispatch library, don't you have the one from the mesa package for example ? That one has a debug package.
-
Since Libegl is a dispatch library, don't you have the one from the mesa package for example ? That one has a debug package.
-
@SGaist thanks for reply,
Yes, i have the libEGL-mesa package.
How to debug using that libs, Please suggest.
Did you install the corresponding debug package ?