Bug 270608 - KMymoney 4.5.0 freezes when opening kmy file created with Kmymoney 1.0 (following upgrade to Ubuntu 10.10 from 10.04)
Summary: KMymoney 4.5.0 freezes when opening kmy file created with Kmymoney 1.0 (follo...
Status: RESOLVED DUPLICATE of bug 268049
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-10 18:38 UTC by lnpr58
Modified: 2011-05-14 10:27 UTC (History)
1 user (show)

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 lnpr58 2011-04-10 18:38:19 UTC
Application: kmymoney (4.5.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I upgraded Ubuntu from 10.04 to 10.10. Then in Kmymoney 4.5.0, I tried to open a kmy file created with the previous version of Kmymoney (1.0) available with Ubuntu 10.04 

- Unusual behavior I noticed: Screen becomes grey and Kmymoney stops responding

- Custom settings of the application: None

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7852930 (LWP 2984))]

Thread 3 (Thread 0xb75f3b70 (LWP 2985)):
#0  0x00fb2416 in __kernel_vsyscall ()
#1  0x0171fdf6 in poll () from /lib/libc.so.6
#2  0x062f0a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x062e343c in ?? () from /lib/libglib-2.0.so.0
#4  0x062e3ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x057269c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0630a48f in ?? () from /lib/libglib-2.0.so.0
#7  0x00115cc9 in start_thread () from /lib/libpthread.so.0
#8  0x0172e69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb1f07b70 (LWP 2986)):
#0  0x00fb2416 in __kernel_vsyscall ()
#1  0x0171fdf6 in poll () from /lib/libc.so.6
#2  0x062f0a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x062e343c in ?? () from /lib/libglib-2.0.so.0
#4  0x062e3848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x06fa959f in QEventDispatcherGlib::processEvents (this=0xaad95e8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x06f79609 in QEventLoop::processEvents (this=0xb1f07290, flags=) at kernel/qeventloop.cpp:149
#7  0x06f79a8a in QEventLoop::exec (this=0xb1f07290, flags=...) at kernel/qeventloop.cpp:201
#8  0x06e75b7e in QThread::exec (this=0xaad9180) at thread/qthread.cpp:490
#9  0x06f5835b in QInotifyFileSystemWatcherEngine::run (this=0xaad9180) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x06e78df9 in QThreadPrivate::start (arg=0xaad9180) at thread/qthread_unix.cpp:266
#11 0x00115cc9 in start_thread () from /lib/libpthread.so.0
#12 0x0172e69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7852930 (LWP 2984)):
[KCrash Handler]
#7  0x027d150c in QSortFilterProxyModelPrivate::create_mapping (this=0xa992df8, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:324
#8  0x027d257a in QSortFilterProxyModel::index (this=0xa990580, row=0, column=0, parent=...) at itemviews/qsortfilterproxymodel.cpp:1639
#9  0x027cf8e9 in QSortFilterProxyModelPrivate::update_source_sort_column (this=0xa992df8) at itemviews/qsortfilterproxymodel.cpp:445
#10 0x027d516d in QSortFilterProxyModelPrivate::clear_mapping (this=0xa992df8) at itemviews/qsortfilterproxymodel.cpp:303
#11 0x027cea74 in QAbstractProxyModel::qt_metacall (this=0xa990580, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbfae4b68) at .moc/release-shared/moc_qabstractproxymodel.cpp:72
#12 0x027d927d in QSortFilterProxyModel::qt_metacall (this=0xa990580, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbfae4b68) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:118
#13 0x0848d5ca in AccountsFilterProxyModel::qt_metacall (this=0xa990580, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbfae4b68) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/models/accountsmodel.moc:150
#14 0x0820e69a in AccountsViewFilterProxyModel::qt_metacall (this=0xa990580, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbfae4b68) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/widgets/kmymoneyaccounttreeview.moc:192
#15 0x06f808ca in QMetaObject::metacall (object=0xa990580, cl=201163160, idx=24, argv=0xbfae4b68) at kernel/qmetaobject.cpp:237
#16 0x06f936ad in QMetaObject::activate (sender=0xa857f88, m=0x70a8230, local_signal_index=0, argv=0xa992df8) at kernel/qobject.cpp:3280
#17 0x06f93bd3 in QObject::destroyed (this=0xa857f88, _t1=0xa857f88) at .moc/release-shared/moc_qobject.cpp:149
#18 0x06f94afa in QObject::~QObject (this=0xa857f88, __in_chrg=<value optimized out>) at kernel/qobject.cpp:842
#19 0x06f6e0c8 in QAbstractItemModel::~QAbstractItemModel (this=0xa857f88, __in_chrg=<value optimized out>) at kernel/qabstractitemmodel.cpp:1373
#20 0x027dfa28 in QStandardItemModel::~QStandardItemModel (this=0xa857f88, __in_chrg=<value optimized out>) at itemviews/qstandarditemmodel.cpp:2078
#21 0x0848dd77 in AccountsModel::~AccountsModel (this=0xa857f88, __in_chrg=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/models/accountsmodel.cpp:425
#22 0x06f8d816 in QObjectPrivate::deleteChildren (this=0xa53d3d0) at kernel/qobject.cpp:1957
#23 0x06f94f30 in QObject::~QObject (this=0x86e1514, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#24 0x0849a658 in Models::~Models (this=0x86e1514, __in_chrg=<value optimized out>) at /build/buildd/kmymoney-4.5/kmymoney/models/models.cpp:52
#25 0x0168d69e in ?? () from /lib/libc.so.6
#26 0x0168d70f in exit () from /lib/libc.so.6
#27 0x01f6c890 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#28 0x05f7ffda in KApplication::xioErrhandler (this=0xa551ee8, dpy=0xa568a40) at ../../kdeui/kernel/kapplication.cpp:419
#29 0x05f80016 in kde_xio_errhandler (dpy=0xa568a40) at ../../kdeui/kernel/kapplication.cpp:126
#30 0x01e2ac36 in _XIOError (dpy=0xa53d8e8) at ../../src/XlibInt.c:3138
#31 0x01e32a8a in process_responses (dpy=0xa568a40, wait_for_first_event=<value optimized out>, current_error=0x0, current_request=0) at ../../src/xcb_io.c:247
#32 0x01e33406 in _XEventsQueued (dpy=0xa568a40, mode=1) at ../../src/xcb_io.c:263
#33 0x01e33499 in _XFlush (dpy=0xa568a40) at ../../src/xcb_io.c:358
#34 0x01e0d2b8 in XFreeGC (dpy=0xa568a40, gc=0xc234d50) at ../../src/FreeGC.c:43
#35 0x023a8627 in QX11PaintEngine::end (this=0xc51a670) at painting/qpaintengine_x11.cpp:583
#36 0x022e2e18 in QPainter::end (this=0xbfae5144) at painting/qpainter.cpp:1948
#37 0x022e3b20 in QPainter::~QPainter (this=0xbfae5144, __in_chrg=<value optimized out>) at painting/qpainter.cpp:1504
#38 0x001b6c45 in MyMoneyAccount::accountPixmap (this=0xb09a038, reconcileFlag=false, size=0) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/mymoneyaccount.cpp:691
#39 0x08496596 in AccountsModel::Private::setAccountData(QStandardItemModel*, QModelIndex const&, MyMoneyAccount const&) ()
#40 0x08498853 in AccountsModel::Private::loadInstitution(QStandardItemModel*, MyMoneyAccount const&) ()
#41 0x08499490 in AccountsModel::Private::loadSubAccounts(QStandardItemModel*, QStandardItem*, QStandardItem*, QStringList const&) ()
#42 0x0849102f in AccountsModel::load (this=0xa857f88) at /build/buildd/kmymoney-4.5/kmymoney/models/accountsmodel.cpp:550
#43 0x0849a5c5 in Models::dataChanged (this=0x86e1514) at /build/buildd/kmymoney-4.5/kmymoney/models/models.cpp:68
#44 0x0849a871 in Models::qt_metacall (this=0x86e1514, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfae60dc) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/models/moc_models.cpp:73
#45 0x06f808ca in QMetaObject::metacall (object=0x86e1514, cl=201163160, idx=4, argv=0xbfae60dc) at kernel/qmetaobject.cpp:237
#46 0x06f936ad in QMetaObject::activate (sender=0x20254c, m=0x201bec, local_signal_index=0, argv=0xa992df8) at kernel/qobject.cpp:3280
#47 0x00192627 in MyMoneyFile::dataChanged (this=0x20254c) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/mymoney/mymoneyfile.moc:83
#48 0x0810ce71 in forceDataChanged (this=0xa84e9b0) at /build/buildd/kmymoney-4.5/kmymoney/mymoney/storage/../mymoneyfile.h:1366
#49 KMyMoneyView::initializeStorage (this=0xa84e9b0) at /build/buildd/kmymoney-4.5/kmymoney/views/kmymoneyview.cpp:990
#50 0x0810e61f in KMyMoneyView::readFile (this=0xa84e9b0, url=...) at /build/buildd/kmymoney-4.5/kmymoney/views/kmymoneyview.cpp:803
#51 0x080d0bc7 in KMyMoneyApp::slotFileOpenRecent (this=0xa6addd8, url=...) at /build/buildd/kmymoney-4.5/kmymoney/kmymoney.cpp:1502
#52 0x080d1954 in KMyMoneyApp::slotFileOpen (this=0xa6addd8) at /build/buildd/kmymoney-4.5/kmymoney/kmymoney.cpp:1407
#53 0x080d9a41 in KMyMoneyApp::qt_metacall (this=0xa6addd8, _c=QMetaObject::InvokeMetaMethod, _id=110, _a=0xbfae6ae8) at /build/buildd/kmymoney-4.5/obj-i686-linux-gnu/kmymoney/kmymoney.moc:513
#54 0x06f808ca in QMetaObject::metacall (object=0xa6addd8, cl=201163160, idx=156, argv=0xbfae6ae8) at kernel/qmetaobject.cpp:237
#55 0x06f936ad in QMetaObject::activate (sender=0xa6eeee0, m=0x2aeb370, local_signal_index=1, argv=0xa992df8) at kernel/qobject.cpp:3280
#56 0x02164f99 in QAction::triggered (this=0xa6eeee0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#57 0x021668dc in QAction::activate (this=0xa6eeee0, event=QAction::Trigger) at kernel/qaction.cpp:1256
#58 0x026327ef in QMenuPrivate::activateCausedStack (this=0xa819cc8, causedStack=..., action=0xa6eeee0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#59 0x02638a4b in QMenuPrivate::activateAction (this=0xa819cc8, action=0xa6eeee0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#60 0x026395e0 in QMenu::mouseReleaseEvent (this=0xa819ca8, e=0xbfae7390) at widgets/qmenu.cpp:2301
#61 0x060719a5 in KMenu::mouseReleaseEvent (this=0xa819ca8, e=0xbfae7390) at ../../kdeui/widgets/kmenu.cpp:458
#62 0x021cae08 in QWidget::event (this=0xa819ca8, event=0xbfae7390) at kernel/qwidget.cpp:8187
#63 0x0263b02f in QMenu::event (this=0xa819ca8, e=0xbfae7390) at widgets/qmenu.cpp:2410
#64 0x0216cfdc in QApplicationPrivate::notify_helper (this=0xa554a30, receiver=0xa819ca8, e=0xbfae7390) at kernel/qapplication.cpp:4396
#65 0x02173c2e in QApplication::notify (this=0xa551ee8, receiver=0xa819ca8, e=0xbfae7390) at kernel/qapplication.cpp:3959
#66 0x05f8082a in KApplication::notify (this=0xa551ee8, receiver=0xa819ca8, event=0xbfae7390) at ../../kdeui/kernel/kapplication.cpp:311
#67 0x06f7ab3b in QCoreApplication::notifyInternal (this=0xa551ee8, receiver=0xa819ca8, event=0xbfae7390) at kernel/qcoreapplication.cpp:732
#68 0x02172094 in sendEvent (receiver=0xa819ca8, event=0xbfae7390, alienWidget=0x0, nativeWidget=0xa819ca8, buttonDown=0x2b073c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#69 QApplicationPrivate::sendMouseEvent (receiver=0xa819ca8, event=0xbfae7390, alienWidget=0x0, nativeWidget=0xa819ca8, buttonDown=0x2b073c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#70 0x02201261 in QETWidget::translateMouseEvent (this=0xa819ca8, event=0xbfae78ac) at kernel/qapplication_x11.cpp:4337
#71 0x02200151 in QApplication::x11ProcessEvent (this=0xa551ee8, event=0xbfae78ac) at kernel/qapplication_x11.cpp:3414
#72 0x0222f36a in x11EventSourceDispatch (s=0xa558c00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#73 0x062df855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#74 0x062e3668 in ?? () from /lib/libglib-2.0.so.0
#75 0x062e3848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#76 0x06fa9565 in QEventDispatcherGlib::processEvents (this=0xa552880, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#77 0x0222ebe5 in QGuiEventDispatcherGlib::processEvents (this=0xa552880, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x06f79609 in QEventLoop::processEvents (this=0xbfae7ba4, flags=) at kernel/qeventloop.cpp:149
#79 0x06f79a8a in QEventLoop::exec (this=0xbfae7ba4, flags=...) at kernel/qeventloop.cpp:201
#80 0x06f7e00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#81 0x0216be07 in QApplication::exec () at kernel/qapplication.cpp:3672
#82 0x08086107 in main (argc=1, argv=0xbfae8034) at /build/buildd/kmymoney-4.5/kmymoney/main.cpp:260

Possible duplicates by query: bug 269866, bug 268049.

Reported using DrKonqi
Comment 1 Cristian Oneț 2011-05-14 10:27:25 UTC
The problem is the same, somehow the AccountsModel destructor hangs due the QSortFilterProxyModel.

*** This bug has been marked as a duplicate of bug 268049 ***