Bug 346874 - kwin_wayland crashes with software rendering on the Wayland backend on qemu
Summary: kwin_wayland crashes with software rendering on the Wayland backend on qemu
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: egl (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-29 00:01 UTC by bluescreenavenger
Modified: 2015-04-29 01:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bluescreenavenger 2015-04-29 00:01:57 UTC
Application: kwin_wayland (5.3.90)
 (Compiled from sources)
Qt Version: 5.5.0
Operating System: Linux 3.19.0-15-generic i686
Distribution: Ubuntu 15.04

-- Information about the crash:
It appears that starting kwin_wayland on a weston started with --shell=fullscreen-shell.so on

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_wayland), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1a28780 (LWP 3284))]

Thread 4 (Thread 0xb186bb40 (LWP 3290)):
#0  0xb7767be0 in __kernel_vsyscall ()
#1  0xb7767851 in __vdso_clock_gettime ()
#2  0xb766f740 in __GI___clock_gettime (clock_id=1, tp=0xb186afc4) at ../sysdeps/unix/clock_gettime.c:115
#3  0xb5fc02d8 in ?? () from /opt/lib/libQt5Core.so.5
#4  0xb615ca01 in QTimerInfoList::updateCurrentTime() () from /opt/lib/libQt5Core.so.5
#5  0xb615cf14 in QTimerInfoList::timerWait(timespec&) () from /opt/lib/libQt5Core.so.5
#6  0xb615e499 in ?? () from /opt/lib/libQt5Core.so.5
#7  0xb41e433b in g_main_context_prepare (context=0xb0f01500, priority=0xb186b114) at gmain.c:3410
#8  0xb41e4e44 in g_main_context_iterate (context=0xb0f01500, block=-1216971808, block@entry=1, dispatch=1, self=<optimized out>) at gmain.c:3788
#9  0xb41e5076 in g_main_context_iteration (context=0xb0f01500, may_block=1) at gmain.c:3869
#10 0xb615f0dc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/libQt5Core.so.5
#11 0xb6100d13 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/libQt5Core.so.5
#12 0xb610117a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/libQt5Core.so.5
#13 0xb5f1cb2d in QThread::exec() () from /opt/lib/libQt5Core.so.5
#14 0xb5f1cc08 in QThread::run() () from /opt/lib/libQt5Core.so.5
#15 0xb5f21fdb in ?? () from /opt/lib/libQt5Core.so.5
#16 0xb720d1aa in start_thread (arg=0xb186bb40) at pthread_create.c:333
#17 0xb7661fde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 3 (Thread 0xb0be5b40 (LWP 3291)):
#0  0xb7767be0 in __kernel_vsyscall ()
#1  0xb76573db in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb41f4040 in poll (__timeout=-1, __nfds=1, __fds=0xaf806ef0) at /usr/include/i386-linux-gnu/bits/poll2.h:46
#3  g_poll (fds=0xaf806ef0, nfds=1, timeout=-1) at gpoll.c:124
#4  0xb41e4f34 in g_main_context_poll (priority=<optimized out>, n_fds=<optimized out>, fds=<optimized out>, timeout=<optimized out>, context=<optimized out>) at gmain.c:4103
#5  g_main_context_iterate (context=0xaf8004d8, block=-1216971808, block@entry=1, dispatch=1, self=<optimized out>) at gmain.c:3803
#6  0xb41e5076 in g_main_context_iteration (context=0xaf8004d8, may_block=1) at gmain.c:3869
#7  0xb615f0dc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/libQt5Core.so.5
#8  0xb6100d13 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/libQt5Core.so.5
#9  0xb610117a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/libQt5Core.so.5
#10 0xb5f1cb2d in QThread::exec() () from /opt/lib/libQt5Core.so.5
#11 0xb5f1cc08 in QThread::run() () from /opt/lib/libQt5Core.so.5
#12 0xb5f21fdb in ?? () from /opt/lib/libQt5Core.so.5
#13 0xb720d1aa in start_thread (arg=0xb0be5b40) at pthread_create.c:333
#14 0xb7661fde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 2 (Thread 0xaf670b40 (LWP 3294)):
#0  0xb7767be0 in __kernel_vsyscall ()
#1  0xb7212626 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:245
#2  0xb766ed3a in __pthread_cond_timedwait (cond=0x8b85e00, mutex=0x8b85de8, abstime=0xaf6701f8) at forward.c:162
#3  0xb5f23035 in QWaitCondition::wait(QMutex*, unsigned long) () from /opt/lib/libQt5Core.so.5
#4  0xb5f1eef5 in ?? () from /opt/lib/libQt5Core.so.5
#5  0xb5f21fdb in ?? () from /opt/lib/libQt5Core.so.5
#6  0xb720d1aa in start_thread (arg=0xaf670b40) at pthread_create.c:333
#7  0xb7661fde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 1 (Thread 0xb1a28780 (LWP 3284)):
[KCrash Handler]
#6  0xb75f050a in __GI_strstr (haystack_start=0x1 <error: Cannot access memory at address 0x1>, needle_start=0xb4e1220f "X.Org") at strstr.c:63
#7  0xb4e00c67 in KWin::GLPlatform::detect(KWin::OpenGLPlatformInterface) () from /opt/lib/i386-linux-gnu/libkwinglutils.so.6
#8  0xb7435412 in KWin::AbstractEglBackend::initKWinGL() () from /opt/lib/i386-linux-gnu/libkwin.so.5
#9  0xb7445f65 in KWin::EglWaylandBackend::EglWaylandBackend(KWin::Wayland::WaylandBackend*) () from /opt/lib/i386-linux-gnu/libkwin.so.5
#10 0xb74420a5 in KWin::Wayland::WaylandBackend::createOpenGLBackend() () from /opt/lib/i386-linux-gnu/libkwin.so.5
#11 0xb7392be7 in KWin::SceneOpenGL::createScene(QObject*) () from /opt/lib/i386-linux-gnu/libkwin.so.5
#12 0xb736405a in KWin::Compositor::slotCompositingOptionsInitialized() () from /opt/lib/i386-linux-gnu/libkwin.so.5
#13 0xb7364de3 in KWin::Compositor::setup() [clone .part.115] () from /opt/lib/i386-linux-gnu/libkwin.so.5
#14 0xb736695b in QtPrivate::QSlotObject<void (KWin::Compositor::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /opt/lib/i386-linux-gnu/libkwin.so.5
#15 0xb6134d1f in QMetaObject::activate(QObject*, int, int, void**) () from /opt/lib/libQt5Core.so.5
#16 0xb61358ed in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/lib/libQt5Core.so.5
#17 0xb7463132 in KWin::Wayland::WaylandBackend::backendReady() () from /opt/lib/i386-linux-gnu/libkwin.so.5
#18 0xb7441f4c in KWin::Wayland::WaylandBackend::checkBackendReady() () from /opt/lib/i386-linux-gnu/libkwin.so.5
#19 0xb7442b0b in QtPrivate::QSlotObject<void (KWin::Wayland::WaylandBackend::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /opt/lib/i386-linux-gnu/libkwin.so.5
#20 0xb6134d1f in QMetaObject::activate(QObject*, int, int, void**) () from /opt/lib/libQt5Core.so.5
#21 0xb61358ed in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/lib/libQt5Core.so.5
#22 0xb74630c1 in KWin::Wayland::WaylandBackend::shellSurfaceSizeChanged(QSize const&) () from /opt/lib/i386-linux-gnu/libkwin.so.5
#23 0xb743edbf in QtPrivate::QFunctorSlotObject<KWin::Wayland::WaylandBackend::createSurface()::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /opt/lib/i386-linux-gnu/libkwin.so.5
#24 0xb6134d1f in QMetaObject::activate(QObject*, int, int, void**) () from /opt/lib/libQt5Core.so.5
#25 0xb61358ed in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/lib/libQt5Core.so.5
#26 0xb4eadeb2 in KWayland::Client::Output::changed() () from /opt/lib/i386-linux-gnu/libKF5WaylandClient.so.5
#27 0xb4e9f40b in KWayland::Client::Output::Private::doneCallback(void*, wl_output*) () from /opt/lib/i386-linux-gnu/libKF5WaylandClient.so.5
#28 0xb47a0d12 in ffi_call_SYSV () from /usr/lib/i386-linux-gnu/libffi.so.6
#29 0xb47a098c in ffi_call () from /usr/lib/i386-linux-gnu/libffi.so.6
#30 0xb720032a in wl_closure_invoke (closure=0x2, flags=1, target=0x8b68488, opcode=2, data=0x8afb1d8) at src/connection.c:942
#31 0xb71fd539 in dispatch_event (display=display@entry=0xaf802a18, queue=0x8b19d50) at src/wayland-client.c:1168
#32 0xb71fd5ca in dispatch_queue (display=display@entry=0xaf802a18, queue=queue@entry=0x8b19d50) at src/wayland-client.c:1343
#33 0xb71fe449 in wl_display_dispatch_queue_pending (display=0xaf802a18, queue=0x8b19d50) at src/wayland-client.c:1616
#34 0xb4e9cf7e in KWayland::Client::EventQueue::dispatch() () from /opt/lib/i386-linux-gnu/libKF5WaylandClient.so.5
#35 0xb4e9d39b in QtPrivate::QSlotObject<void (KWayland::Client::EventQueue::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /opt/lib/i386-linux-gnu/libKF5WaylandClient.so.5
#36 0xb6132880 in QMetaCallEvent::placeMetaCall(QObject*) () from /opt/lib/libQt5Core.so.5
#37 0xb6135ff3 in QObject::event(QEvent*) () from /opt/lib/libQt5Core.so.5
#38 0xb6b0dcca in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/lib/libQt5Widgets.so.5
#39 0xb6b13539 in QApplication::notify(QObject*, QEvent*) () from /opt/lib/libQt5Widgets.so.5
#40 0xb72f916a in KWin::Application::notify(QObject*, QEvent*) () from /opt/lib/i386-linux-gnu/libkwin.so.5
#41 0xb6103bca in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/lib/libQt5Core.so.5
#42 0xb610612c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/lib/libQt5Core.so.5
#43 0xb615c424 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/libQt5Core.so.5
#44 0xb6100d13 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/libQt5Core.so.5
#45 0xb610117a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/lib/libQt5Core.so.5
#46 0xb6109715 in QCoreApplication::exec() () from /opt/lib/libQt5Core.so.5
#47 0xb6492cf1 in QGuiApplication::exec() () from /opt/lib/libQt5Gui.so.5
#48 0xb6b09334 in QApplication::exec() () from /opt/lib/libQt5Widgets.so.5
#49 0xb775bb0f in kdemain () from /opt/lib/i386-linux-gnu/libkdeinit5_kwin_wayland.so
#50 0x080485b7 in main ()

Reported using DrKonqi
Comment 1 bluescreenavenger 2015-04-29 00:13:38 UTC
I am sorry if I reported this too early. I admit I unset KDE_DEBUG for the first time in a while here, and got a little carried away testing DrKonqi...
Comment 2 bluescreenavenger 2015-04-29 01:10:56 UTC
never  mind. it seems I am unable to replicate the exact stack trace