Bug 372239 - Kcmshell5 segfaults when changing notification configurations and actions.
Summary: Kcmshell5 segfaults when changing notification configurations and actions.
Status: RESOLVED FIXED
Alias: None
Product: kde-cli-tools
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-09 05:27 UTC by Horacio Sanson
Modified: 2017-02-03 04:29 UTC (History)
0 users

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


Attachments
kcrash report output. (2.03 KB, text/plain)
2016-11-09 05:27 UTC, Horacio Sanson
Details
Screen capture showing the crash (3.30 MB, image/gif)
2016-11-13 01:32 UTC, Horacio Sanson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horacio Sanson 2016-11-09 05:27:59 UTC
Created attachment 102138 [details]
kcrash report output.

Steps to reproduce:

  - Right click in the Notifications icon in the systray.
  - Select "Configure Event Notifications and Actions..."
  - In the notifications dialog press Ok button, even without changing anything.
  - A kcrash alert appears indicating that kcmshell5 segfaulted.
  - Happens everytime.

Notes:

  - The kcrash general tab says that I cannot report this issue (report bug button is grayed out) because kcmshell5 does not provide a bug reporting address.

  - When accessing the notifications settings from the kde setting application the crash does not occur because there is no Ok button there, only Apply button.
Comment 1 Christoph Feck 2016-11-11 17:58:52 UTC
Which Qt version is this? Please try with Qt 5.6.2

I get no crash following the steps from comment #0.
Comment 2 Horacio Sanson 2016-11-13 01:31:30 UTC
I am using the packages that come by default with KDE Neon so they are supposed to be latest versions:

apt-cache show libqt5core5a                                                                                                        
Package: libqt5core5a     
Priority: optional                      
Section: libs                                 
Installed-Size: 5033                                                    
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>                    
Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Architecture: amd64                     
Source: qtbase-opensource-src                 
Version: 5.7.0+dfsg-1+16.04+build5                                      
Provides: qtbase-abi-5-7-0   
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libglib2.0-0 (>= 2.22.0), libicu55 (>= 55.1-1~), libpcre16-3 (>= 2:8.35-4), libstdc++6 (>=
 5), zlib1g (>= 1:1.1.4)                                                                                                                Recommends: qttranslations5-l10n                                                                                                        Suggests: libthai0                                                                                                                      Breaks: libqt5scintilla2-12v5 (<< 2.9.2+dfsg-2~)         
Filename: pool/main/q/qtbase-opensource-src/libqt5core5a_5.7.0+dfsg-1+16.04+build5_amd64.deb
Size: 1804294                                                                                                                           
MD5sum: afcc20867080c46aaad638d30ad9faca                                                                                                
SHA1: 021b00dda0d26d87dac8fb49484c05b63d91f42d
SHA256: c7c9c1342734b0cfed093f3ec920d1961e338b1d9643e2f57f36025eff109762
SHA512: de6c73a2f4e46fd1241fb55c664531af4722f10344eae020d5987ac271145c0e732cfd453f9d4f4774a49fd129200d2252b8e2206647ca545fb6b68fae361d79
Description: Qt 5 core module
Description-md5: 75c9109eafc0c1da6d6b6ca7b292f133
Homepage: http://qt-project.org/
Multi-Arch: same
Comment 3 Horacio Sanson 2016-11-13 01:32:43 UTC
Created attachment 102198 [details]
Screen capture showing the crash
Comment 4 Horacio Sanson 2016-12-27 23:53:22 UTC
There must be something wrong with KDE or QT since I am seeing this issue more often now on other apps after I updated my distro.

For example running kdialog with the command below causes the exact same crash:

  kdialog -title="Save File" --getsavefilename /tmp


Running screenfetch in the terminal also causes the same crash and closing my laptop lid crashes plasma with the same exact message related to QObject::disconnect() method.

I have last updated Kde Neon packages installed and have tried restarting, removing my .kde folder, etc.
Comment 5 Christoph Feck 2016-12-30 17:49:52 UTC
Does your system already have Qt 5.7.1? Note that the fixes in Qt 5.6.2 are not in the 5.7.0 version, but only in 5.7.1.
Comment 6 Horacio Sanson 2016-12-31 01:26:53 UTC
Looks like Kde Neon still uses 5.7.0, what would be the easiest way to upgrade to 5.7.1?
Comment 7 Christoph Feck 2016-12-31 03:32:08 UTC
Oh, I had incorrectly assumed neon was updated already (the Qt release was two weeks ago). The easiest is to wait for the update.

If kdialog causes the same crash, it probably makes sense to catch a backtrace by running it inside 'gdb'. With a backtrace, it is easier to verify where the bug is. For more information, please see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 8 Horacio Sanson 2017-02-03 04:29:24 UTC
Updating QT to 5.7.1 and the latest Plasma 5.9 fixed the issue with the notifications dialog so I am closing this.

But running kdialog still crashes with the same problem so I will open a different issue.