Bug 313331

Summary: KMM crash when creating a report
Product: [Applications] kmymoney Reporter: nicolasb.info
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: onet.cristian
Priority: NOR    
Version: 4.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nicolasb.info 2013-01-15 23:33:05 UTC
Application: kmymoney (4.6.1)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
This is a sample failing report:



<REPORTS>
 <REPORT includesprice="0" includesactuals="0" columnsaredays="1" includestransfers="1" loans="0" id="R000008" comment="Completo" columntype="months" rowtype="assetliability" name="Proyeccion Valor neto a 3 meses" chartgridlines="1" includesaverageprice="0" includesmovingaverage="0" chartbydefault="1" skipZero="0" datelock="last3tonext3months" investments="0" charttype="line" favorite="1" showrowtotals="0" chartdatalabels="1" convertcurrency="1" chartlinewidth="2" detail="total" includeschedules="1" tax="0" group="Net Worth" includesforecast="0" includeunused="0" mixedtime="0" type="pivottable 1.15">
  <PAYEE/>
  <ACCOUNTGROUP group="asset"/>
  <ACCOUNTGROUP group="liability"/>
 </REPORT>
</REPORTS>

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5643feb780 (LWP 5282))]

Thread 3 (Thread 0x7f562b88a700 (LWP 5283)):
#0  0x00007f563e6de9f0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f563e6c52e8 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f5639d36036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5639d36164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f56402a3426 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f5640272c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f5640272ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f5640171fa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f56402529ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f5640174fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f56413e4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f563e6d0cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f56238a8700 (LWP 5294)):
#0  0x00007f56413e90fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f564017543f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f56401685bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f5640174fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f56413e4e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f563e6d0cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5643feb780 (LWP 5282)):
[KCrash Handler]
#6  reports::PivotCell::operator+= (this=0xadadadadadadadad, value=...) at /build/buildd/kmymoney-4.6.1/kmymoney/reports/pivotgrid.cpp:55
#7  0x000000000056d205 in reports::PivotTable::assignCell (this=<optimized out>, outergroup=..., _row=..., column=-9, value=..., budget=false, stockSplit=false) at /build/buildd/kmymoney-4.6.1/kmymoney/reports/pivottable.cpp:1220
#8  0x00000000005643a2 in reports::PivotTable::init (this=0x3a20250) at /build/buildd/kmymoney-4.6.1/kmymoney/reports/pivottable.cpp:326
#9  0x00000000005662cd in reports::PivotTable::PivotTable (this=0x3a20250, _config_f=...) at /build/buildd/kmymoney-4.6.1/kmymoney/reports/pivottable.cpp:94
#10 0x00000000004d74f9 in KReportsView::KReportTab::updateReport (this=0x4a33480) at /build/buildd/kmymoney-4.6.1/kmymoney/views/kreportsview.cpp:181
#11 0x00000000004d7612 in KReportsView::KReportTab::showEvent (this=0x4a33480, event=<optimized out>) at /build/buildd/kmymoney-4.6.1/kmymoney/views/kreportsview.cpp:159
#12 0x00007f563f3ca3f5 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007f563f379894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007f563f37e713 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f564260c3f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007f5640273e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f563f3cc810 in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f563f3ccb02 in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f563f3ae389 in QStackedLayout::setCurrentIndex(int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007f563f7f348e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007f5640288281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007f563f7e898e in QTabBar::currentChanged(int) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00000000004d539b in KReportsView::slotOpenReport (this=0x24f18f0, id=...) at /build/buildd/kmymoney-4.6.1/kmymoney/views/kreportsview.cpp:930
#24 0x00000000004ba569 in KMyMoneyView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/kmymoney-4.6.1/obj-x86_64-linux-gnu/kmymoney/views/kmymoneyview.moc:99
#25 0x00007f5640288281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x000000000051d935 in KHomeView::reportSelected (this=<optimized out>, _t1=...) at /build/buildd/kmymoney-4.6.1/obj-x86_64-linux-gnu/kmymoney/views/khomeview.moc:132
#27 0x0000000000530ba5 in KHomeView::slotOpenUrl (this=0x1edbe30, url=...) at /build/buildd/kmymoney-4.6.1/kmymoney/views/khomeview.cpp:1124
#28 0x00007f5640288281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007f563dc82cff in KParts::BrowserExtension::openUrlRequest(KUrl const&, KParts::OpenUrlArguments const&, KParts::BrowserArguments const&) () from /usr/lib/libkparts.so.4
#30 0x00007f5642c5e68d in KHTMLPart::urlSelected(QString const&, int, int, QString const&, KParts::OpenUrlArguments const&, KParts::BrowserArguments const&) () from /usr/lib/libkhtml.so.5
#31 0x00007f5642d202ef in ?? () from /usr/lib/libkhtml.so.5
#32 0x00007f5642cc7eb1 in ?? () from /usr/lib/libkhtml.so.5
#33 0x00007f5642cc836e in ?? () from /usr/lib/libkhtml.so.5
#34 0x00007f5642c1faf2 in KHTMLView::dispatchMouseEvent(int, DOM::NodeImpl*, DOM::NodeImpl*, bool, int, QMouseEvent*, bool, int, int) () from /usr/lib/libkhtml.so.5
#35 0x00007f5642c208e6 in KHTMLView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkhtml.so.5
#36 0x00007f563f3ca144 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007f563f78a3b6 in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007f5642c2834d in KHTMLView::widgetEvent(QEvent*) () from /usr/lib/libkhtml.so.5
#39 0x00007f5642c27ae4 in KHTMLView::eventFilter(QObject*, QEvent*) () from /usr/lib/libkhtml.so.5
#40 0x00007f5640274028 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007f563f37985f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007f563f37f0bf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#43 0x00007f564260c3f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x00007f5640273e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00007f563f37a862 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#46 0x00007f563f3f9bf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007f563f3f8bae in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#48 0x00007f563f4220d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#49 0x00007f5639d35d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f5639d360a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f5639d36164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f56402a33bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#53 0x00007f563f421d5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#54 0x00007f5640272c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#55 0x00007f5640272ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#56 0x00007f5640277f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#57 0x0000000000457dcd in runKMyMoney (splash=<optimized out>, a=<optimized out>) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:282
#58 0x00000000004564f3 in main (argc=2, argv=0x7ffff512c9c8) at /build/buildd/kmymoney-4.6.1/kmymoney/main.cpp:181

This bug may be a duplicate of or related to bug 312676.

Possible duplicates by query: bug 312676, bug 308399.

Reported using DrKonqi
Comment 1 Cristian OneČ› 2013-01-26 09:46:31 UTC

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