Bug 268095 - kPlato crashes when loading autosaved temp file
Summary: kPlato crashes when loading autosaved temp file
Status: RESOLVED FIXED
Alias: None
Product: kplato
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Dag Andersen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 00:19 UTC by Marek Andreansky
Modified: 2011-03-31 08:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.67 KB, text/plain)
2011-03-10 00:23 UTC, Marek Andreansky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Andreansky 2011-03-10 00:19:30 UTC
Application: kplato (0.10.3)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-CHAKRA x86_64

-- Information about the crash:
- What I was doing when the application crashed:
kPlato tried to reopen a temp file that was saved when I manually had to kill kPlato as it hanged when I clicked on generating a schedile.
- Custom settings of the application:
None, running stock kPlato and KDE 4.6.1 on Chakra Linux

The crash can be reproduced every time.

-- Backtrace:
Application: KPlato (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7fb6acd39760 (LWP 4571))]

Thread 2 (Thread 0x7fb6897d1710 (LWP 4574)):
#0  0x00007fb6ab60040c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb6a0d0e694 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/libQtScript.so.4
#2  0x00007fb6a0d0e6c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtScript.so.4
#3  0x00007fb6ab5fbcb0 in start_thread () from /lib/libpthread.so.0
#4  0x00007fb6aa3219fd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb6acd39760 (LWP 4571)):
[KCrash Handler]
#6  0x00007fb6aa285595 in raise () from /lib/libc.so.6
#7  0x00007fb6aa286a16 in abort () from /lib/libc.so.6
#8  0x00007fb6ab87ed0f in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007fb6ab87ee9d in qt_message(QtMsgType, char const*, __va_list_tag*) () from /usr/lib/libQtCore.so.4
#10 0x00007fb6ab87f035 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x00007fb6ab06326c in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4
#12 0x00007fb6ab06443b in QSortFilterProxyModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#13 0x00007fb6ab996ecf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0x00007fb6ab9e15f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtCore.so.4
#15 0x00007fb6927e409a in KPlato::ScheduleItemModel::slotManagerChanged(KPlato::ScheduleManager*) () from /usr/lib/libkplatomodels.so.8
#16 0x00007fb6927e6333 in KPlato::ScheduleItemModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkplatomodels.so.8
#17 0x00007fb6ab996ecf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007fb692aa7e72 in KPlato::Project::scheduleManagerChanged(KPlato::ScheduleManager*) () from /usr/lib/libkplatokernel.so.8
#19 0x00007fb692aa7e89 in KPlato::Project::changed(KPlato::ScheduleManager*) () from /usr/lib/libkplatokernel.so.8
#20 0x00007fb692b245e5 in KPlato::SchedulerPlugin::updateAppointments(KPlato::Project const*, KPlato::ScheduleManager const*, KPlato::Project*, KPlato::ScheduleManager*, KPlato::XMLLoaderObject&) const () from /usr/lib/libkplatokernel.so.8
#21 0x00007fb692b24865 in KPlato::SchedulerPlugin::updateProject(KPlato::Project const*, KPlato::ScheduleManager const*, KPlato::Project*, KPlato::ScheduleManager*) const ()
   from /usr/lib/libkplatokernel.so.8
#22 0x00007fb692dc3693 in KPlato::BuiltinSchedulerPlugin::slotFinished(KPlato::SchedulerThread*) () from /usr/lib/libkplatoprivate.so.8
#23 0x00007fb692d87f73 in KPlato::BuiltinSchedulerPlugin::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkplatoprivate.so.8
#24 0x00007fb6ab996ecf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#25 0x00007fb692a88d92 in KPlato::SchedulerThread::jobFinished(KPlato::SchedulerThread*) () from /usr/lib/libkplatokernel.so.8
#26 0x00007fb692a89031 in KPlato::SchedulerThread::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkplatokernel.so.8
#27 0x00007fb692d87ba8 in ?? () from /usr/lib/libkplatoprivate.so.8
#28 0x00007fb6ab995c8a in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#29 0x00007fb6aaa77154 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00007fb6aaa7c421 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x00007fb6ac72cd26 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x00007fb6ab97f79c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x00007fb6ab983722 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#34 0x00007fb6ab9ad823 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib/libQtCore.so.4
#35 0x00007fb6a736fc33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007fb6a7370410 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0x00007fb6a73706ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00007fb6ab9ad9bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007fb6aab27c0e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtGui.so.4
#40 0x00007fb6ab97e252 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0x00007fb6ab97e49c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#42 0x00007fb6ab983a1b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#43 0x00007fb69bfe967d in kdemain () from /usr/lib/libkdeinit4_kplato.so
#44 0x00000000004071f3 in _start ()

Possible duplicates by query: bug 249061.

Reported using DrKonqi
Comment 1 Marek Andreansky 2011-03-10 00:23:47 UTC
Created attachment 57821 [details]
New crash information added by DrKonqi

kplato (0.10.3) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.1

- What I was doing when the application crashed:

It seems that the app crashes whenever I try to calculate a schedule of a new project. Heres another crash report to compare with the first one I posted

-- Backtrace (Reduced):
#11 0x00007fb6ab06326c in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4
#12 0x00007fb6ab06443b in QSortFilterProxyModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
[...]
#14 0x00007fb6ab9e15f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtCore.so.4
#15 0x00007fb6927e409a in KPlato::ScheduleItemModel::slotManagerChanged(KPlato::ScheduleManager*) () from /usr/lib/libkplatomodels.so.8
#16 0x00007fb6927e6333 in KPlato::ScheduleItemModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkplatomodels.so.8
Comment 2 Dag Andersen 2011-03-31 08:11:08 UTC
SVN commit 1226618 by danders:

Fix crash in some models when emitting dataChanged.
BUG:268095


 M  +1 -1      kptdocumentmodel.cpp  
 M  +2 -2      kptpertcpmmodel.cpp  
 M  +2 -2      kptschedulemodel.cpp  
 M  +1 -1      kpttaskstatusmodel.cpp  


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