Discussion:
[kwin] [Bug 399499] New: KWin Seg Fault on Startup
Add Reply
Ryan Dotts
2018-10-07 20:36:49 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

Bug ID: 399499
Summary: KWin Seg Fault on Startup
Product: kwin
Version: 5.13.5
Platform: Neon Packages
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: kwin-bugs-***@kde.org
Reporter: ***@gmail.com
Target Milestone: ---

Application: kwin_x11 (5.13.5)

Qt Version: 5.11.1
Frameworks Version: 5.50.0
Operating System: Linux 4.15.0-36-generic x86_64
Distribution: KDE neon User Edition 5.13

-- Information about the crash:
- What I was doing when the application crashed:
Booting to desktop
- Custom settings of the application:
Default settings for KWin (recent reformat) that come with KDE Neon 5.13
(neon-useredition-20181004-1723-amd64.iso). The only related item installed is
the latest nvidia binary drivers (390.48) for the GTX 670M.

Initially the desktop appeared to have not booted at all, but switching to tty2
and back restored it. No unusual behavior since. This has happened
consistantly on several startups.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1c5d57c840 (LWP 1886))]

Thread 5 (Thread 0x7f1c2a1ff700 (LWP 2019)):
#0 0x00007f1c55f1b9f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x7f1c594bbfb8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7f1c594bbf68,
cond=0x7f1c594bbf90) at pthread_cond_wait.c:502
#2 __pthread_cond_wait (cond=0x7f1c594bbf90, mutex=0x7f1c594bbf68) at
pthread_cond_wait.c:655
#3 0x00007f1c591c6954 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4 0x00007f1c591c6999 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5 0x00007f1c55f156db in start_thread (arg=0x7f1c2a1ff700) at
pthread_create.c:463
#6 0x00007f1c5ced988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f1c33fff700 (LWP 1998)):
#0 0x00007f1c5cecccf6 in __GI_ppoll (fds=0x7f1c2c000d28, nfds=1,
timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1 0x00007f1c5a2b27a1 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2 0x00007f1c5a2b3eae in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3 0x00007f1c5a25adea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007f1c5a085b8a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007f1c549a28b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6 0x00007f1c5a090aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007f1c55f156db in start_thread (arg=0x7f1c33fff700) at
pthread_create.c:463
#8 0x00007f1c5ced988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1c422e4700 (LWP 1925)):
#0 0x00007f1c5cecccf6 in __GI_ppoll (fds=0x7f1c3400ec88, nfds=1,
timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1 0x00007f1c5a2b27a1 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2 0x00007f1c5a2b3eae in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3 0x00007f1c5a25adea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007f1c5a085b8a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007f1c53894e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6 0x00007f1c5a090aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007f1c55f156db in start_thread (arg=0x7f1c422e4700) at
pthread_create.c:463
#8 0x00007f1c5ced988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1c4477d700 (LWP 1923)):
#0 0x00007f1c5ceccbf9 in __GI___poll (fds=0x7f1c4477cc68, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f1c5bdd2747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007f1c5bdd436a in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007f1c45870129 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4 0x00007f1c5a090aab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007f1c55f156db in start_thread (arg=0x7f1c4477d700) at
pthread_create.c:463
#6 0x00007f1c5ced988f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1c5d57c840 (LWP 1886)):
[KCrash Handler]
#6 0x00007f1c59a3829f in _mm_stream_si128(long long __vector(2)*, long long
__vector(2)) (__B=..., __A=0x7f1c30f3bc70) at
/usr/lib/gcc/x86_64-linux-gnu/7/include/emmintrin.h:1473
#7 KWin::WindowQuadList::makeInterleavedArrays
(this=***@entry=0x7ffeaa338580, type=***@entry=7,
vertices=***@entry=0x7f1c30f3bc70, textureMatrix=...) at
./libkwineffects/kwineffects.cpp:1283
#8 0x00007f1c3219ba6b in KWin::SceneOpenGL2Window::performPaint
(this=***@entry=0x557c1cbdb370, mask=***@entry=2, region=..., data=...) at
./plugins/scenes/opengl/scene_opengl.cpp:1487
#9 0x00007f1c321a4643 in KWin::SceneOpenGL2::performPaintWindow
(this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=...,
data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1108
#10 0x00007f1c321a4777 in KWin::SceneOpenGL2::finalDrawWindow
(this=***@entry=0x557c1c9dfab0, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1090
#11 0x00007f1c5ca3aa26 in KWin::EffectsHandlerImpl::drawWindow
(this=***@entry=0x557c1cafbda0, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./effects.cpp:459
#12 0x00007f1c597d50d6 in KWin::ContrastEffect::drawWindow
(this=***@entry=0x557c1c855ff0, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:424
#13 0x00007f1c5ca3a9be in KWin::EffectsHandlerImpl::drawWindow
(this=***@entry=0x557c1cafbda0, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./effects.cpp:456
#14 0x00007f1c5973ea42 in KWin::BlurEffect::drawWindow
(this=***@entry=0x7f1c34012360, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./effects/blur/blur.cpp:568
#15 0x00007f1c5ca3a9be in KWin::EffectsHandlerImpl::drawWindow
(this=***@entry=0x557c1cafbda0, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./effects.cpp:456
#16 0x00007f1c5ca27830 in KWin::Scene::finalPaintWindow
(this=***@entry=0x557c1c9dfab0, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./scene.cpp:606
#17 0x00007f1c5ca3a84d in KWin::EffectsHandlerImpl::paintWindow
(this=***@entry=0x557c1cafbda0, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./effects.cpp:422
#18 0x00007f1c59a344a0 in KWin::Effect::paintWindow
(this=***@entry=0x557c1c855ff0, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./libkwineffects/kwineffects.cpp:598
#19 0x00007f1c5ca3a7ee in KWin::EffectsHandlerImpl::paintWindow
(this=***@entry=0x557c1cafbda0, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./effects.cpp:419
#20 0x00007f1c59a344a0 in KWin::Effect::paintWindow
(this=***@entry=0x7f1c34012360, w=***@entry=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./libkwineffects/kwineffects.cpp:598
#21 0x00007f1c5ca3a7ee in KWin::EffectsHandlerImpl::paintWindow
(this=***@entry=0x557c1cafbda0, w=0x557c1cbb3610, mask=***@entry=2,
region=..., data=...) at ./effects.cpp:419
#22 0x00007f1c5ca2dba2 in KWin::Scene::paintWindow
(this=***@entry=0x557c1c9dfab0, w=0x557c1cbdb370, mask=2, region=...,
quads=...) at ./scene.cpp:478
#23 0x00007f1c5ca2c91c in KWin::Scene::paintSimpleScreen
(this=***@entry=0x557c1c9dfab0, orig_mask=***@entry=0, region=...) at
./scene.cpp:376
#24 0x00007f1c32198c82 in KWin::SceneOpenGL2::paintSimpleScreen
(this=***@entry=0x557c1c9dfab0, mask=***@entry=0, region=...) at
./plugins/scenes/opengl/scene_opengl.cpp:1053
#25 0x00007f1c5ca2d137 in KWin::Scene::finalPaintScreen
(this=***@entry=0x557c1c9dfab0, mask=***@entry=0, region=..., data=...) at
./scene.cpp:201
#26 0x00007f1c5ca3a5a5 in KWin::EffectsHandlerImpl::paintScreen
(this=***@entry=0x557c1cafbda0, mask=***@entry=0, region=..., data=...) at
./effects.cpp:379
#27 0x00007f1c59a343f1 in KWin::Effect::paintScreen
(this=***@entry=0x557c1c855ff0, mask=***@entry=0, region=..., data=...) at
./libkwineffects/kwineffects.cpp:583
#28 0x00007f1c5ca3a54d in KWin::EffectsHandlerImpl::paintScreen
(this=***@entry=0x557c1cafbda0, mask=***@entry=0, region=..., data=...) at
./effects.cpp:376
#29 0x00007f1c59a343f1 in KWin::Effect::paintScreen
(this=***@entry=0x7f1c34012360, mask=***@entry=0, region=..., data=...) at
./libkwineffects/kwineffects.cpp:583
#30 0x00007f1c5ca3a54d in KWin::EffectsHandlerImpl::paintScreen
(this=***@entry=0x557c1cafbda0, mask=0, region=..., data=...) at
./effects.cpp:376
#31 0x00007f1c5ca2ce2e in KWin::Scene::paintScreen
(this=***@entry=0x557c1c9dfab0, mask=***@entry=0x7ffeaa339490, damage=...,
repaint=..., updateRegion=***@entry=0x7ffeaa339478,
validRegion=***@entry=0x7ffeaa339480, projection=...,
outputGeometry=...) at ./scene.cpp:151
#32 0x00007f1c3219e531 in KWin::SceneOpenGL::paint
(this=***@entry=0x557c1c9dfab0, damage=..., toplevels=...) at
./plugins/scenes/opengl/scene_opengl.cpp:702
#33 0x00007f1c5ca1f492 in KWin::Compositor::performCompositing
(this=0x557c1c8062b0) at ./composite.cpp:745
#34 0x00007f1c5a28c5fb in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f1c5afe9e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007f1c5aff145f in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007f1c5a25cab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f1c5a2b5f0e in QTimerInfoList::activateTimers() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f1c5a2b4112 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f1c458fb16d in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#41 0x00007f1c5a25adea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007f1c5a263fa0 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007f1c5d1b1dab in kdemain (argc=<optimized out>, argv=0x7ffeaa339d18)
at ./main_x11.cpp:468
#44 0x00007f1c5cdd9b97 in __libc_start_main (main=0x557c1bfe0720 <main>,
argc=1, argv=0x7ffeaa339d18, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffeaa339d08) at ../csu/libc-start.c:310
#45 0x0000557c1bfe075a in _start ()

Possible duplicates by query: bug 375624.

Reported using DrKonqi
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-10-20 05:18:57 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

Martin Flöser <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #1 from Martin Flöser <***@kde.org> ---
*** Bug 400038 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson
2018-10-22 22:58:51 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@mail.ru

--- Comment #2 from David Edmundson <***@davidedmundson.co.uk> ---
*** Bug 398860 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson
2018-10-22 22:59:06 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #3 from David Edmundson <***@davidedmundson.co.uk> ---
*** Bug 400016 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-10-27 04:42:30 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

***@q.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@q.com
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-10-27 04:42:32 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

--- Comment #4 from ***@q.com ---
Created attachment 115915
--> https://bugs.kde.org/attachment.cgi?id=115915&action=edit
New crash information added by DrKonqi

kwin_x11 (5.14.1) using Qt 5.11.2

- What I was doing when the application crashed:

Had just resumed from standby and logged in. The little bug icon was already
in the system tray when the lock screen was cleared. Using proprietary Nvidia
drivers.

-- Backtrace (Reduced):
#6 0x00007f9e7d9c9d7f in _mm_stream_si128(long long __vector(2)*, long long
__vector(2)) (__B=..., __A=0x7f9e5415e940) at
/usr/lib/gcc/x86_64-linux-gnu/7/include/emmintrin.h:1473
#7 KWin::WindowQuadList::makeInterleavedArrays
(this=***@entry=0x7fff93ae8e18, type=***@entry=7,
vertices=***@entry=0x7f9e5415e940, textureMatrix=...) at
./libkwineffects/kwineffects.cpp:1313
#8 0x00007f9e554eaa5b in KWin::SceneOpenGL2Window::performPaint
(this=***@entry=0x565280d58640, mask=***@entry=10, region=..., data=...) at
./plugins/scenes/opengl/scene_opengl.cpp:1487
#9 0x00007f9e554f3f13 in KWin::SceneOpenGL2::performPaintWindow
(this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=...,
data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1108
#10 0x00007f9e554f4047 in KWin::SceneOpenGL2::finalDrawWindow
(this=***@entry=0x565280efab00, w=***@entry=0x56528113cba0, mask=***@entry=10,
region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1090
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson
2018-10-28 16:44:11 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@davidedmundson.co.uk
Status|REPORTED |CONFIRMED
Summary|KWin Seg Fault on Startup |Crash in
| |makeInterleavedArrays
Ever confirmed|0 |1
--
You are receiving this mail because:
You are watching all bug changes.
Vlad Zagorodniy
2018-11-07 10:10:15 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

Vlad Zagorodniy <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #5 from Vlad Zagorodniy <***@gmail.com> ---
*** Bug 400790 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-11-08 16:31:10 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

***@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-11-08 16:31:11 UTC
Reply
Permalink
https://bugs.kde.org/show_bug.cgi?id=399499

--- Comment #6 from ***@gmail.com ---
Created attachment 116184
--> https://bugs.kde.org/attachment.cgi?id=116184&action=edit
New crash information added by DrKonqi

kwin_x11 (5.12.6) using Qt 5.9.5

- What I was doing when the application crashed:
resuming from suspension to ram (stand-by)
- Unusual behavior I noticed:
alpha layer becomes noisy (windows using opengl or desktop icons with
didascaly), i think this is caused by nvidia driver miscommunication
- Custom settings of the application:
nvidia driver 390.77

-- Backtrace (Reduced):
#6 0x00007f0e604fd2af in KWin::WindowQuadList::makeInterleavedArrays(unsigned
int, KWin::GLVertex2D*, QMatrix4x4 const&) const () from
/usr/lib/x86_64-linux-gnu/libkwineffects.so.11
[...]
#10 0x00007f0e634f2956 in
KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion,
KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f0e604f9620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int,
QRegion, KWin::WindowPaintData&) () from
/usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#12 0x00007f0e634f28ee in
KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion,
KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
[...]
#14 0x00007f0e634f28ee in
KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion,
KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
--
You are receiving this mail because:
You are watching all bug changes.
Loading...