Bug 204063 - Kontact crashes while applying template in new journal entry. (TemplateManagementDialog::slotApplyTemplate)
Summary: Kontact crashes while applying template in new journal entry. (TemplateManage...
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: journalview (show other bugs)
Version: 4.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-16 18:09 UTC by dibdublin
Modified: 2009-08-16 22:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dibdublin 2009-08-16 18:09:14 UTC
Application that crashed: kontact
Version of the application: 4.3.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-14-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Kontact crashes while trying to apply a new template during the process of adding a new journal entry.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  TemplateManagementDialog::slotApplyTemplate (this=0x28a2e90) at /usr/include/qt4/QtGui/qlistwidget.h:90
#6  0x00007fb806b83ee0 in TemplateManagementDialog::qt_metacall (this=0x28a2e90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff30044ec0)
    at /build/buildd/kdepim-4.3.0/obj-x86_64-linux-gnu/korganizer/templatemanagementdialog.moc:86
#7  0x00007fb8225a5ea2 in QMetaObject::activate (sender=0x2801190, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x29578c0) at kernel/qobject.cpp:3113
#8  0x00007fb823730e27 in QAbstractButton::clicked (this=0x26f9ad0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#9  0x00007fb82348ac6b in QAbstractButtonPrivate::emitClicked (this=0x2957d40) at widgets/qabstractbutton.cpp:543
#10 0x00007fb82348c8c2 in QAbstractButtonPrivate::click (this=0x2957d40) at widgets/qabstractbutton.cpp:536
#11 0x00007fb82348cb15 in QAbstractButton::mouseReleaseEvent (this=0x2801190, e=0x7fff30045690) at widgets/qabstractbutton.cpp:1115
#12 0x00007fb8231600bf in QWidget::event (this=0x2801190, event=0x7fff30045690) at kernel/qwidget.cpp:7549
#13 0x00007fb82310ef4d in QApplicationPrivate::notify_helper (this=0xe1afc0, receiver=0x2801190, e=0x7fff30045690) at kernel/qapplication.cpp:4056
#14 0x00007fb8231178ea in QApplication::notify (this=<value optimized out>, receiver=0x2801190, e=0x7fff30045690) at kernel/qapplication.cpp:3758
#15 0x00007fb82451371b in KApplication::notify (this=0x7fff3004a2b0, receiver=0x2801190, event=0x7fff30045690) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#16 0x00007fb8225906ac in QCoreApplication::notifyInternal (this=0x7fff3004a2b0, receiver=0x2801190, event=0x7fff30045690) at kernel/qcoreapplication.cpp:610
#17 0x00007fb823116b38 in QApplicationPrivate::sendMouseEvent (receiver=0x2801190, event=0x7fff30045690, alienWidget=0x2801190, nativeWidget=0x28a2e90, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fb823b46010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#18 0x00007fb823180b19 in QETWidget::translateMouseEvent (this=0x28a2e90, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#19 0x00007fb82317fb53 in QApplication::x11ProcessEvent (this=0x7fff3004a2b0, event=0x7fff30047210) at kernel/qapplication_x11.cpp:3550
#20 0x00007fb8231a8454 in x11EventSourceDispatch (s=0xe150e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x00007fb81bce120a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007fb81bce48e0 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007fb81bce4a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007fb8225b9a8f in QEventDispatcherGlib::processEvents (this=0xde20a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#25 0x00007fb8231a7bdf in QGuiEventDispatcherGlib::processEvents (this=0x26f9ad0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x00007fb82258ef42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 805598464}) at kernel/qeventloop.cpp:149
#27 0x00007fb82258f314 in QEventLoop::exec (this=0x7fff30047540, flags={i = 805598560}) at kernel/qeventloop.cpp:201
#28 0x00007fb8235a5e3e in QDialog::exec (this=0x28a2e90) at dialogs/qdialog.cpp:498
#29 0x00007fb806b07191 in KOIncidenceEditor::slotManageTemplates (this=0x287db00) at /build/buildd/kdepim-4.3.0/korganizer/koincidenceeditor.cpp:186
#30 0x00007fb806b06d9a in KOIncidenceEditor::qt_metacall (this=0x287db00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff300476f0)
    at /build/buildd/kdepim-4.3.0/obj-x86_64-linux-gnu/korganizer/koincidenceeditor.moc:133
#31 0x00007fb806b0c995 in KOJournalEditor::qt_metacall (this=0x26f9ad0, _c=QMetaObject::InvokeMetaMethod, _id=40868560, _a=0x29578c0)
    at /build/buildd/kdepim-4.3.0/obj-x86_64-linux-gnu/korganizer/kojournaleditor.moc:65
#32 0x00007fb8225a5ea2 in QMetaObject::activate (sender=0x287db00, from_signal_index=<value optimized out>, to_signal_index=38, argv=0x29578c0) at kernel/qobject.cpp:3113
#33 0x00007fb824487005 in KDialog::slotButtonClicked (this=0x287db00, button=2) at /build/buildd/kde4libs-4.3.0/kdeui/dialogs/kdialog.cpp:894
#34 0x00007fb806b06395 in KOIncidenceEditor::slotButtonClicked (this=0x287db00, button=0) at /build/buildd/kdepim-4.3.0/korganizer/koincidenceeditor.cpp:123
#35 0x00007fb82448929d in KDialog::qt_metacall (this=0x287db00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff30047a10)
    at /build/buildd/kde4libs-4.3.0/obj-x86_64-linux-gnu/kdeui/kdialog.moc:184
#36 0x00007fb82453f2c6 in KPageDialog::qt_metacall (this=0x26f9ad0, _c=QMetaObject::InvokeMetaMethod, _id=40868560, _a=0x29578c0)
    at /build/buildd/kde4libs-4.3.0/obj-x86_64-linux-gnu/kdeui/kpagedialog.moc:64
#37 0x00007fb806b06ba5 in KOIncidenceEditor::qt_metacall (this=0x26f9ad0, _c=QMetaObject::InvokeMetaMethod, _id=40868560, _a=0x29578c0)
    at /build/buildd/kdepim-4.3.0/obj-x86_64-linux-gnu/korganizer/koincidenceeditor.moc:107
#38 0x00007fb806b0c995 in KOJournalEditor::qt_metacall (this=0x26f9ad0, _c=QMetaObject::InvokeMetaMethod, _id=40868560, _a=0x29578c0)
    at /build/buildd/kdepim-4.3.0/obj-x86_64-linux-gnu/korganizer/kojournaleditor.moc:65
#39 0x00007fb8225a5ea2 in QMetaObject::activate (sender=0x26638d8, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x29578c0) at kernel/qobject.cpp:3113
#40 0x00007fb8225a8c3e in QSignalMapper::mapped (this=0x26f9ad0, _t1=2) at .moc/release-shared/moc_qsignalmapper.cpp:95
#41 0x00007fb8225a94e0 in QSignalMapper::map (this=0x26638d8, sender=0x23a15e0) at kernel/qsignalmapper.cpp:266
#42 0x00007fb8225aa0d0 in QSignalMapper::qt_metacall (this=0x26638d8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff30047b90) at .moc/release-shared/moc_qsignalmapper.cpp:81
#43 0x00007fb8225a5ea2 in QMetaObject::activate (sender=0x23a15e0, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x29578c0) at kernel/qobject.cpp:3113
#44 0x00007fb823730e27 in QAbstractButton::clicked (this=0x26f9ad0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#45 0x00007fb82348ac6b in QAbstractButtonPrivate::emitClicked (this=0x15b0010) at widgets/qabstractbutton.cpp:543
#46 0x00007fb82348c8c2 in QAbstractButtonPrivate::click (this=0x15b0010) at widgets/qabstractbutton.cpp:536
#47 0x00007fb82348cb15 in QAbstractButton::mouseReleaseEvent (this=0x23a15e0, e=0x7fff30048360) at widgets/qabstractbutton.cpp:1115
#48 0x00007fb8231600bf in QWidget::event (this=0x23a15e0, event=0x7fff30048360) at kernel/qwidget.cpp:7549
#49 0x00007fb82310ef4d in QApplicationPrivate::notify_helper (this=0xe1afc0, receiver=0x23a15e0, e=0x7fff30048360) at kernel/qapplication.cpp:4056
#50 0x00007fb8231178ea in QApplication::notify (this=<value optimized out>, receiver=0x23a15e0, e=0x7fff30048360) at kernel/qapplication.cpp:3758
#51 0x00007fb82451371b in KApplication::notify (this=0x7fff3004a2b0, receiver=0x23a15e0, event=0x7fff30048360) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#52 0x00007fb8225906ac in QCoreApplication::notifyInternal (this=0x7fff3004a2b0, receiver=0x23a15e0, event=0x7fff30048360) at kernel/qcoreapplication.cpp:610
#53 0x00007fb823116b38 in QApplicationPrivate::sendMouseEvent (receiver=0x23a15e0, event=0x7fff30048360, alienWidget=0x23a15e0, nativeWidget=0x287db00, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fb823b46010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#54 0x00007fb823180b19 in QETWidget::translateMouseEvent (this=0x287db00, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#55 0x00007fb82317fb53 in QApplication::x11ProcessEvent (this=0x7fff3004a2b0, event=0x7fff30049ee0) at kernel/qapplication_x11.cpp:3550
#56 0x00007fb8231a8454 in x11EventSourceDispatch (s=0xe150e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007fb81bce120a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#58 0x00007fb81bce48e0 in ?? () from /usr/lib/libglib-2.0.so.0
#59 0x00007fb81bce4a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#60 0x00007fb8225b9a8f in QEventDispatcherGlib::processEvents (this=0xde20a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#61 0x00007fb8231a7bdf in QGuiEventDispatcherGlib::processEvents (this=0x26f9ad0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#62 0x00007fb82258ef42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 805609936}) at kernel/qeventloop.cpp:149
#63 0x00007fb82258f314 in QEventLoop::exec (this=0x7fff3004a210, flags={i = 805610016}) at kernel/qeventloop.cpp:201
#64 0x00007fb8225915e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#65 0x0000000000404945 in main (argc=1, argv=0x7fff3004a998) at /build/buildd/kdepim-4.3.0/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Allen Winter 2009-08-16 22:48:14 UTC
SVN commit 1012117 by winterz:

don't crash when applying templates when there is no currently seleted template.
BUG: 204063
MERGE: e4,4.3


 M  +6 -3      templatemanagementdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1012117
Comment 2 Allen Winter 2009-08-16 22:49:24 UTC
SVN commit 1012118 by winterz:

Backport r1012117 by winterz from trunk to the 4.3 branch:

don't crash when applying templates when there is no currently seleted template.
CCBUG: 204063
MERGE: e4,4.3



 M  +6 -3      templatemanagementdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1012118