Summary: | plasma (clock-widget) crash on locale/time-format change | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Rex Dieter <rdieter> |
Component: | widget-clock | Assignee: | Lukáš Tinkl <lukas> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | 4t34jwy7qk, administrador, annma, basu123ra, beamesleach, bugzilla, cfeck, dr.dabzse, gbsikh, geophil3, helio.loureiro, ismo.puustinen, jreznik, jvanzeeland, kde, kde, kredba, kriemskrams2, loic.grobol, lukas, nichope, ri.chiriac, saulmartinanotero18, simonandric5, smcrossman, soldater-der-erdbefohlenen, Sroka.Steven, theunfor, vspb, xavier.besnard, ytsedragyn |
Priority: | HI | ||
Version: | 4.8.90 (beta2) | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=302106 | ||
Latest Commit: | http://commits.kde.org/kde-workspace/88a52f1387dfed731c5eae5a95281f33d7a07d72 | Version Fixed In: | 4.9 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi tentative patch New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Rex Dieter
2012-05-02 13:49:54 UTC
triaging to plasma/widget-clock , though this code seems to have not been touched in awhile, kde-workspace/plasma/generic/applets/digital-clock/clock.cpp: //Create the localized date string if needed if (m_dateStyle) { // JPL This needs a complete rewrite for l10n issues KLocale tmpLocale(*KGlobal::locale()); tmpLocale.setCalendar(calendar()->calendarType()); boom, so it may be elsewhere. Created attachment 70808 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1
- What I was doing when the application crashed:
Changed Date & Time format in Country/Region and Language KCM.
-- Backtrace (Reduced):
#7 0x00007f7a2aec09cc in Plasma::CalendarTable::setDate (this=0x2c3d470, newDate=...) at /usr/src/debug/kde-workspace-4.8.3/libs/plasmaclock/calendartable.cpp:492
#8 0x00007f7a2aebd6b1 in Plasma::Calendar::setDate (this=0x2c37370, toDate=...) at /usr/src/debug/kde-workspace-4.8.3/libs/plasmaclock/calendar.cpp:279
#9 0x00007f7a2aeb6bd3 in ClockApplet::updateClockApplet (this=0x2bdaea0, data=...) at /usr/src/debug/kde-workspace-4.8.3/libs/plasmaclock/clockapplet.cpp:342
#10 0x00007f7a2b0e19fa in Clock::dataUpdated (this=0x2bdaea0, source=..., data=...) at /usr/src/debug/kde-workspace-4.8.3/plasma/generic/applets/digital-clock/clock.cpp:257
#11 0x00007f7a2b0e1dbd in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.8.3/x86_64-redhat-linux-gnu/plasma/generic/applets/digital-clock/clock.moc:63
Just a note - the Data & Time combobox has a duplicate entries after selecting new one. I talked to Lukas, he asked me to add here as comment (so no new bug report). Working on it Git commit c0bd761c5d1663995f028d05ac317e492b90ea48 by Lukas Tinkl. Committed on 02/05/2012 at 18:21. Pushed by lukas into branch 'KDE/4.8'. re-read the calendar on locale changes, fixes crash report in #299237 and a dozen of dupes M +13 -0 libs/plasmaclock/calendartable.cpp M +1 -0 libs/plasmaclock/calendartable.h http://commits.kde.org/kde-workspace/c0bd761c5d1663995f028d05ac317e492b90ea48 Git commit 88a52f1387dfed731c5eae5a95281f33d7a07d72 by Lukas Tinkl. Committed on 02/05/2012 at 18:21. Pushed by lukas into branch 'master'. re-read the calendar on locale changes, fixes crash report in #299237 and a dozen of dupes M +13 -0 libs/plasmaclock/calendartable.cpp M +1 -0 libs/plasmaclock/calendartable.h http://commits.kde.org/kde-workspace/88a52f1387dfed731c5eae5a95281f33d7a07d72 *** Bug 300888 has been marked as a duplicate of this bug. *** *** Bug 300910 has been marked as a duplicate of this bug. *** *** Bug 300970 has been marked as a duplicate of this bug. *** *** Bug 301555 has been marked as a duplicate of this bug. *** Reopening, this is not fixed Lucas. See comment #10 to reproduce My backtrace: Thread 1 (Thread 0xb544f710 (LWP 2476)): [KCrash Handler] #6 0x00000026 in ?? () #7 0xb0b1c9f3 in Plasma::CalendarTable::setDate (this=0x85916a8, newDate=...) at /usr/local/kde-master-src/kde-workspace/libs/plasmaclock/calendartable.cpp:495 #8 0xb0b19c84 in Plasma::Calendar::setDate (this=0x838f538, toDate=...) at /usr/local/kde-master-src/kde-workspace/libs/plasmaclock/calendar.cpp:279 #9 0xb0b1039b in ClockApplet::updateClockApplet (this=0x82d9e50, data=...) at /usr/local/kde-master-src/kde-workspace/libs/plasmaclock/clockapplet.cpp:342 #10 0xb08f591d in Clock::dataUpdated (this=0x82d9e50, source=..., data=...) at /usr/local/kde-master-src/kde-workspace/plasma/generic/applets/digital-clock/clock.cpp:257 #11 0xb08f8b5f in Clock::qt_static_metacall (_o=0x82d9e50, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf849d34) at /usr/local/kde-master-src/kde-workspace/build/plasma/generic/applets/digital-clock/clock.moc:64 #12 0xb6bd4198 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/local/master/qt/lib/libQtCore.so.4 #13 0xb4a5399b in Plasma::SignalRelay::dataUpdated (this=0x863b190, _t1=..., _t2=...) at /usr/local/kde-master-src/kdelibs/build/plasma/datacontainer_p.moc:99 #14 0xb4a5377c in Plasma::SignalRelay::timerEvent (this=0x863b190, event=0xbf84a24c) at /usr/local/kde-master-src/kdelibs/plasma/private/datacontainer_p.cpp:157 #15 0xb6bd3514 in QObject::event(QEvent*) () from /usr/local/master/qt/lib/libQtCore.so.4 #16 0xb6088e04 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/master/qt/lib/libQtGui.so.4 #17 0xb609184e in QApplication::notify(QObject*, QEvent*) () from /usr/local/master/qt/lib/libQtGui.so.4 #18 0xb74238e6 in KApplication::notify (this=0x80f1708, receiver=0x863b190, event=0xbf84a24c) at /usr/local/kde-master-src/kdelibs/kdeui/kernel/kapplication.cpp:311 #19 0xb6bbdb6b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/master/qt/lib/libQtCore.so.4 #20 0xb6bf1d26 in ?? () from /usr/local/master/qt/lib/libQtCore.so.4 #21 0xb6beea8a in ?? () from /usr/local/master/qt/lib/libQtCore.so.4 #22 0xb5648e2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #23 0xb5649560 in ?? () from /usr/lib/libglib-2.0.so.0 #24 0xb56497fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #25 0xb6bef22c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/master/qt/lib/libQtCore.so.4 #26 0xb613c895 in ?? () from /usr/local/master/qt/lib/libQtGui.so.4 #27 0xb6bbca89 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/master/qt/lib/libQtCore.so.4 #28 0xb6bbcd3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/master/qt/lib/libQtCore.so.4 #29 0xb6bc197f in QCoreApplication::exec() () from /usr/local/master/qt/lib/libQtCore.so.4 #30 0xb6086c17 in QApplication::exec() () from /usr/local/master/qt/lib/libQtGui.so.4 #31 0xb1fa6c7e in kdemain (argc=1, argv=0x80a2418) at /usr/local/kde-master-src/kde-workspace/plasma/desktop/shell/main.cpp:120 #32 0x0804de1e in launch (argc=1, _name=0x80a375c "/usr/local/master/bin/plasma-desktop", args=0x80a3781 "", cwd=0x0, envc=0, envs=0x80a3785 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8053649 "0") at /usr/local/kde-master-src/kdelibs/kinit/kinit.cpp:734 #33 0x0804ee83 in handle_launcher_request (sock=8, who=0x80538e4 "launcher") at /usr/local/kde-master-src/kdelibs/kinit/kinit.cpp:1226 #34 0x0804f5ff in handle_requests (waitForPid=0) at /usr/local/kde-master-src/kdelibs/kinit/kinit.cpp:1419 #35 0x08050ef4 in main (argc=4, argv=0xbf84acd4, envp=0xbf84ace8) at /usr/local/kde-master-src/kdelibs/kinit/kinit.cpp:1907 *** Bug 301288 has been marked as a duplicate of this bug. *** Created attachment 71694 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2
- What I was doing when the application crashed:
Switched locale to Czech without log off.
-- Backtrace (Reduced):
#7 0x00007fa5af4fb72c in Plasma::CalendarTable::setDate (this=0xf33280, newDate=...) at /var/tmp/portage/kde-base/libplasmaclock-4.8.3/work/libplasmaclock-4.8.3/libs/plasmaclock/calendartable.cpp:492
#8 0x00007fa5af4f84e1 in Plasma::Calendar::setDate (this=0xa51760, toDate=...) at /var/tmp/portage/kde-base/libplasmaclock-4.8.3/work/libplasmaclock-4.8.3/libs/plasmaclock/calendar.cpp:279
#9 0x00007fa5af4f1a03 in ClockApplet::updateClockApplet (this=0xee93c0, data=...) at /var/tmp/portage/kde-base/libplasmaclock-4.8.3/work/libplasmaclock-4.8.3/libs/plasmaclock/clockapplet.cpp:342
#10 0x00007fa5af7959ea in Clock::dataUpdated (this=0xee93c0, source=..., data=...) at /var/tmp/portage/kde-base/plasma-workspace-4.8.3/work/plasma-workspace-4.8.3/plasma/generic/applets/digital-clock/clock.cpp:257
#11 0x00007fa5af795dad in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/plasma-workspace-4.8.3/work/plasma-workspace-4.8.3_build/plasma/generic/applets/digital-clock/clock.moc:64
*** Bug 301596 has been marked as a duplicate of this bug. *** *** Bug 301623 has been marked as a duplicate of this bug. *** Looks like a different crash to me then... I'll look into it *** Bug 301720 has been marked as a duplicate of this bug. *** *** Bug 301761 has been marked as a duplicate of this bug. *** *** Bug 301882 has been marked as a duplicate of this bug. *** *** Bug 301986 has been marked as a duplicate of this bug. *** I can no longer reproduce with 4.8.4, all the duplicated backtraces indicate 4.8.3 so far *** Bug 302114 has been marked as a duplicate of this bug. *** Lukas I reproduce exactly in 4.9 beta2 by following the steps indicated by Rex #6 0x00000001 in ?? () #7 0xb0a02d1f in Plasma::CalendarTable::setDate (this=0x85b3820, newDate=...) at /usr/local/kde-master-src/kde-workspace/libs/plasmaclock/calendartable.cpp:495 #8 0xb09ffe30 in Plasma::Calendar::setDate (this=0x854a0d0, toDate=...) at /usr/local/kde-master-src/kde-workspace/libs/plasmaclock/calendar.cpp:281 #9 0xb09f653b in ClockApplet::updateClockApplet (this=0x847eba8, data=...) at /usr/local/kde-master-src/kde-workspace/libs/plasmaclock/clockapplet.cpp:342 #10 0xb079b91d in Clock::dataUpdated (this=0x847eba8, source=..., data=...) at /usr/local/kde-master-src/kde-workspace/plasma/generic/applets/digital-clock/clock.cpp:257 #11 0xb079eb5f in Clock::qt_static_metacall (_o=0x847eba8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff0f9b4) at /usr/local/kde-master-src/kde-workspace/build/plasma/generic/applets/digital-clock/clock.moc:64 #12 0xb6c75198 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/local/master/qt/lib/libQtCore.so.4 #13 0xb4af499b in Plasma::SignalRelay::dataUpdated (this=0x85eff68, _t1=..., _t2=...) at /usr/local/kde-master-src/kdelibs/build/plasma/datacontainer_p.moc:99 #14 0xb4af477c in Plasma::SignalRelay::timerEvent (this=0x85eff68, event=0xbff0fecc) at /usr/local/kde-master-src/kdelibs/plasma/private/datacontainer_p.cpp:157 #15 0xb6c74514 in QObject::event(QEvent*) () from /usr/local/master/qt/lib/libQtCore.so.4 #16 0xb6129e04 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/master/qt/lib/libQtGui.so.4 #17 0xb613284e in QApplication::notify(QObject*, QEvent*) () from /usr/local/master/qt/lib/libQtGui.so.4 #18 0xb74c48e6 in KApplication::notify (this=0x80f1af8, receiver=0x85eff68, event=0xbff0fecc) at /usr/local/kde-master-src/kdelibs/kdeui/kernel/kapplication.cpp:311 Created attachment 71938 [details]
tentative patch
Could you please try the attached patch if it fixes the problem for you?
Applied the patch still the same crash #7 0xb071fd2e in Plasma::CalendarTable::setDate (this=0x85e6600, newDate=...) at /usr/local/kde-master-src/kde-workspace/libs/plasmaclock/calendartable.cpp:495 Created attachment 71953 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1
- What I was doing when the application crashed: Variable "Long date format:" set to "WEEKDAY DD MONTH MM YYYY" and then click on Germany-Button "Anwenden".
- Custom settings of the application: Variable "Long date format:" = "WEEKDAY DD MONTH MM YYYY"
-- Backtrace (Reduced):
#7 0x00007f894b5ca230 in Clock::paintInterface (this=0x11dcf40, p=0x7fff0d122db0, contentsRect=..., option=<optimized out>) at ../../../../../plasma/generic/applets/digital-clock/clock.cpp:476
#8 0x00007f8967271146 in Plasma::Applet::paint (this=0x11dcf40, painter=0x7fff0d122db0, option=0xe33478, widget=0x17a7b90) at ../../plasma/applet.cpp:1466
#9 0x00007f89642b797d in _q_paintItem (item=<optimized out>, painter=0x7fff0d122db0, option=0xe33478, widget=0x17a7b90, useWindowOpacity=<optimized out>, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4335
#10 0x00007f89642ceee4 in QGraphicsScenePrivate::drawItemHelper (this=0xe33250, item=0x11dcf50, painter=0x7fff0d122db0, option=0xe33478, widget=0x17a7b90, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4431
#11 0x00007f89642d134b in QGraphicsScenePrivate::draw (this=0xe33250, item=0x11dcf50, painter=0x7fff0d122db0, viewTransform=0x7fff0d122a80, transformPtr=0x7fff0d121f00, exposedRegion=0x1b85f58, widget=0x17a7b90, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4966
*** Bug 302241 has been marked as a duplicate of this bug. *** Created attachment 72003 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.8.90 (4.8.90) using Qt 4.8.2
- What I was doing when the application crashed:
This happens even with KDE 4.9.90.
Reproducible always.
System Settings->Locale->Languages->Set Preferred Languages to some other language->Click Apply->Let KDE configure itself->Enjoy the crash :)
Plasma also restarts.
-- Backtrace (Reduced):
#7 0x00007f231d696a5c in Plasma::CalendarTable::setDate (this=0x1c76ca0, newDate=...) at /chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.8.90/libs/plasmaclock/calendartable.cpp:495
#8 0x00007f231d693721 in Plasma::Calendar::setDate (this=0x1c90bd0, toDate=...) at /chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.8.90/libs/plasmaclock/calendar.cpp:279
#9 0x00007f231d68cc43 in ClockApplet::updateClockApplet (this=0x1bd0330, data=...) at /chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.8.90/libs/plasmaclock/clockapplet.cpp:342
#10 0x00007f231d8b779a in Clock::dataUpdated (this=0x1bd0330, source=<optimized out>, data=...) at /chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.8.90/plasma/generic/applets/digital-clock/clock.cpp:257
#11 0x00007f231d8b7b5d in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.8.90/plasma/generic/applets/digital-clock/clock.moc:64
I meant I could reproduce this even on KDE 4.8.90. Created attachment 72087 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.8.90 (4.8.90) using Qt 4.8.2
- What I was doing when the application crashed:
Trying to install French language
Configuration: Kubuntu Quantal 12.10 alpha 1 updated dayly. Includes KDE 4.8.9
-- Backtrace (Reduced):
#8 0xaefa1daf in Plasma::CalendarTable::setDate (this=0x8bc9a50, newDate=...) at ../../../libs/plasmaclock/calendartable.cpp:495
#9 0xaef9df14 in Plasma::Calendar::setDate (this=0x8bc99f0, toDate=...) at ../../../libs/plasmaclock/calendar.cpp:279
#10 0xaef96b90 in ClockApplet::updateClockApplet (this=0x8b049e8, data=...) at ../../../libs/plasmaclock/clockapplet.cpp:342
#11 0xaefe51b6 in Clock::dataUpdated (this=this@entry=0x8b049e8, source=..., data=...) at ../../../../../plasma/generic/applets/digital-clock/clock.cpp:257
#12 0xaefe5606 in qt_static_metacall (_a=0xbfc48c44, _id=0, _o=0x8b049e8, _c=<optimized out>) at ./clock.moc:64
*** Bug 302406 has been marked as a duplicate of this bug. *** *** Bug 302548 has been marked as a duplicate of this bug. *** *** Bug 302687 has been marked as a duplicate of this bug. *** *** Bug 302706 has been marked as a duplicate of this bug. *** Created attachment 72248 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1
- What I was doing when the application crashed:
Changing the preferd language from Americain en to British en, these wre allready installed and I was just swithing them.
- Unusual behavior I noticed:
Plasma crash i.e. flickering and messed up graphics for 3 - 4 secs while plasma restarted.
-- Backtrace (Reduced):
#8 0xad4880cf in Plasma::CalendarTable::setDate(QDate const&) () from /usr/lib/libplasmaclock.so.4abi3
#9 0xad483874 in Plasma::Calendar::setDate(QDate const&) () from /usr/lib/libplasmaclock.so.4abi3
#10 0xad47a4f8 in ClockApplet::updateClockApplet(QHash<QString, QVariant> const&) () from /usr/lib/libplasmaclock.so.4abi3
[...]
#14 0xb738169d in Plasma::SignalRelay::dataUpdated (this=0x8a8d6a0, _t1=..., _t2=...) at ./datacontainer_p.moc:99
#15 0xb738182f in timerEvent (this=0x8a8d6a0, event=<optimized out>) at ../../plasma/private/datacontainer_p.cpp:157
Created attachment 72316 [details]
New crash information added by DrKonqi
plasma-desktop (0.4) on KDE Platform 4.8.90 (4.8.90) using Qt 4.8.2
- What I was doing when the application crashed:
change a random setting in system settings and clicked apply.
ps. i use kubuntu 12.10, kde 4.8.90
the newest stuff
nice day
simon
-- Backtrace (Reduced):
#8 0xaee4fdaf in Plasma::CalendarTable::setDate (this=0xa5c23e0, newDate=...) at ../../../libs/plasmaclock/calendartable.cpp:495
#9 0xaee4bf14 in Plasma::Calendar::setDate (this=0xa5c26b8, toDate=...) at ../../../libs/plasmaclock/calendar.cpp:279
#10 0xaee44b90 in ClockApplet::updateClockApplet (this=0xa1542f0, data=...) at ../../../libs/plasmaclock/clockapplet.cpp:342
#11 0xaee9a1b6 in Clock::dataUpdated (this=this@entry=0xa1542f0, source=..., data=...) at ../../../../../plasma/generic/applets/digital-clock/clock.cpp:257
#12 0xaee9a606 in qt_static_metacall (_a=0xbf9700f4, _id=0, _o=0xa1542f0, _c=<optimized out>) at ./clock.moc:64
*** Bug 303526 has been marked as a duplicate of this bug. *** Is this bug still reproducible in the 4.9 RC versions? It looks like the commit for bug 302106 also fixed this one. I don't have any locale change crashes in 4.9rc2 anymore. Hi, I tried the same operation, i.e changing time and time zone. But no crash with KDE 4.8.90. My configuration is Kubuntu Quantal 12.10 alpha 2, updated dayly. Le 19/07/2012 02:41, Christoph Feck a écrit : > https://bugs.kde.org/show_bug.cgi?id=299237 > > --- Comment #38 from Christoph Feck <christoph@maxiom.de> --- > Is this bug still reproducible in the 4.9 RC versions? It looks like the commit > for bug 302106 also fixed this one. > *** Bug 304208 has been marked as a duplicate of this bug. *** *** Bug 302711 has been marked as a duplicate of this bug. *** *** Bug 304882 has been marked as a duplicate of this bug. *** *** Bug 309839 has been marked as a duplicate of this bug. *** |