https://bugs.kde.org/show_bug.cgi?id=441297
Bug ID: 441297
Summary: kwin_wayland crashed when I tried to run Opera browser
natively on Wayland
Product: kwin
Version: git master
Platform: Neon Packages
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
I tried to run Opera internet browser natively on Wayland running the following
command in Konsole:
$opera-developer --enable-features=UseOzonePlatform --ozone-platform=wayland
kwin_wayland crashed immediately when Opera shown up on the screen.
kwin_wayland did not crash again when I repeated the same steps after re-login
though.
EXPECTED RESULT
no crash
SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Thread 5 (Thread 0x7faf2cc86700 (LWP 8403)):
#0 0x00007faf4ef8eaff in __GI___poll (fds=0x7faf18004e60, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007faf4d1aa36e in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7faf18004e60, timeout=<optimized out>, context=0x7faf18000c20)
at ../../../glib/gmain.c:4346
#2 g_main_context_iterate (context=context@entry=0x7faf18000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:4042
#3 0x00007faf4d1aa4a3 in g_main_context_iteration (context=0x7faf18000c20,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4 0x00007faf4f77ffb2 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7faf18000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5 0x00007faf4f72425b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7faf2cc85bc0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6 0x00007faf4f53dc22 in QThread::exec() (this=this@entry=0x55b070ce5450) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7 0x00007faf4e1bd549 in QQmlThreadPrivate::run() (this=0x55b070ce5450) at
qml/ftw/qqmlthread.cpp:155
#8 0x00007faf4f53edbc in QThreadPrivate::start(void*) (arg=0x55b070ce5450) at
thread/qthread_unix.cpp:329
#9 0x00007faf4f322609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007faf4ef9b293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 4 (Thread 0x7faf1f9ff700 (LWP 24846)):
#0 0x00007faf4ef9b5ce in epoll_wait (epfd=105,
events=events@entry=0x7faf1f9fe7f0, maxevents=32, timeout=-1) at
../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x00007faf0e321acb in impl_pollfd_wait (object=<optimized out>,
pfd=<optimized out>, ev=0x7faf1f9fe9a0, n_ev=<optimized out>,
timeout=<optimized out>) at ../spa/plugins/support/system.c:155
#2 0x00007faf0e3144a4 in loop_iterate (object=0x55b070443dc8, timeout=-1) at
../spa/plugins/support/loop.c:292
#3 0x00007faf4f288e70 in do_loop (user_data=0x55b070e6c820) at
../src/pipewire/data-loop.c:79
#4 0x00007faf4f322609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#5 0x00007faf4ef9b293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 3 (Thread 0x7faf48dd1700 (LWP 8396)):
#0 0x00007faf4ef8eaff in __GI___poll (fds=0x7faf3c005240, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007faf4d1aa36e in g_main_context_poll (priority=<optimized out>,
n_fds=2, fds=0x7faf3c005240, timeout=<optimized out>, context=0x7faf3c000c20)
at ../../../glib/gmain.c:4346
#2 g_main_context_iterate (context=context@entry=0x7faf3c000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:4042
#3 0x00007faf4d1aa4a3 in g_main_context_iteration (context=0x7faf3c000c20,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4 0x00007faf4f77ffb2 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7faf3c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5 0x00007faf4f72425b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7faf48dd0be0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6 0x00007faf4f53dc22 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7 0x00007faf4f53edbc in QThreadPrivate::start(void*) (arg=0x55b06ff1bc00) at
thread/qthread_unix.cpp:329
#8 0x00007faf4f322609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9 0x00007faf4ef9b293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7faf43fff700 (LWP 8397)):
#0 0x00007faf4ef8eaff in __GI___poll (fds=0x7faf38004630, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007faf4d1aa36e in g_main_context_poll (priority=<optimized out>,
n_fds=2, fds=0x7faf38004630, timeout=<optimized out>, context=0x7faf38000c20)
at ../../../glib/gmain.c:4346
#2 g_main_context_iterate (context=context@entry=0x7faf38000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:4042
#3 0x00007faf4d1aa4a3 in g_main_context_iteration (context=0x7faf38000c20,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4 0x00007faf4f77ffb2 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7faf38000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5 0x00007faf4f72425b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7faf43ffebe0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6 0x00007faf4f53dc22 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7 0x00007faf4f53edbc in QThreadPrivate::start(void*) (arg=0x55b06ff541b0) at
thread/qthread_unix.cpp:329
#8 0x00007faf4f322609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9 0x00007faf4ef9b293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7faf49fb0300 (LWP 8394)):
#0 QThreadStorageData::get() const (this=this@entry=0x0) at
../../include/QtCore/../../src/corelib/tools/qvector.h:88
#1 0x00007faf4fb4b1dc in
qThreadStorage_localData<QGuiGLThreadContext>(QThreadStorageData&,
QGuiGLThreadContext**) (d=...) at
../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:144
#2 QThreadStorage<QGuiGLThreadContext*>::localData() (this=0x0) at
../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:145
#3 QOpenGLContext::currentContext() () at kernel/qopenglcontext.cpp:422
#4 0x00007faf48e664fd in KWin::AbstractEglBackend::makeCurrent()
(this=0x55b07226ad00) at
./src/platformsupport/scenes/opengl/abstract_egl_backend.cpp:243
#5 0x00007faf48e5a115 in
KWin::EglGbmBackend::removeOutput(KWin::DrmAbstractOutput*)
(this=0x55b07226ad00, drmOutput=0x55b07003c030) at
./src/plugins/platforms/drm/egl_gbm_backend.cpp:224
#6 0x00007faf4f75c77e in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffc358d6910, r=0x55b07226ad00, this=0x55b072540810) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7 doActivate<false>(QObject*, int, void**) (sender=0x55b06ff0e370,
signal_index=6, argv=0x7ffc358d6910) at kernel/qobject.cpp:3886
#8 0x00007faf4f755b47 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x55b06ff0e370, m=m@entry=0x7faf48e7ed60
<KWin::DrmGpu::staticMetaObject>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc358d6910)
at kernel/qobject.cpp:3946
#9 0x00007faf48e2cee6 in
KWin::DrmGpu::outputDisabled(KWin::DrmAbstractOutput*)
(this=this@entry=0x55b06ff0e370, _t1=<optimized out>, _t1@entry=0x55b07003c030)
at
./obj-x86_64-linux-gnu/src/plugins/platforms/drm/KWinWaylandDrmBackend_autogen/EWIEGA46WW/moc_drm_gpu.cpp:189
#10 0x00007faf48e4a1ed in KWin::DrmGpu::removeOutput(KWin::DrmOutput*)
(this=0x55b06ff0e370, output=0x55b07003c030) at
./src/plugins/platforms/drm/drm_gpu.cpp:451
#11 0x00007faf48e4a4cc in KWin::DrmGpu::~DrmGpu() (this=0x55b06ff0e370,
__in_chrg=<optimized out>) at ./src/plugins/platforms/drm/drm_gpu.cpp:94
#12 0x00007faf48e4a8ed in KWin::DrmGpu::~DrmGpu() (this=0x55b06ff0e370,
__in_chrg=<optimized out>) at ./src/plugins/platforms/drm/drm_gpu.cpp:88
#13 0x00007faf48e2f9ce in qDeleteAll<KWin::DrmGpu* const*>(KWin::DrmGpu*
const*, KWin::DrmGpu* const*) (end=0x55b06ff24290, begin=0x55b06ff24288) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:319
#14 qDeleteAll<QVector<KWin::DrmGpu*> >(QVector<KWin::DrmGpu*> const&) (c=...)
at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#15 KWin::DrmBackend::~DrmBackend() (this=0x55b06ff0f0f0, __in_chrg=<optimized
out>) at ./src/plugins/platforms/drm/drm_backend.cpp:79
#16 0x00007faf48e2fb0d in KWin::DrmBackend::~DrmBackend() (this=0x55b06ff0f0f0,
__in_chrg=<optimized out>) at ./src/plugins/platforms/drm/drm_backend.cpp:77
#17 0x00007faf4f71b161 in QLibraryPrivate::unload(QLibraryPrivate::UnloadFlag)
(this=0x55b06ff0be30, flag=QLibraryPrivate::NoUnloadSys) at
/usr/include/c++/9/bits/atomic_base.h:413
#18 0x00007faf4f71f3cd in QLibraryStore::cleanup() () at
plugin/qlibrary.cpp:416
#19 0x00007faf4f71c71d in qlibraryCleanup () at plugin/qlibrary.cpp:442
#20 (anonymous
namespace)::qlibraryCleanup_dtor_class_::~qlibraryCleanup_dtor_class_()
(this=<optimized out>, __in_chrg=<optimized out>) at plugin/qlibrary.cpp:442
#21 0x00007faf4eec315e in __cxa_finalize (d=0x7faf4f9c49e0) at
cxa_finalize.c:83
#22 0x00007faf4f5222b7 in __do_global_dtors_aux () at thread/qthread.cpp:1033
#23 0x00007ffc358d7330 in ()
--
You are receiving this mail because:
You are watching all bug changes.