Page MenuHomePhorge

crash booking empty ressources
Closed, ResolvedPublic1 Story Points

Description

https://issues.kolab.org/show_bug.cgi?id=5260

while trying to book an ressource with an empty or not existing ressource in a new event kontact is crashing

Details

Ticket Type
Task

Event Timeline

mollekopf raised the priority of this task from 60 to High.Mar 1 2016, 12:20 PM
mollekopf moved this task from Backlog to Doing on the Sprint 201609 board.

korganizer(391) IncidenceEditorNG::IncidenceDialogPrivate::load: Loading item 5 ; parent 24 ; storage 24

Program received signal SIGSEGV, Segmentation fault.
0x00007f2773db2cf0 in QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const () from /lib64/libQtGui.so.4
(gdb) thread apply all bt

Thread 2 (Thread 0x7f27525ad700 (LWP 417)):
#0 0x00007f2772ac166d in poll () from /lib64/libc.so.6
#1 0x00007f277496d1b8 in qt_safe_poll(pollfd*, int, int, bool) () from /lib64/libQtCore.so.4
#2 0x00007f277491ac68 in QProcessManager::run() () from /lib64/libQtCore.so.4
#3 0x00007f2774830aac in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4 0x00007f27745a1555 in start_thread () from /lib64/libpthread.so.0
#5 0x00007f2772accf3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f277a6b1900 (LWP 391)):
#0 0x00007f2773db2cf0 in QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const () from /lib64/libQtGui.so.4
#1 0x00007f2773db2eb1 in QSortFilterProxyModel::mapToSource(QModelIndex const&) const () from /lib64/libQtGui.so.4
#2 0x00007f2773dacc20 in QSortFilterProxyModelPrivate::store_persistent_indexes() () from /lib64/libQtGui.so.4
#3 0x00007f2773dae5c1 in QSortFilterProxyModelPrivate::_q_clearMapping() () from /lib64/libQtGui.so.4
#4 0x00007f27749540c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#5 0x00007f27749549af in QObject::destroyed(QObject*) () from /lib64/libQtCore.so.4
#6 0x00007f277495a427 in QObject::~QObject() () from /lib64/libQtCore.so.4
#7 0x00007f2771b36829 in IncidenceEditorNG::AttendeeTableModel::~AttendeeTableModel (this=0x20afc90,

__in_chrg=<optimized out>)
at /work/build/kdepim/incidenceeditor-ng/../../../source/kdepim/incidenceeditor-ng/attendeetablemodel.h:34

#8 0x00007f2774958361 in QObjectPrivate::deleteChildren() () from /lib64/libQtCore.so.4
#9 0x00007f277495aa04 in QObject::~QObject() () from /lib64/libQtCore.so.4
#10 0x00007f2771af17b9 in IncidenceEditorNG::IncidenceAttendee::~IncidenceAttendee (this=0x20af840, __in_chrg=<optimized out>)

at /work/source/kdepim/incidenceeditor-ng/incidenceattendee.cpp:209

#11 0x00007f2771aea366 in qDeleteAll<QVector<IncidenceEditorNG::IncidenceEditor*>::const_iterator> (begin=..., end=...)

at /usr/include/QtCore/qalgorithms.h:322

#12 0x00007f2771aea6f1 in qDeleteAll<QVector<IncidenceEditorNG::IncidenceEditor*> > (c=...)

at /usr/include/QtCore/qalgorithms.h:330

#13 0x00007f2771ae9bc3 in IncidenceEditorNG::CombinedIncidenceEditor::~CombinedIncidenceEditor (this=0x1febfa0,

__in_chrg=<optimized out>) at /work/source/kdepim/incidenceeditor-ng/combinedincidenceeditor.cpp:36

#14 0x00007f2771ae9be9 in IncidenceEditorNG::CombinedIncidenceEditor::~CombinedIncidenceEditor (this=0x1febfa0,

__in_chrg=<optimized out>) at /work/source/kdepim/incidenceeditor-ng/combinedincidenceeditor.cpp:37

#15 0x00007f2771b25f8c in IncidenceEditorNG::IncidenceDialogPrivate::~IncidenceDialogPrivate (this=0x22190d0,

__in_chrg=<optimized out>) at /work/source/kdepim/incidenceeditor-ng/incidencedialog.cpp:204

#16 0x00007f2771b25fb9 in IncidenceEditorNG::IncidenceDialogPrivate::~IncidenceDialogPrivate (this=0x22190d0,

__in_chrg=<optimized out>) at /work/source/kdepim/incidenceeditor-ng/incidencedialog.cpp:206

#17 0x00007f2771b29100 in IncidenceEditorNG::IncidenceDialog::~IncidenceDialog (this=0x2332680, __in_chrg=<optimized out>)

at /work/source/kdepim/incidenceeditor-ng/incidencedialog.cpp:720

#18 0x00007f2771b29139 in IncidenceEditorNG::IncidenceDialog::~IncidenceDialog (this=0x2332680, __in_chrg=<optimized out>)

at /work/source/kdepim/incidenceeditor-ng/incidencedialog.cpp:721

#19 0x00007f2774959e88 in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#20 0x00007f27738447ac in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#21 0x00007f27737f03ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#22 0x00007f27737f7206 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#23 0x00007f27758e8611 in KApplication::notify (this=0x7ffcb89665a0, receiver=0x2332680, event=0x22517c0)

at /work/source/kdelibs/kdeui/kernel/kapplication.cpp:311

#24 0x00007f277493ff1d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#25 0x00007f2774943536 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#26 0x00007f277497035e in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#27 0x00007f2769cf3a8a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00007f2769cf3e20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#29 0x00007f2769cf3ecc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x00007f27749704ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()

from /lib64/libQtCore.so.4

#31 0x00007f2773896626 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()

from /lib64/libQtGui.so.4

#32 0x00007f277493e791 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#33 0x00007f277493eb05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#34 0x00007f27749446a9 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#35 0x0000000000407597 in main (argc=<optimized out>, argv=<optimized out>) at /work/source/kdepim/korganizer/main.cpp:60

The crash is provoked by editing a field in the model's delegate.

mollekopf claimed this task.
mollekopf moved this task from Doing to Review on the Sprint 201609 board.
vanmeeuwen moved this task from Review to Done on the Sprint 201609 board.