Bug 194827 - Crash when calling "Edit History"
Summary: Crash when calling "Edit History"
Status: RESOLVED FIXED
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (show other bugs)
Version: Git (master)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Thorsten Staerk
URL:
Keywords:
: 182876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-01 09:10 UTC by Thorsten Staerk
Modified: 2010-07-31 13:20 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Staerk 2009-06-01 09:10:34 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Application: KTimeTracker (ktimetracker), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
0x00007f2e463f7575 in waitpid () from /lib64/libpthread.so.0
[Current thread is 1 (Thread 0x7f2e4b455750 (LWP 16859))]

Thread 1 (Thread 0x7f2e4b455750 (LWP 16859)):
[KCrash Handler]
#4  0x00007f2e4ab00b4d in KCal::Incidence::summary (this=0x0) at /root/kdepimlibs/kcal/incidence.cpp:424
#5  0x00007f2e3acd213e in EditHistoryDialog::listAllEvents (this=0x993b10) at /root/kdepim/ktimetracker/edithistorydialog.cpp:122
#6  0x00007f2e3acd2a34 in EditHistoryDialog (this=0x993b10, parent=0x8dba30) at /root/kdepim/ktimetracker/edithistorydialog.cpp:99
#7  0x00007f2e3acd533e in TimetrackerWidget::editHistory (this=0x7d6650) at /root/kdepim/ktimetracker/timetrackerwidget.cpp:775
#8  0x00007f2e3acd960b in TimetrackerWidget::qt_metacall (this=0x7d6650, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0x7fff53499260) at /root/kdepim/ktimetracker/timetrackerwidget.moc:216
#9  0x00007f2e4676f982 in QMetaObject::activate (sender=0x8eeaf0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x1) at kernel/qobject.cpp:3069
#10 0x00007f2e473336e7 in QAction::triggered (this=0x7fff53498d60, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#11 0x00007f2e47334b60 in QAction::activate (this=0x8eeaf0, event=<value optimized out>) at kernel/qaction.cpp:1160
#12 0x00007f2e4774287c in QMenuPrivate::activateCausedStack (this=0x8cd7d0, causedStack=@0x7fff53499380, action=0x8eeaf0, action_e=QAction::Trigger, self=72) at widgets/qmenu.cpp:962
#13 0x00007f2e4774889e in QMenuPrivate::activateAction (this=0x8cd7d0, action=0x8eeaf0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1058
#14 0x00007f2e4883d35f in KMenu::mouseReleaseEvent (this=0x8d6940, e=0x7fff53499f00) at /root/kdelibs/kdeui/widgets/kmenu.cpp:456
#15 0x00007f2e4738a5ed in QWidget::event (this=0x8d6940, event=0x7fff53499f00) at kernel/qwidget.cpp:7516
#16 0x00007f2e4774b05b in QMenu::event (this=0x8d6940, e=0x7fff53499f00) at widgets/qmenu.cpp:2351
#17 0x00007f2e4733967d in QApplicationPrivate::notify_helper (this=0x6ad880, receiver=0x8d6940, e=0x7fff53499f00) at kernel/qapplication.cpp:4084
#18 0x00007f2e47341ffa in QApplication::notify (this=<value optimized out>, receiver=0x8d6940, e=0x7fff53499f00) at kernel/qapplication.cpp:3786
#19 0x00007f2e48763771 in KApplication::notify (this=0x7fff5349ac60, receiver=0x8d6940, event=0x7fff53499f00) at /root/kdelibs/kdeui/kernel/kapplication.cpp:302
#20 0x00007f2e46759fbc in QCoreApplication::notifyInternal (this=0x7fff5349ac60, receiver=0x8d6940, event=0x7fff53499f00) at kernel/qcoreapplication.cpp:602
#21 0x00007f2e47341248 in QApplicationPrivate::sendMouseEvent (receiver=0x8d6940, event=0x7fff53499f00, alienWidget=0x0, nativeWidget=0x8d6940, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f2e47d73c90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#22 0x00007f2e473aac64 in QETWidget::translateMouseEvent (this=0x8d6940, event=<value optimized out>) at kernel/qapplication_x11.cpp:4359
#23 0x00007f2e473a9be8 in QApplication::x11ProcessEvent (this=0x7fff5349ac60, event=0x7fff5349a890) at kernel/qapplication_x11.cpp:3543
#24 0x00007f2e473d0cb4 in x11EventSourceDispatch (s=0x6b0930, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007f2e40ceb0db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f2e40cee8ad in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f2e40ceea6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f2e4678361f in QEventDispatcherGlib::processEvents (this=0x6ad610, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#29 0x00007f2e473d045f in QGuiEventDispatcherGlib::processEvents (this=0x7fff53498d60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007f2e46758852 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1397336960}) at kernel/qeventloop.cpp:149
#31 0x00007f2e46758c1d in QEventLoop::exec (this=0x7fff5349abc0, flags={i = 1397337040}) at kernel/qeventloop.cpp:200
#32 0x00007f2e4675af04 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#33 0x000000000041fc25 in main (argc=2, argv=0x7fff5349b7a8) at /root/kdepim/ktimetracker/main.cpp:137


itchy:~/kdepim/ktimetracker # svn info
Path: .
URL: https://svn.kde.org/home/kde/trunk/KDE/kdepim/ktimetracker
Repository Root: https://svn.kde.org/home/kde
Repository UUID: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Revision: 970906
Node Kind: directory
Schedule: normal
Last Changed Author: scripty
Last Changed Rev: 970670
Last Changed Date: 2009-05-20 10:41:44 -0400 (Wed, 20 May 2009)
Comment 1 Thorsten Staerk 2009-06-01 10:57:56 UTC
This crash happens if the ics file is broken, in my case the broken part read:
CATEGORIES:KTimeTracker
RELATED-TO:KO
DTSTART;TZID=America/New_York:20090328T084247
Comment 2 Thorsten Staerk 2009-06-01 10:59:40 UTC
SVN commit 976187 by tstaerk:

Do not crash on a corrupt file.
CCBUGS: 194827


 M  +23 -16    edithistorydialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=976187
Comment 3 Dario Andres 2009-06-01 13:30:06 UTC
Bug 182876 was probably related to this.
Comment 4 Thorsten Staerk 2009-06-01 15:55:50 UTC
*** Bug 182876 has been marked as a duplicate of this bug. ***