[plasmashell] [Bug 421955] New: Plasma crashes after entering password

2020-05-23 Thread Daniel Mulholland
https://bugs.kde.org/show_bug.cgi?id=421955

Bug ID: 421955
   Summary: Plasma crashes after entering password
   Product: plasmashell
   Version: 5.18.4
  Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: k...@davidedmundson.co.uk
  Reporter: dan.mulholl...@gmail.com
CC: plasma-b...@kde.org
  Target Milestone: 1.0

Application: plasmashell (5.18.4)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-29-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I was just opening my laptop lid and entered the password. After I entered it
it flashed a bit in the navigation bar and I saw this sad face and clicked on
it which brings us to where we are now.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f08d08f6280 (LWP 4889))]

Thread 30 (Thread 0x7f080bfff700 (LWP 501339)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x562ccf4f7de4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562ccf4f7d90,
cond=0x562ccf4f7db8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562ccf4f7db8, mutex=0x562ccf4f7d90) at
pthread_cond_wait.c:638
#3  0x7f08d4347b0f in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7f08d4347c01 in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x7f08d6026109 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x7f08d60263ad in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x7f08d43419d2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x7f08d37e7609 in start_thread (arg=) at
pthread_create.c:477
#9  0x7f08d3fd0103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 29 (Thread 0x7f080adee700 (LWP 492597)):
#0  0x7f08d3fc396f in __GI___poll (fds=0x7f07fc0d01d0, nfds=3, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7f08a0c2d1d6 in  () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x7f08a0c1e841 in pa_mainloop_poll () at
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x7f08a0c1eec3 in pa_mainloop_iterate () at
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x7f08a0c1ef70 in pa_mainloop_run () at
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x7f08a0c2d11d in  () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x7f08a098457c in  () at
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#7  0x7f08d37e7609 in start_thread (arg=) at
pthread_create.c:477
#8  0x7f08d3fd0103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 28 (Thread 0x7f082700 (LWP 99253)):
#0  __GI___libc_read (nbytes=10, buf=0x7f082fffebde, fd=83) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=83, buf=0x7f082fffebde, nbytes=10) at
../sysdeps/unix/sysv/linux/read.c:24
#2  0x7f08a0955955 in pa_read () at
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#3  0x7f08a0c1e416 in pa_mainloop_prepare () at
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x7f08a0c1eeb4 in pa_mainloop_iterate () at
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x7f08a0c1ef70 in pa_mainloop_run () at
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x7f08a0c2d11d in  () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#7  0x7f08a098457c in  () at
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#8  0x7f08d37e7609 in start_thread (arg=) at
pthread_create.c:477
#9  0x7f08d3fd0103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 27 (Thread 0x7f084f7fe700 (LWP 98038)):
#0  futex_wait_cancelable (private=, expected=0,
futex_word=0x562cc84a5dc0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562cc84a5d70,
cond=0x562cc84a5d98) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562cc84a5d98, mutex=0x562cc84a5d70) at
pthread_cond_wait.c:638
#3  0x7f08d4347b0f in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7f08d4347c01 in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x7f08d6026109 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x7f08d60263ad in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x7f08d43419d2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x7f08d37e7609 in start_thread (arg=) at
pthread_create.c:477
#9  0x7f08d3fd0103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Threa

[systemsettings] [Bug 390535] New: Night color in Wayland causes seg fault if Operation Mode = Location | Time

2018-02-15 Thread Daniel Mulholland
https://bugs.kde.org/show_bug.cgi?id=390535

Bug ID: 390535
   Summary: Night color in Wayland causes seg fault if Operation
Mode = Location | Time
   Product: systemsettings
   Version: 5.12.1
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: plasma-b...@kde.org
  Reporter: dan.mulholl...@gmail.com
  Target Milestone: ---

Application: systemsettings5 (5.12.1)

Qt Version: 5.9.1
Frameworks Version: 5.43.0
Operating System: Linux 4.15.3-041503-generic x86_64
Distribution: Ubuntu 17.10

-- Information about the crash:
I installed Plasma 5.12 from the KDE backports for Kubuntu and run a session in
Wayland.

I test Night Colour under System Settings > Display and Monitor > Night Colour.
All is well until I change Operation Mode to Location in which case it always
immediately crashes.

== System Details (I guess these are automatically added anyways)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 17.10
Release:17.10
Codename:   artful

$ uname -a
Linux mulhollandd-XPS-13-9360 4.15.3-041503-generic #201802120730 SMP Mon Feb
12 07:31:14 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ plasmashell --version
plasmashell 5.12.1
$ kf5-config --version
Qt: 5.9.1
KDE Frameworks: 5.43.0
kf5-config: 1.0

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff75b184140 (LWP 23284))]

Thread 6 (Thread 0x7ff71f155700 (LWP 23297)):
[KCrash Handler]
#6  0x7ff7495ebb30 in wl_proxy_create_wrapper () from
/usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#7  0x7ff73afdd9f1 in get_wl_surface_proxy (window=0x7ff718091f40,
window=0x7ff718091f40) at ../../../src/egl/drivers/dri2/platform_wayland.c:125
#8  dri2_wl_create_window_surface (drv=, disp=0x5646d05835b0,
conf=0x5646d05739c0, native_window=0x7ff718091f40, attrib_list=0x0) at
../../../src/egl/drivers/dri2/platform_wayland.c:199
#9  0x7ff73afcad17 in _eglCreateWindowSurfaceCommon (disp=0x5646d05835b0,
config=config@entry=0x5646d05739c0,
native_window=native_window@entry=0x7ff718091f40,
attrib_list=attrib_list@entry=0x0) at ../../../src/egl/main/eglapi.c:907
#10 0x7ff73afcb104 in eglCreateWindowSurface (dpy=,
config=config@entry=0x5646d05739c0, window=window@entry=140699236900672,
attrib_list=attrib_list@entry=0x0) at ../../../src/egl/main/eglapi.c:923
#11 0x7ff73b203f4d in QtWaylandClient::QWaylandEglWindow::updateSurface
(this=this@entry=0x5646d7135320, create=create@entry=true) at
../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:141
#12 0x7ff73b2024c5 in QtWaylandClient::QWaylandGLContext::makeCurrent
(this=this@entry=0x5646d7114700, surface=) at
../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:410
#13 0x7ff757d6e286 in QOpenGLContext::makeCurrent (this=0x5646d71358d0,
surface=surface@entry=0x5646d70f9e40) at kernel/qopenglcontext.cpp:984
#14 0x7ff75532d004 in QSGRenderThread::invalidateOpenGL
(this=this@entry=0x5646d7136260, window=0x5646d70f9e30, inDestructor=, fallback=0x0) at scenegraph/qsgthreadedrenderloop.cpp:487
#15 0x7ff7553348eb in QSGRenderThread::event (this=0x5646d7136260,
e=0x5646d59f3190) at scenegraph/qsgthreadedrenderloop.cpp:402
#16 0x7ff755333b77 in QSGRenderThread::processEventsAndWaitForMore
(this=this@entry=0x5646d7136260) at scenegraph/qsgthreadedrenderloop.cpp:702
#17 0x7ff755333f4a in QSGRenderThread::run (this=0x5646d7136260) at
scenegraph/qsgthreadedrenderloop.cpp:730
#18 0x7ff75730429d in QThreadPrivate::start (arg=0x5646d7136260) at
thread/qthread_unix.cpp:368
#19 0x7ff752e167fc in start_thread (arg=0x7ff71f155700) at
pthread_create.c:465
#20 0x7ff756c06b5f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7ff7268a2700 (LWP 23289)):
#0  0x7ff756bf606d in __GI___libc_read (fd=19,
buf=buf@entry=0x7ff7268a1a70, nbytes=nbytes@entry=16) at
../sysdeps/unix/sysv/linux/read.c:26
#1  0x7ff750b71280 in read (__nbytes=16, __buf=0x7ff7268a1a70,
__fd=) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7ff728003590) at
../../../../glib/gwakeup.c:210
#3  0x7ff750b2cc4b in g_main_context_check
(context=context@entry=0x7ff72be0, max_priority=2147483647,
fds=fds@entry=0x7ff720002de0, n_fds=n_fds@entry=1) at
../../../../glib/gmain.c:3664
#4  0x7ff750b2d110 in g_main_context_iterate
(context=context@entry=0x7ff72be0, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at
../../../../glib/gmain.c:3883
#5  0x7ff750b2d27c in g_main_context_iteration (context=0x7ff72be0,
may_block=may_block@entry=1) at ../../