Bug 281387

Summary: KOrganizer crashes when entering a New event
Product: [Applications] korganizer Reporter: mikael.salson
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: ce.bellora, smartins, valerija.biscan
Priority: NOR    
Version: 4.4.10   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description mikael.salson 2011-09-05 12:46:08 UTC
Application: korganizer (4.4.10)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-02063802-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

I added a new event, specified the title as well as the start and end time and when clicking OK Korganizer crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f383d1417a0 (LWP 5127))]

Thread 2 (Thread 0x7f38209f0700 (LWP 5128)):
#0  0x00007f383980bf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3832cb6104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3832cb6639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3839f53446 in QEventDispatcherGlib::processEvents (this=0x1b47250, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3839f27882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3839f27abc in QEventLoop::exec (this=0x7f38209efdb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f3839e3e924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f3839f09c2f in QInotifyFileSystemWatcherEngine::run (this=0x1b56fc0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3839e41175 in QThreadPrivate::start (arg=0x1b56fc0) at thread/qthread_unix.cpp:320
#9  0x00007f3833181d8c in start_thread (arg=0x7f38209f0700) at pthread_create.c:304
#10 0x00007f383981904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f383d1417a0 (LWP 5127)):
[KCrash Handler]
#6  ref (this=0x23e1f10) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QString (this=0x23e1f10) at /usr/include/qt4/QtCore/qstring.h:729
#8  KCal::IncidenceBase::uid (this=0x23e1f10) at ../../kcal/incidencebase.cpp:185
#9  0x00007f3833a57d17 in KOEventViewer::changeIncidenceDisplay (this=0x1e4ebc0, incidence=0x3228800, date=..., action=0) at ../../korganizer/koeventviewer.cpp:143
#10 0x00007f383bb28db4 in CalendarView::changeIncidenceDisplay (this=0x1aa5460, incidence=0x3228800, action=0) at ../../korganizer/calendarview.cpp:794
#11 0x00007f383bb28e57 in CalendarView::incidenceAdded (this=0x1aa5460, incidence=0x3228800) at ../../korganizer/calendarview.cpp:671
#12 0x00007f383bb31f47 in CalendarView::qt_metacall (this=0x1aa5460, _c=QMetaObject::InvokeMetaMethod, _id=95, _a=0x7fff4f824330) at ./calendarview.moc:502
#13 0x00007f3839f3d5f8 in QMetaObject::activate (sender=0x1edd550, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff4f824330) at kernel/qobject.cpp:3287
#14 0x00007f383b3d3b7f in KOrg::IncidenceChangerBase::incidenceAdded (this=<value optimized out>, _t1=0x3228800) at ./incidencechangerbase.moc:97
#15 0x00007f383bb9f749 in IncidenceChanger::addIncidence (this=0x1edd550, incidence=0x3228800, parent=<value optimized out>) at ../../korganizer/incidencechanger.cpp:340
#16 0x00007f383bb3bd8c in KOEventEditor::processInput (this=0x298b8e0) at ../../korganizer/koeventeditor.cpp:338
#17 0x00007f383bb38519 in KOIncidenceEditor::slotButtonClicked (this=0x298b8e0, button=<value optimized out>) at ../../korganizer/koincidenceeditor.cpp:102
#18 0x00007f383cac3db2 in KDialog::qt_metacall (this=0x298b8e0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff4f8248a0) at ./kdialog.moc:190
#19 0x00007f383cb93b10 in KPageDialog::qt_metacall (this=0x298b8e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4f8248a0) at ./kpagedialog.moc:70
#20 0x00007f383bb39210 in KOIncidenceEditor::qt_metacall (this=0x298b8e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4f8248a0) at ./koincidenceeditor.moc:113
#21 0x00007f383bb3c180 in KOEventEditor::qt_metacall (this=0x298b8e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4f8248a0) at ./koeventeditor.moc:77
#22 0x00007f3839f3d5f8 in QMetaObject::activate (sender=0x2a77130, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff4f8248a0) at kernel/qobject.cpp:3287
#23 0x00007f3839f4138e in QSignalMapper::mapped (this=<value optimized out>, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#24 0x00007f3839f41496 in QSignalMapper::map (this=0x2a77130, sender=0x30e2950) at kernel/qsignalmapper.cpp:266
#25 0x00007f3839f41ba0 in QSignalMapper::qt_metacall (this=0x2a77130, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff4f8249f0) at .moc/release-shared/moc_qsignalmapper.cpp:87
#26 0x00007f3839f3d5f8 in QMetaObject::activate (sender=0x30e2950, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff4f8249f0) at kernel/qobject.cpp:3287
#27 0x00007f383af5f942 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#28 0x00007f383aca8f2e in QAbstractButtonPrivate::emitClicked (this=0x2b26e90) at widgets/qabstractbutton.cpp:546
#29 0x00007f383acaa4ab in QAbstractButtonPrivate::click (this=0x2b26e90) at widgets/qabstractbutton.cpp:539
#30 0x00007f383acaa71c in QAbstractButton::mouseReleaseEvent (this=0x30e2950, e=0x7fff4f825330) at widgets/qabstractbutton.cpp:1121
#31 0x00007f383a938cc8 in QWidget::event (this=0x30e2950, event=0x7fff4f825330) at kernel/qwidget.cpp:8259
#32 0x00007f383a8e79f4 in QApplicationPrivate::notify_helper (this=0x1965590, receiver=0x30e2950, e=0x7fff4f825330) at kernel/qapplication.cpp:4462
#33 0x00007f383a8ecdc3 in QApplication::notify (this=<value optimized out>, receiver=0x30e2950, e=0x7fff4f825330) at kernel/qapplication.cpp:4023
#34 0x00007f383cb65866 in KApplication::notify (this=0x7fff4f825fc0, receiver=0x30e2950, event=0x7fff4f825330) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f3839f2849c in QCoreApplication::notifyInternal (this=0x7fff4f825fc0, receiver=0x30e2950, event=0x7fff4f825330) at kernel/qcoreapplication.cpp:731
#36 0x00007f383a8e8a1d in sendEvent (receiver=0x30e2950, event=0x7fff4f825330, alienWidget=0x30e2950, nativeWidget=0x2a4e190, buttonDown=0x7f383b3cb218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QApplicationPrivate::sendMouseEvent (receiver=0x30e2950, event=0x7fff4f825330, alienWidget=0x30e2950, nativeWidget=0x2a4e190, buttonDown=0x7f383b3cb218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#38 0x00007f383a96a190 in QETWidget::translateMouseEvent (this=0x2a4e190, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#39 0x00007f383a968ab7 in QApplication::x11ProcessEvent (this=0x7fff4f825fc0, event=0x7fff4f825c80) at kernel/qapplication_x11.cpp:3680
#40 0x00007f383a991842 in x11EventSourceDispatch (s=0x1961bb0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007f3832cb5bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f3832cb63a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f3832cb6639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f3839f533ef in QEventDispatcherGlib::processEvents (this=0x1905520, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007f383a9914de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f3839f27882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f3839f27abc in QEventLoop::exec (this=0x7fff4f825f80, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007f3839f2becb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#49 0x0000000000407d82 in main (argc=<value optimized out>, argv=0x7fff4f8262d8) at ../../korganizer/main.cpp:61

Possible duplicates by query: bug 272889, bug 270981, bug 253426, bug 237628, bug 235407.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-10-18 19:20:14 UTC
*** Bug 284387 has been marked as a duplicate of this bug. ***
Comment 2 Sergio Martins 2011-10-26 20:02:14 UTC
Try korganizer from 4.6 or 4.7.

Incidence Editors were rewritten.
Comment 3 Jekyll Wu 2012-07-05 21:11:11 UTC
*** Bug 282431 has been marked as a duplicate of this bug. ***