ui bloack at QOpenGLContext::swapBuffers at board Apalis-iMX8

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ui bloack at QOpenGLContext::swapBuffers at board Apalis-iMX8

2,001件の閲覧回数
gyx
Contributor I

ui bloack at QOpenGLContext::swapBuffers at board Apalis-iMX8

org issue:https://jira.automotivelinux.org/browse/SPEC-4048
we try to porting AGL for Apalis-iMX8
but we found LUNCHER bar can not work.

backtraces of coredump as follow:
Thread 8 (LWP 889):
#0 0x0000ffff8c6090bc in _GI__poll (fds=0xffff61b45370, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1 0x0000ffff81ace6a4 in ?? () from ./symbol/rootfs/usr/lib/libEGL.so.1
#2 0x0000ffff81acf628 in ?? () from ./symbol/rootfs/usr/lib/libEGL.so.1
#3 0x0000ffff81ac6ac8 in ?? () from ./symbol/rootfs/usr/lib/libEGL.so.1
#4 0x0000ffff81b1d168 in ?? () from ./symbol/rootfs/usr/lib/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so
#5 0x0000ffff8ca1a6e8 in QOpenGLContext::swapBuffers (this=0xaaaae95d0850, surface=<optimized out>) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/gui/kernel/qopenglcontext.cpp:1112
#6 0x0000ffff82150704 in QSGRenderThread::syncAndRender (this=this@entry=0xaaaae95cf370, grabImage=grabImage@entry=0x0)
at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:841
#7 0x0000ffff82154264 in QSGRenderThread::run (this=0xaaaae95cf370) at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:980
#8 0x0000ffff8d04cd58 in QThreadPrivate::start (arg=0xaaaae95cf370) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qthread_unix.cpp:342
#9 0x0000ffff8c4ff3e0 in start_thread (arg=0xffffc0344cd6) at pthread_create.c:477
#10 0x0000ffff8c611d5c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 7 (LWP 888):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0xaaaae9471478) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaae9471420, cond=0xaaaae9471450) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0xaaaae9471450, mutex=0xaaaae9471420) at pthread_cond_wait.c:638
#3 0x0000ffff8d05371c in QWaitConditionPrivate::wait (deadline=..., this=0xaaaae9471420) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qwaitcondition_unix.cpp:146
#4 QWaitCondition::wait (this=<optimized out>, mutex=0xaaaae9458c30, deadline=...) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qwaitcondition_unix.cpp:225
#5 0x0000ffff8d053880 in QWaitCondition::wait (this=this@entry=0xaaaae9458c38, mutex=mutex@entry=0xaaaae9458c30, time=time@entry=18446744073709551615)
at ../../include/QtCore/../../../git/src/corelib/kernel/qdeadlinetimer.h:68
#6 0x0000ffff82154004 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0xaaaae9458c28)
at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:255
#7 QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0xaaaae9458b90) at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:905
#8 0x0000ffff821542e4 in QSGRenderThread::run (this=0xaaaae9458b90) at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1000
#9 0x0000ffff8d04cd58 in QThreadPrivate::start (arg=0xaaaae9458b90) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qthread_unix.cpp:342
#10 0x0000ffff8c4ff3e0 in start_thread (arg=0xffffc0344cd6) at pthread_create.c:477
#11 0x0000ffff8c611d5c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 6 (LWP 887):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0xaaaae92c77d8) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaae92c7780, cond=0xaaaae92c77b0) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0xaaaae92c77b0, mutex=0xaaaae92c7780) at pthread_cond_wait.c:638
#3 0x0000ffff8d05371c in QWaitConditionPrivate::wait (deadline=..., this=0xaaaae92c7780) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qwaitcondition_unix.cpp:146
#4 QWaitCondition::wait (this=<optimized out>, mutex=0xaaaae92dde70, deadline=...) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qwaitcondition_unix.cpp:225
#5 0x0000ffff8d053880 in QWaitCondition::wait (this=this@entry=0xaaaae92dde78, mutex=mutex@entry=0xaaaae92dde70, time=time@entry=18446744073709551615)
at ../../include/QtCore/../../../git/src/corelib/kernel/qdeadlinetimer.h:68
#6 0x0000ffff82154004 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0xaaaae92dde68)
at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:255
#7 QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0xaaaae92dddd0) at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:905
#8 0x0000ffff821542e4 in QSGRenderThread::run (this=0xaaaae92dddd0) at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1000
#9 0x0000ffff8d04cd58 in QThreadPrivate::start (arg=0xaaaae92dddd0) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qthread_unix.cpp:342
#10 0x0000ffff8c4ff3e0 in start_thread (arg=0xffffc0344cd6) at pthread_create.c:477
#11 0x0000ffff8c611d5c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

--Type <return> to continue, or q <return> to quit--
Thread 5 (LWP 885):
#0 ioctl () at ../sysdeps/unix/sysv/linux/aarch64/ioctl.S:25
#1 0x0000ffff89f7dcf0 in gcoOS_DeviceControl () from ./symbol/rootfs/usr/lib/libGAL.so
#2 0x0000ffff89f7eee8 in gcoOS_WaitSignal () from ./symbol/rootfs/usr/lib/libGAL.so
#3 0x0000ffff81ac606c in ?? () from ./symbol/rootfs/usr/lib/libEGL.so.1
#4 0x0000ffff8c4ff3e0 in start_thread (arg=0xffffc03448c6) at pthread_create.c:477
#5 0x0000ffff8c611d5c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 4 (LWP 884):
#0 ioctl () at ../sysdeps/unix/sysv/linux/aarch64/ioctl.S:25
#1 0x0000ffff89f7dcf0 in gcoOS_DeviceControl () from ./symbol/rootfs/usr/lib/libGAL.so
#2 0x0000ffff89f7eee8 in gcoOS_WaitSignal () from ./symbol/rootfs/usr/lib/libGAL.so
#3 0x0000ffff89e34860 in ?? () from ./symbol/rootfs/usr/lib/libGAL.so
#4 0x0000ffff8c4ff3e0 in start_thread (arg=0xffffc03444d6) at pthread_create.c:477
#5 0x0000ffff8c611d5c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 3 (LWP 882):
#0 0x0000ffff8c6091a0 in __ppoll (fds=fds@entry=0xffff7c000d38, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:44
#1 0x0000ffff8d28e620 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:77
#2 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0xffff7c000d38) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/kernel/qcore_unix.cpp:132
#3 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0xffff7c000d38) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/kernel/qcore_unix.cpp:129
#4 qt_safe_poll (fds=0xffff7c000d38, nfds=1, timeout_ts=timeout_ts@entry=0x0) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/kernel/qcore_unix.cpp:155
#5 0x0000ffff8d2900fc in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../../git/src/corelib/tools/qvector.h:88
#6 0x0000ffff8d23438c in QEventLoop::exec (this=this@entry=0xffff83ffe838, flags=flags@entry=...) at ../../include/QtCore/../../../git/src/corelib/global/qflags.h:136
#7 0x0000ffff8d04b968 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../../git/src/corelib/global/qflags.h:118
#8 0x0000ffff8da2cb84 in ?? () from ./symbol/rootfs/usr/lib/libQt5Qml.so.5
#9 0x0000ffff8d04cd58 in QThreadPrivate::start (arg=0xaaaae91093a0) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qthread_unix.cpp:342
#10 0x0000ffff8c4ff3e0 in start_thread (arg=0xffffc0345116) at pthread_create.c:477
#11 0x0000ffff8c611d5c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 2 (LWP 880):
#0 0x0000ffff8c611ee4 in __GI_epoll_pwait (epfd=<optimized out>, events=0xffff88acc740, maxevents=1, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
#1 0x0000ffff8c487db8 in sd_event_wait () from ./symbol/rootfs/lib/libsystemd.so.0
#2 0x0000ffff8c488d8c in sd_event_run () from ./symbol/rootfs/lib/libsystemd.so.0
#3 0x0000ffff8c488f14 in sd_event_loop () from ./symbol/rootfs/lib/libsystemd.so.0
#4 0x0000ffff8dc0a3b4 in ?? () from ./symbol/rootfs/usr/lib/libhomescreen.so.0.1
#5 0x0000ffff8c79b9d4 in ?? () from ./symbol/rootfs/usr/lib/libstdc++.so.6
#6 0x0000ffff8c4ff3e0 in start_thread (arg=0xffffc0345026) at pthread_create.c:477
#7 0x0000ffff8c611d5c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Thread 1 (LWP 820):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0xaaaae945a588) at ../sysdeps/nptl/futex-internal.h:183
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xaaaae945a530, cond=0xaaaae945a560) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0xaaaae945a560, mutex=0xaaaae945a530) at pthread_cond_wait.c:638
#3 0x0000ffff8d05371c in QWaitConditionPrivate::wait (deadline=..., this=0xaaaae945a530) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qwaitcondition_unix.cpp:146
#4 QWaitCondition::wait (this=<optimized out>, mutex=0xaaaae95cf3c8, deadline=...) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/thread/qwaitcondition_unix.cpp:225
#5 0x0000ffff8d053880 in QWaitCondition::wait (this=<optimized out>, mutex=<optimized out>, time=time@entry=18446744073709551615)
--Type <return> to continue, or q <return> to quit--
at ../../include/QtCore/../../../git/src/corelib/kernel/qdeadlinetimer.h:68
#6 0x0000ffff821525e0 in QSGThreadedRenderLoop::polishAndSync (this=this@entry=0xaaaae919df70, w=w@entry=0xaaaae92f4e00, inExpose=inExpose@entry=true)
at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1544
#7 0x0000ffff821533e8 in QSGThreadedRenderLoop::handleExposure (this=this@entry=0xaaaae919df70, window=window@entry=0xaaaae92e3f90)
at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1321
#8 0x0000ffff82153d5c in QSGThreadedRenderLoop::exposureChanged (this=0xaaaae919df70, window=0xaaaae92e3f90)
at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1216
#9 0x0000ffff8c9e7678 in QWindow::event (this=this@entry=0xaaaae92e3f90, ev=ev@entry=0xffffc03450d0) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/gui/kernel/qwindow.cpp:2372
#10 0x0000ffff821b4acc in QQuickWindow::event (this=0xaaaae92e3f90, e=0xffffc03450d0) at /usr/src/debug/qtdeclarative/5.14.2+gitAUTOINC+23a000f9a1-r0/git/src/quick/items/qquickwindow.cpp:1773
#11 0x0000ffff8d235c80 in QCoreApplication::notifyInternal2 (receiver=0xaaaae92e3f90, event=0xffffc03450d0)
at ../../include/QtCore/5.14.2/QtCore/private/../../../../../../git/src/corelib/thread/qthread_p.h:325
#12 0x0000ffff8d235ebc in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0xaaaae92e3f90, event=event@entry=0xffffc03450d0)
at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/kernel/qcoreapplication.cpp:1482
#13 0x0000ffff8c9dcd44 in QGuiApplicationPrivate::processExposeEvent (e=0xaaaae974bd20) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/gui/kernel/qguiapplication.cpp:3182
#14 0x0000ffff8c9dcf0c in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0xaaaae974bd20) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/gui/kernel/qguiapplication.cpp:2003
#15 0x0000ffff8c9b7254 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/gui/kernel/qwindowsysteminterface.cpp:1170
#16 0x0000ffff88decb50 in ?? () from ./symbol/rootfs/usr/lib/libQt5WaylandClient.so.5
#17 0x0000ffff8d23438c in QEventLoop::exec (this=this@entry=0xffffc03452b0, flags=flags@entry=...) at ../../include/QtCore/../../../git/src/corelib/global/qflags.h:136
#18 0x0000ffff8d23ce8c in QCoreApplication::exec () at ../../include/QtCore/../../../git/src/corelib/global/qflags.h:118
#19 0x0000aaaaddd2c254 in ?? ()

we think this issue block at Thread8:QOpenGLContext::swapBuffers

0 件の賞賛
返信
2 返答(返信)

1,987件の閲覧回数
gyx
Contributor I

[Switching to thread 8 (LWP 890)]
#0 0x0000ffff9f83b0bc in __GI___poll (fds=0xffff78d6f370, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
41 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) print fds
$1 = (struct pollfd *) 0xffff78d6f370
(gdb) print *fds
$2 = {fd = 4, events = 1, revents = 0}
(gdb)

 

ls -l /proc/pid/fd found 

lrwx------. 1 agl-driver agl-driver 64 Jun 29 03:07 4 -> socket:[28393]

is there any way to debug libEGL.so.1?

0 件の賞賛
返信

1,274件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

I guess you should contact Toradex.

Regards

0 件の賞賛
返信