Application: kmymoney (3.98.2-svn1158398) KDE Platform Version: 4.4.5 (KDE 4.4.5) Qt Version: 4.6.3 Operating System: Linux 2.6.34-ARCH i686 Distribution (Platform): Archlinux Packages -- Information about the crash: When i try to open an account ledger view for example from home screen by clicking on a account it crashes. Build from SVN Revision: 1158398 The crash can be reproduced every time. -- Backtrace: Application: KMyMoney (kmymoney), signal: Segmentation fault [KCrash Handler] #6 0xb626cbf1 in QDateTime::QDateTime(QDateTime const&) () from /usr/lib/libQtCore.so.4 #7 0x08344a5e in KMyMoneySettings::startDate (this=0x9ce27f0) at /home/danielw/dev/kmymoney/build/kmymoney/widgets/kmymoneysettings.h:997 #8 KMyMoneyRegister::Register::addGroupMarkers (this=0x9ce27f0) at /home/danielw/dev/kmymoney/kmymoney/kmymoney/widgets/register.cpp:2002 #9 0x08167e2a in KGlobalLedgerView::loadView (this=0x9c9c490) at /home/danielw/dev/kmymoney/kmymoney/kmymoney/views/kgloballedgerview.cpp:523 #10 0x0816e520 in KGlobalLedgerView::showEvent (this=0x9c9c490, event=0xbf8f6bc0) at /home/danielw/dev/kmymoney/kmymoney/kmymoney/views/kgloballedgerview.cpp:1306 #11 0xb58b24d2 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #12 0xb585b194 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #13 0xb585f42b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #14 0xb6cfd44a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #15 0xb634ef1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #16 0xb58b1419 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4 #17 0xb58b19eb in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4 #18 0xb5893e82 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4 #19 0xb5893fed in QStackedLayout::setCurrentWidget(QWidget*) () from /usr/lib/libQtGui.so.4 #20 0xb5cf80fc in QStackedWidget::setCurrentWidget(QWidget*) () from /usr/lib/libQtGui.so.4 #21 0xb6d3ab92 in ?? () from /usr/lib/libkdeui.so.5 #22 0xb6d3b03f in KPageView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5 #23 0xb6d3eeaa in KPageWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5 #24 0x0810191a in KMyMoneyView::qt_metacall (this=0x997eea8, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf8f6ee4) at /home/danielw/dev/kmymoney/build/kmymoney/views/kmymoneyview.moc:103 #25 0xb6354f0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #26 0xb6363feb in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #27 0xb5e1a5c9 in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4 #28 0xb5e1a702 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4 #29 0xb6d3a898 in KPageView::setCurrentPage(QModelIndex const&) () from /usr/lib/libkdeui.so.5 #30 0xb6d3ec4d in KPageWidget::setCurrentPage(KPageWidgetItem*) () from /usr/lib/libkdeui.so.5 #31 0x081015ab in KMyMoneyView::slotLedgerSelected (this=0x997eea8, _accId=..., transaction=...) at /home/danielw/dev/kmymoney/kmymoney/kmymoney/views/kmymoneyview.cpp:499 #32 0x08101aec in KMyMoneyView::qt_metacall (this=0x997eea8, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf8f71c4) at /home/danielw/dev/kmymoney/build/kmymoney/views/kmymoneyview.moc:115 #33 0xb6354f0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #34 0xb6363feb in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #35 0x08170c59 in KHomeView::ledgerSelected (this=0x99b85a8, _t1=..., _t2=...) at /home/danielw/dev/kmymoney/build/kmymoney/views/khomeview.moc:104 #36 0x08187133 in KHomeView::slotOpenUrl (this=0x99b85a8, url=...) at /home/danielw/dev/kmymoney/kmymoney/kmymoney/views/khomeview.cpp:1086 #37 0x08187a4b in KHomeView::qt_metacall (this=0x99b85a8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8f73d0) at /home/danielw/dev/kmymoney/build/kmymoney/views/khomeview.moc:89 #38 0xb6354f0a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #39 0xb6363feb in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #40 0xb543b97f in KParts::BrowserExtension::openUrlRequest(KUrl const&, KParts::OpenUrlArguments const&, KParts::BrowserArguments const&) () from /usr/lib/libkparts.so.4 #41 0xb6fd8438 in KHTMLPart::urlSelected(QString const&, int, int, QString const&, KParts::OpenUrlArguments const&, KParts::BrowserArguments const&) () from /usr/lib/libkhtml.so.5 #42 0xb708baa1 in ?? () from /usr/lib/libkhtml.so.5 #43 0xb7033d38 in ?? () from /usr/lib/libkhtml.so.5 #44 0xb7034084 in ?? () from /usr/lib/libkhtml.so.5 #45 0xb6f9aab5 in KHTMLView::dispatchMouseEvent(int, DOM::NodeImpl*, DOM::NodeImpl*, bool, int, QMouseEvent*, bool, int, int) () from /usr/lib/libkhtml.so.5 #46 0xb6f9bb86 in KHTMLView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkhtml.so.5 #47 0xb58b23aa in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #48 0xb5c94f73 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #49 0xb6fa3084 in KHTMLView::widgetEvent(QEvent*) () from /usr/lib/libkhtml.so.5 #50 0xb6fa3412 in KHTMLView::eventFilter(QObject*, QEvent*) () from /usr/lib/libkhtml.so.5 #51 0xb634f0ba in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #52 0xb585b170 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #53 0xb585fd39 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #54 0xb6cfd44a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #55 0xb634ef1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #56 0xb585c047 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #57 0xb58e109c in ?? () from /usr/lib/libQtGui.so.4 #58 0xb58e01e9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #59 0xb59077f2 in ?? () from /usr/lib/libQtGui.so.4 #60 0xb4dc1f72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #61 0xb4dc2750 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #62 0xb4dc2a04 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #63 0xb6379ecc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #64 0xb5907435 in ?? () from /usr/lib/libQtGui.so.4 #65 0xb634e169 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #66 0xb634e3da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #67 0xb6352cbf in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #68 0xb58588b7 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #69 0x0808b155 in main (argc=) at /home/danielw/dev/kmymoney/kmymoney/kmymoney/main.cpp:260 Reported using DrKonqi
Did you install from the kmymoney-svn AUR package or you compiled it yourself? Did you start a new file or open an existing one? I tried the AUR package here, just in case, but I can't reproduce the crash.
I also expect this to be some install/packaging problem. The crash happens in generated code while retrieving the start date from the settings. Here's the code line: if (KMyMoneyGlobalSettings::startDate().date() != QDate(1900, 1, 1)) Did you have KMyMoney installed before? Are there probably some old files still around due to the old installation?
OK, thank your for your fast answers. I didn't use the AUR package but compiled it on my own. So yes, there might be a problem on my site. When I am at home after work, I will try to delete everything it installs and make a clean rebuild. It tried to Debug it yesterday, but well it looks like the Copy-Constructor (of QDateTime fails. But I don't even understand how that could happen. The only possible thing I can think of is that the KMyMoneyGlobalSettings Singleton instance is not inizialized or the pointer not correct in the static var, so that KMyMoneyGlobalSettings::self() returns a broken pointer. But well, will try to clean rebuild everything and report back then. But still I am curious what is causing this. Some BIC already compiled parts which got somehow linked (static or dynamicly?) with the new compiled one?
So far, it looks like an install problem. Please check you don't have anything left behind by previous installs.