Version: (using KDE 4.3.4) OS: Linux Installed from: openSUSE RPMs Whenever I try to create a graph the application crashes. Looks like this could be related to the recent changes to libkdchart or me upgrading to KDE 4.3.5 and Qt 4.6.1. I have recompiled everything already twice, but it does not solve the problem. It does not matter if I turn on the networth chart on the homepage or select the account balance graph. It crashes in the same location. Workaround if it crashes upon application startup: deselect the networth forecast on the home page. Start KMyMoney using the -n parameter to skip loading the last file. Here's the backtrace when selecting the account balance chart: Application: KMyMoney (kmymoney), signal: Aborted [Current thread is 1 (Thread 0xb4211700 (LWP 20152))] Thread 2 (Thread 0xb0b40b90 (LWP 20153)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5065e83 in ?? () from /lib/libc.so.6 #2 0xb4ff94d1 in ?? () from /lib/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 1 (Thread 0xb4211700 (LWP 20152)): [KCrash Handler] #6 0xffffe430 in __kernel_vsyscall () #7 0xb4fb2990 in raise () from /lib/libc.so.6 #8 0xb4fb42c8 in abort () from /lib/libc.so.6 #9 0xb4fee6c5 in ?? () from /lib/libc.so.6 #10 0xb4ff4654 in ?? () from /lib/libc.so.6 #11 0xb4ff5d33 in ?? () from /lib/libc.so.6 #12 0xb4ff5f3c in free () from /lib/libc.so.6 #13 0xb51d6ec1 in operator delete(void*) () from /usr/lib/libstdc++.so.6 #14 0xb53581f2 in ?? () from /usr/lib/libQtGui.so.4 #15 0xb5e1bbd9 in QObject::~QObject() () from /usr/lib/libQtCore.so.4 #16 0xb537d9da in QLayout::~QLayout() () from /usr/lib/libQtGui.so.4 #17 0xb535a9bb in QBoxLayout::~QBoxLayout() () from /usr/lib/libQtGui.so.4 #18 0xb535aa25 in QVBoxLayout::~QVBoxLayout() () from /usr/lib/libQtGui.so.4 #19 0xb5378081 in ?? () from /usr/lib/libQtGui.so.4 #20 0xb537813b in QGridLayout::~QGridLayout() () from /usr/lib/libQtGui.so.4 #21 0xb535a961 in QBoxLayout::~QBoxLayout() () from /usr/lib/libQtGui.so.4 #22 0xb535aa25 in QVBoxLayout::~QVBoxLayout() () from /usr/lib/libQtGui.so.4 #23 0xb535a961 in QBoxLayout::~QBoxLayout() () from /usr/lib/libQtGui.so.4 #24 0xb535ab15 in QHBoxLayout::~QHBoxLayout() () from /usr/lib/libQtGui.so.4 #25 0xb75f21b4 in KDChart::Chart::Private::createLayouts (this=0x8f29c50, w=0x9030450) at /home/thb/devel/kmymoney4/libkdchart/src/KDChartChart.cpp:689 #26 0xb75f33f6 in KDChart::Chart::Private::slotRelayout (this=0x8f29c50) at /home/thb/devel/kmymoney4/libkdchart/src/KDChartChart.cpp:782 #27 0xb75f3ac5 in KDChart::Chart::addHeaderFooter (this=0x9030450, headerFooter=0x8f2c730) at /home/thb/devel/kmymoney4/libkdchart/src/KDChartChart.cpp:1157 #28 0x081a2b58 in reports::KReportChartView::drawPivotChart (this=0x9030450, grid=@0xbf827814, config=@0xbf82783c, numberColumns=184, columnHeadings=@0xbf82781c, rowTypeList=@0xbf827834, columnTypeHeaderList=@0xbf827838) at /home/thb/devel/kmymoney4/kmymoney/reports/kreportchartview.cpp:92 #29 0x081aeeda in reports::PivotTable::drawChart (this=0xbf827810, chartView=@0x9030450) at /home/thb/devel/kmymoney4/kmymoney/reports/pivottable.cpp:1827 #30 0x082720da in KBalanceChartDlg::drawChart (this=0x9386bb8, account=@0x87aa0dc) at /home/thb/devel/kmymoney4/kmymoney/dialogs/kbalancechartdlg.cpp:90 #31 0x08272ffe in KBalanceChartDlg (this=0x9386bb8, account=@0x87aa0dc, parent=0x87a86e0) at /home/thb/devel/kmymoney4/kmymoney/dialogs/kbalancechartdlg.cpp:52 #32 0x080943b4 in KMyMoneyApp::slotAccountChart (this=0x87a86e0) at /home/thb/devel/kmymoney4/kmymoney/kmymoney.cpp:2156 #33 0x080dd830 in KMyMoneyApp::qt_metacall (this=0x87a86e0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf827f9c) at /home/thb/devel/kmymoney4/build/kmymoney/kmymoney.moc:419 #34 0xb5e0a3e5 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #35 0xb5e19249 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #36 0xb53407e9 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #37 0xb5342a9f in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #38 0xb5832bb2 in QToolButton::nextCheckState() () from /usr/lib/libQtGui.so.4 #39 0xb574efc3 in ?? () from /usr/lib/libQtGui.so.4 #40 0xb574f2be in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #41 0xb583307c in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #42 0xb53a6920 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #43 0xb574e04e in QAbstractButton::event(QEvent*) () from /usr/lib/libQtGui.so.4 #44 0xb5835c3a in QToolButton::event(QEvent*) () from /usr/lib/libQtGui.so.4 #45 0xb534724c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #46 0xb534f42d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #47 0xb69bd94d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #48 0xb5e04f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #49 0xb534e3c1 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #50 0xb53da636 in ?? () from /usr/lib/libQtGui.so.4 #51 0xb53d9945 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #52 0xb5405b12 in ?? () from /usr/lib/libQtGui.so.4 #53 0xb475c9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #54 0xb4760083 in ?? () from /usr/lib/libglib-2.0.so.0 #55 0xb4760241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #56 0xb5e31971 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #57 0xb5405625 in ?? () from /usr/lib/libQtGui.so.4 #58 0xb5e0352a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #59 0xb5e03972 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #60 0xb5e06169 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #61 0xb53472f7 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #62 0x08090561 in main (argc=1, argv=0xbf829464) at /home/thb/devel/kmymoney4/kmymoney/main.cpp:273
This could be related to the glibc bug : bug 196207. Check this: - Quit KMyMoney - Start Konsole - Type "export QT_NO_GLIB=1" + Enter - Type "export MALLOC_CHECK_=" + Enter - Type "kmymoney" + Enter - Check if it crashes or not If it doesn't crash, then it is likely to be bug 196207. Thanks
False alert. It was a messed up installation. It was partly caused by an accidental installation in /usr/local and one in /usr where one was based on Qt 4.5 and the other on Qt 4.6. After cleaning up the whole mess, things are working fine again. Things I found: * install_manifest.txt still had entries pointing to /usr/local though CMAKE_INSTALL_PREFIX pointed to /usr * "make clean && make" sometimes is not enough. Some of the generated files had not been removed and were not re-generated BTW: Dario's suggestion did not help.
Thanks for the updated.