[plasmashell] [Bug 364698] New: Psalma crashed after closing dolphin window

2016-06-24 Thread Cor Blom via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364698

Bug ID: 364698
   Summary: Psalma crashed after closing dolphin window
   Product: plasmashell
   Version: 5.5.5
  Platform: openSUSE RPMs
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: k...@davidedmundson.co.uk
  Reporter: corne...@solcon.nl
CC: bhus...@gmail.com, plasma-b...@kde.org

Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.1.26-21-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

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

I closed a dolphin window (maybe last window?). It is happening more often,
although I don't if it is always.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7d7aca4780 (LWP 1565))]

Thread 18 (Thread 0x7f7d6561e700 (LWP 1567)):
#0  0x7f7d741a3bbd in poll () at /lib64/libc.so.6
#1  0x7f7d790f7422 in  () at /usr/lib64/libxcb.so.1
#2  0x7f7d790f900f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x7f7d67da13c9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x7f7d7489e32f in  () at /usr/lib64/libQt5Core.so.5
#5  0x7f7d739ad0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x7f7d741abfed in clone () at /lib64/libc.so.6

Thread 17 (Thread 0x7f7d5e424700 (LWP 1610)):
#0  0x7f7d741b85bf in __libc_enable_asynccancel () at /lib64/libc.so.6
#1  0x7f7d741a3bb2 in poll () at /lib64/libc.so.6
#2  0x7f7d70880e64 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x7f7d70880f7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#4  0x7f7d74ad0d8b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib64/libQt5Core.so.5
#5  0x7f7d74a77d53 in
QEventLoop::exec(QFlags) () at
/usr/lib64/libQt5Core.so.5
#6  0x7f7d7489961a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x7f7d77bade18 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x7f7d7489e32f in  () at /usr/lib64/libQt5Core.so.5
#9  0x7f7d739ad0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x7f7d741abfed in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7f7d4fb5c700 (LWP 1624)):
#0  0x7f7d74ad0af1 in  () at /usr/lib64/libQt5Core.so.5
#1  0x7f7d708804ad in g_main_context_prepare () at
/usr/lib64/libglib-2.0.so.0
#2  0x7f7d70880d80 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x7f7d70880f7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#4  0x7f7d74ad0d8b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib64/libQt5Core.so.5
#5  0x7f7d74a77d53 in
QEventLoop::exec(QFlags) () at
/usr/lib64/libQt5Core.so.5
#6  0x7f7d7489961a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x7f7d77bade18 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x7f7d7489e32f in  () at /usr/lib64/libQt5Core.so.5
#9  0x7f7d739ad0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x7f7d741abfed in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7f7d4e26a700 (LWP 1625)):
#0  0x7f7d741a3bbd in poll () at /lib64/libc.so.6
#1  0x7f7d70880e64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x7f7d70880f7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x7f7d74ad0d8b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib64/libQt5Core.so.5
#4  0x7f7d74a77d53 in
QEventLoop::exec(QFlags) () at
/usr/lib64/libQt5Core.so.5
#5  0x7f7d7489961a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x7f7d77bade18 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x7f7d7489e32f in  () at /usr/lib64/libQt5Core.so.5
#8  0x7f7d739ad0a4 in start_thread () at /lib64/libpthread.so.0
#9  0x7f7d741abfed in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f7d4c8f5700 (LWP 1633)):
#0  0x7f7d739b103f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7f7d7a37c86b in  () at /usr/lib64/libQt5Script.so.5
#2  0x7f7d7a37c899 in  () at /usr/lib64/libQt5Script.so.5
#3  0x7f7d739ad0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x7f7d741abfed in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f7d45235700 (LWP 1670)):
#0  0x7ffdbffdcb26 in clock_gettime ()
#1  0x7f7d741b8c3d in clock_gettime () at /lib64/libc.so.6
#2  0x7f7d7494f7d6 in  () at /usr/lib64/libQt5Core.so.5
#3  0x7f7d74acf3b9 in QTimerInfoList::updateCurrentTime() () at
/usr/lib64/libQt5Core.so.5
#4  0x7f7d74acf945 in QTimerInfoList::timerWait(timespec&) () at
/usr/lib64/libQt5Core.so.5
#5  0x7f7d74ad0b5e in  () at /usr/lib64/libQt5Core.so.5
#6  0x7f7d708804ad in g_main_context_prepare () at
/usr/lib64/libglib-2.0.so.0
#7  0x7f7d70880d80 in  () at /usr/lib64/libglib-2.0.so.0
#8  

[systemsettings] [Bug 336089] Font preview - rendering problem

2016-01-09 Thread Cor Blom via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=336089

--- Comment #45 from Cor Blom  ---
(In reply to Thomas Lübking from comment #43)
> Resp. this one (the ARGB32 translucency handling is uncritical, it's applied
> to the preconverted image. This should be the single point of failure)
> 
> diff --git a/kcms/kfontinst/lib/FcEngine.cpp
> b/kcms/kfontinst/lib/FcEngine.cpp
> index 19b7206..012a9d5 100644
> --- a/kcms/kfontinst/lib/FcEngine.cpp
> +++ b/kcms/kfontinst/lib/FcEngine.cpp
> @@ -537,7 +537,14 @@ QImage CFcEngine::Xft::toImage(int w, int h) const
>  if (!xImage) {
>  return QImage();
>  }
> -return QImage(xImage->data, xImage->width, xImage->height,
> xImage->stride, QImage::Format_ARGB32_Premultiplied, , xImage);
> +QImage::Format format = QImage::Format_RGB32;
> +switch (DefaultDepth(QX11Info::display(), 0)) {
> +case 32: format = QImage::Format_ARGB32_Premultiplied; break;
> +case 16: format = QImage::Format_RGB16; break;
> +case 8: format = QImage::Format_Grayscale8; break;
> +default: break;
> +}
> +return QImage(xImage->data, xImage->width, xImage->height,
> xImage->stride, format, , xImage);
>  }
>  
>  inline int point2Pixel(int point)

This patch solved the bug on openSUSE Leap 42.1 and nouveau (a NVD9 card)

-- 
You are receiving this mail because:
You are watching all bug changes.