Bug 340185

Summary: Crash when changing time-zone.
Product: [Applications] systemsettings Reporter: Martin Rotter <rotter.martinos>
Component: kcm_clockAssignee: Paul Campbell <paul>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, rotter.martinos
Priority: NOR    
Version First Reported In: 5.1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Stack trace of crash in systemsettings5.
Error dialog displayed before crash.
journalctl info regarding polkit error "4" - see attachment 89233

Description Martin Rotter 2014-10-21 05:09:55 UTC
Systemsettings5 behaves weird when trying to change active timezone. The bug seems to be related more to polkit componenet, but I am not sure. It seems that this kind of bug affects more components of my KDE 5 install.

I will provide screenshots later today.

Reproducible: Always

Steps to Reproduce:
1. Open systemsettings5.
2. Change timezone.
3. Hit "Apply".

Actual Results:  
I select new timezone, hit "Apply" button. Then one-two seconds, nothing happens, then new "crash/debug" window appears, saying that "polkit-1" has crashed.

Expected Results:  
When I change "Apply" button with newly selected timezone, it is expected that "polkit" dialog asking for password comes out, I type in my root password, confirm and timezone gets changed.

Archlinux, all KDE-related packages up to date. I can provide a list. I will rebuild packages with "Debug" flag to provide meaningful traces.
Comment 1 Martin Rotter 2014-10-21 14:58:06 UTC
Created attachment 89231 [details]
Stack trace of crash in systemsettings5.

It crashes in destructor of NotifyByAudio, line 46.
Comment 2 Martin Rotter 2014-10-21 15:02:03 UTC
Created attachment 89233 [details]
Error dialog displayed before crash.
Comment 3 Martin Rotter 2014-10-21 15:03:26 UTC
See both attachments:

https://bugsfiles.kde.org/attachment.cgi?id=89231
https://bugs.kde.org/attachment.cgi?id=89233&action=edit

How to reproduce:
1. Launch systemsettings, change timezone, hit "Apply".
2. Picture "89233" appears.
3. Close systemsettings.
4. Crash.
Comment 4 Martin Rotter 2014-10-21 15:23:40 UTC
Created attachment 89238 [details]
journalctl info regarding polkit error "4" - see attachment 89233 [details]
Comment 5 Martin Rotter 2014-10-24 14:56:34 UTC
This bug does not occur in VirtualBox - clean KDE 5 installation.
Comment 6 David Edmundson 2015-04-19 16:04:39 UTC
Crash is in notification audio.

*** This bug has been marked as a duplicate of bug 344557 ***