Bug 237234

Summary: Plasma crashes when changing setting of adjustable clock
Product: [Unmaintained] plasma4 Reporter: Olaf Lenz <olaf>
Component: widget-clockAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: 4plague, asraniel, nelapsi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Olaf Lenz 2010-05-11 12:29:55 UTC
Application: plasmoidviewer (1.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Using Kubuntu 10.04 Lucid on AMD64, the adjustable clock crashes plasma whenever the "Ok" button is used in the Settings dialog. To reproduce this, run
  > plasmoidviewer adjustableclock
Right-click the window, choose "Adjustable Clock Settings" and press "Ok".

The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma Widget Viewer (plasmoidviewer), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f152601f780 (LWP 14840))]

Thread 3 (Thread 0x7f1508d03710 (LWP 14841)):
#0  0x00007f1521c143ff in __pthread_mutex_lock (mutex=0x2156298) at pthread_mutex_lock.c:62
#1  0x00007f151e0cf466 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f151e0cf8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f1523f0e566 in QEventDispatcherGlib::processEvents (this=0x2317890, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f1523ee3992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f1523ee3d6c in QEventLoop::exec (this=0x7f1508d02d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f1523dedd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f1523ec4178 in QInotifyFileSystemWatcherEngine::run (this=0x2316d40) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1523df0775 in QThreadPrivate::start (arg=0x2316d40) at thread/qthread_unix.cpp:248
#9  0x00007f1521c119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f15237c769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1507f2a710 (LWP 14842)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f152028aca6 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f152028ace9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f1521c119ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f15237c769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f152601f780 (LWP 14840)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x234f7f8, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#6  QString::operator= (this=0x234f7f8, other=...) at tools/qstring.cpp:1280
#7  0x00007f1507f42bd1 in ClockApplet::Private::setPrettyTimezone (this=0x236dcd0, tz=<value optimized out>) at ../../../libs/plasmaclock/clockapplet.cpp:173
#8  ClockApplet::setCurrentTimezone (this=0x236dcd0, tz=<value optimized out>) at ../../../libs/plasmaclock/clockapplet.cpp:621
#9  0x00007f1507f434a2 in ClockApplet::configAccepted (this=0x236dcd0) at ../../../libs/plasmaclock/clockapplet.cpp:423
#10 0x00007f1508169cd4 in ?? () from /usr/lib/kde4/plasma_applet_adjustableclock.so
#11 0x00007f150816ab53 in ?? () from /usr/lib/kde4/plasma_applet_adjustableclock.so
#12 0x00007f1523ef7e3f in QMetaObject::activate (sender=0x24ac7e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#13 0x00007f15259964b8 in KDialog::slotButtonClicked (this=0x24ac7e0, button=4) at ../../kdeui/dialogs/kdialog.cpp:862
#14 0x00007f1525998329 in KDialog::qt_metacall (this=0x24ac7e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdffe6ca0) at ./kdialog.moc:190
#15 0x00007f1525a5f7c0 in KPageDialog::qt_metacall (this=0x234f7f8, _c=40640352, _id=0, _a=0x0) at ./kpagedialog.moc:70
#16 0x00007f1525985080 in KConfigDialog::qt_metacall (this=0x234f7f8, _c=40640352, _id=0, _a=0x0) at ./kconfigdialog.moc:84
#17 0x00007f1523ef7e3f in QMetaObject::activate (sender=0x2618148, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#18 0x00007f1523efd15e in QSignalMapper::mapped (this=0x234f7f8, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#19 0x00007f1523efe372 in QSignalMapper::map (this=0x2618148, sender=0x2620740) at kernel/qsignalmapper.cpp:266
#20 0x00007f1523efe5f0 in QSignalMapper::qt_metacall (this=0x2618148, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdffe6e30) at .moc/release-shared/moc_qsignalmapper.cpp:87
#21 0x00007f1523ef7e3f in QMetaObject::activate (sender=0x2620740, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#22 0x00007f1524ef45f2 in QAbstractButton::clicked (this=0x234f7f8, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#23 0x00007f1524c0e86b in QAbstractButtonPrivate::emitClicked (this=0x2620ac0) at widgets/qabstractbutton.cpp:546
#24 0x00007f1524c0f70b in QAbstractButtonPrivate::click (this=0x2620ac0) at widgets/qabstractbutton.cpp:539
#25 0x00007f1524c0f97c in QAbstractButton::mouseReleaseEvent (this=0x2620740, e=0x7fffdffe7780) at widgets/qabstractbutton.cpp:1121
#26 0x00007f15248af582 in QWidget::event (this=0x2620740, event=0x7fffdffe7780) at kernel/qwidget.cpp:7998
#27 0x00007f152485922c in QApplicationPrivate::notify_helper (this=0x20e9670, receiver=0x2620740, e=0x7fffdffe7780) at kernel/qapplication.cpp:4300
#28 0x00007f152485fecb in QApplication::notify (this=0x7fffdffe8620, receiver=0x2620740, e=0x7fffdffe7780) at kernel/qapplication.cpp:3865
#29 0x00007f1525a26526 in KApplication::notify (this=0x7fffdffe8620, receiver=0x2620740, event=0x7fffdffe7780) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x00007f1523ee506c in QCoreApplication::notifyInternal (this=0x7fffdffe8620, receiver=0x2620740, event=0x7fffdffe7780) at kernel/qcoreapplication.cpp:704
#31 0x00007f152485f0ae in QCoreApplication::sendEvent (receiver=0x2620740, event=0x7fffdffe7780, alienWidget=0x2620740, nativeWidget=0x24ac7e0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QApplicationPrivate::sendMouseEvent (receiver=0x2620740, event=0x7fffdffe7780, alienWidget=0x2620740, nativeWidget=0x24ac7e0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#33 0x00007f15248def65 in QETWidget::translateMouseEvent (this=0x24ac7e0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#34 0x00007f15248dd8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffdffe80a0) at kernel/qapplication_x11.cpp:3501
#35 0x00007f1524909882 in x11EventSourceDispatch (s=0x20ed270, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f151e0cb8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x00007f151e0cf748 in ?? () from /lib/libglib-2.0.so.0
#38 0x00007f151e0cf8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x00007f1523f0e513 in QEventDispatcherGlib::processEvents (this=0x20ce440, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#40 0x00007f152490946e in QGuiEventDispatcherGlib::processEvents (this=0x234f7f8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f1523ee3992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#42 0x00007f1523ee3d6c in QEventLoop::exec (this=0x7fffdffe83d0, flags=) at kernel/qeventloop.cpp:201
#43 0x00007f1523ee7aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#44 0x000000000040a07b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../../../plasma/generic/shells/plasmoidviewer/main.cpp:231

Possible duplicates by query: bug 229579.

Reported using DrKonqi
Comment 1 Olaf Lenz 2010-05-11 13:24:32 UTC
The bug has also been reported on Launchpad:
https://bugs.launchpad.net/ubuntu/+source/plasma-widget-adjustableclock/+bug/546781

According to the developer, the bug might be a problem of packaging:
http://kde-look.org/content/show.php/Adjustable%20Clock?content=92825
Comment 2 Marco Martin 2010-05-12 21:10:56 UTC
SVN commit 1125949 by mart:

assure it was tokenized correctly
BUG:237234


 M  +3 -1      clockapplet.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1125949
Comment 3 Jaromir Smrcek 2010-07-07 21:36:24 UTC
If I revert the changes by "SVN commit 1125949", Adjustable Clock wors again.
Comment 4 Dario Andres 2010-12-31 12:25:25 UTC
*** Bug 261691 has been marked as a duplicate of this bug. ***