Bug 318472 - Crash when using "Last Year" for report.
Summary: Crash when using "Last Year" for report.
Status: RESOLVED DUPLICATE of bug 312676
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-17 00:31 UTC by Justin Zane Chudgar
Modified: 2013-09-12 08:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Zane Chudgar 2013-04-17 00:31:56 UTC
Application: kmymoney (4.6.3)
KDE Platform Version: 4.10.2
Qt Version: 4.8.3
Operating System: Linux 3.8.6-030806-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
Changing date of report to "Last Year", i.e. 01/01/2012-12/31/2012. Reports with all date, current year, etc. seem to work reliably. NOTE: the data is in a MySQL databased not a local file.

-- 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 0x7f12f758a780 (LWP 21076))]

Thread 2 (Thread 0x7f12df0ec700 (LWP 21077)):
#0  0x00007f12f478bd6f in __pthread_getspecific (key=3) at pthread_getspecific.c:33
#1  0x00007f12ed1c2b20 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f12ed19e03e in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f12ed19ec64 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f12ed19eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f12f367ac46 in QEventDispatcherGlib::processEvents (this=0x7f12d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f12f364b2ef in QEventLoop::processEvents (this=this@entry=0x7f12df0ebdd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f12f364b578 in QEventLoop::exec (this=0x7f12df0ebdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f12f354cb40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f12f362b9df in QInotifyFileSystemWatcherEngine::run (this=0x2b7fe10) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f12f354fb1c in QThreadPrivate::start (arg=0x2b7fe10) at thread/qthread_unix.cpp:338
#11 0x00007f12f4786e9a in start_thread (arg=0x7f12df0ec700) at pthread_create.c:308
#12 0x00007f12f1acccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f12f758a780 (LWP 21076)):
[KCrash Handler]
#6  0x000000000057efc9 in reports::PivotCell::operator+= (this=0x21, value=...) at /build/buildd/kmymoney-4.6.3/kmymoney/reports/pivotgrid.cpp:55
#7  0x000000000055da93 in reports::PivotTable::assignCell (this=this@entry=0x79f4590, outergroup=..., _row=..., column=column@entry=-24, value=..., budget=budget@entry=false, stockSplit=stockSplit@entry=false) at /build/buildd/kmymoney-4.6.3/kmymoney/reports/pivottable.cpp:1226
#8  0x0000000000555f84 in reports::PivotTable::init (this=this@entry=0x79f4590) at /build/buildd/kmymoney-4.6.3/kmymoney/reports/pivottable.cpp:326
#9  0x0000000000557409 in reports::PivotTable::PivotTable (this=0x79f4590, _config_f=...) at /build/buildd/kmymoney-4.6.3/kmymoney/reports/pivottable.cpp:94
#10 0x00000000004cafa1 in KReportsView::KReportTab::updateReport (this=0x428d150) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kreportsview.cpp:181
#11 0x00000000004cb0f4 in KReportsView::KReportTab::loadTab (this=<optimized out>) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kreportsview.cpp:151
#12 0x00000000004d36c1 in KReportsView::loadView (this=0x2d3ad00) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kreportsview.cpp:550
#13 0x00000000004d3f2d in KReportsView::slotLoadView (this=0x2d3ad00) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kreportsview.cpp:366
#14 0x00007f12f3661f8f in QMetaObject::activate (sender=0x7f12f73c2ae0 <MyMoneyFile::file>, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#15 0x00007f12f715f1b9 in MyMoneyFile::commitTransaction (this=this@entry=0x7f12f73c2ae0 <MyMoneyFile::file>) at /build/buildd/kmymoney-4.6.3/kmymoney/mymoney/mymoneyfile.cpp:423
#16 0x00007f12f715f2d5 in MyMoneyFileTransaction::commit (this=0x7fff1bf34d80) at /build/buildd/kmymoney-4.6.3/kmymoney/mymoney/mymoneyfile.cpp:2832
#17 0x00000000004cc8b7 in KReportsView::slotConfigure (this=0x2d3ad00) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kreportsview.cpp:770
#18 0x00007f12f3661f8f in QMetaObject::activate (sender=0x440cb20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1bf352f0) at kernel/qobject.cpp:3547
#19 0x00007f12f2de3422 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#20 0x00007f12f2b36d2e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x4019030) at widgets/qabstractbutton.cpp:548
#21 0x00007f12f2b37560 in QAbstractButtonPrivate::click (this=this@entry=0x4019030) at widgets/qabstractbutton.cpp:541
#22 0x00007f12f2b377cc in QAbstractButton::mouseReleaseEvent (this=0x440cb20, e=0x7fff1bf35b90) at widgets/qabstractbutton.cpp:1123
#23 0x00007f12f27c8850 in QWidget::event (this=0x440cb20, event=0x7fff1bf35b90) at kernel/qwidget.cpp:8371
#24 0x00007f12f2778e9c in QApplicationPrivate::notify_helper (this=this@entry=0x22dc330, receiver=receiver@entry=0x440cb20, e=e@entry=0x7fff1bf35b90) at kernel/qapplication.cpp:4562
#25 0x00007f12f277db6b in QApplication::notify (this=<optimized out>, receiver=0x440cb20, e=0x7fff1bf35b90) at kernel/qapplication.cpp:4105
#26 0x00007f12f5bf9ad6 in KApplication::notify (this=0x22d1aa0, receiver=0x440cb20, event=0x7fff1bf35b90) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007f12f364c59e in QCoreApplication::notifyInternal (this=0x22d1aa0, receiver=0x440cb20, event=0x7fff1bf35b90) at kernel/qcoreapplication.cpp:915
#28 0x00007f12f2779cd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QApplicationPrivate::sendMouseEvent (receiver=0x440cb20, event=0x7fff1bf35b90, alienWidget=0x440cb20, nativeWidget=0x2d3ad00, buttonDown=0x7f12f3255308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#30 0x00007f12f27f7554 in QETWidget::translateMouseEvent (this=this@entry=0x2d3ad00, event=event@entry=0x7fff1bf36310) at kernel/qapplication_x11.cpp:4622
#31 0x00007f12f27f644f in QApplication::x11ProcessEvent (this=0x22d1aa0, event=0x7fff1bf36310) at kernel/qapplication_x11.cpp:3737
#32 0x00007f12f281dfa2 in x11EventSourceDispatch (s=0x22e2770, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f12ed19eab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f12ed19ede8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f12ed19eea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f12f367ac26 in QEventDispatcherGlib::processEvents (this=0x22aaad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f12f281dc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f12f364b2ef in QEventLoop::processEvents (this=this@entry=0x7fff1bf366e0, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f12f364b578 in QEventLoop::exec (this=0x7fff1bf366e0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f12f3650738 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#41 0x0000000000457dd6 in runKMyMoney (splash=splash@entry=0x249f120, a=0x22d1aa0) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:282
#42 0x000000000045659f in main (argc=1, argv=0x7fff1bf371d8) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:181

Possible duplicates by query: bug 313332, bug 313331, bug 312676, bug 308399.

Reported using DrKonqi
Comment 1 Cristian Oneț 2013-09-12 08:45:17 UTC
Based on the backtrace and the fact that this happens with the SQL backend this must be a duplicate of BUG 312676.

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