Bug 290872

Summary: Application 'kmymoney' crashing
Product: [Applications] kmymoney Reporter: raphael.loeffel
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 4.6.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description raphael.loeffel 2012-01-07 12:19:24 UTC
Application: kmymoney (4.6.0)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.41.4-1.fc15.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I started my machine then I started KMyMoney.and KmyMony crash

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
[KCrash Handler]
#7  0x45a6fb47 in __gmpq_mul () from /usr/lib/sse2/libgmp.so.3
#8  0x4138b501 in AlkValue::operator* (this=0x41c7387c, right=...) at /usr/src/debug/libalkimia-4.3.1/alkvalue.cpp:406
#9  0x006965fb in MyMoneyMoney::operator* (this=0x41c7387c, _b=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/mymoney/mymoneymoney.cpp:272
#10 0x081a421a in reports::PivotTable::calculateBudgetMapping (this=0xbfa09fa8) at /usr/src/debug/kmymoney-4.6.0/kmymoney/reports/pivottable.cpp:880
#11 0x081a8a04 in reports::PivotTable::init (this=0xbfa09fa8) at /usr/src/debug/kmymoney-4.6.0/kmymoney/reports/pivottable.cpp:169
#12 0x081a94fb in (anonymous namespace)::PivotTable::PivotTable (this=0xbfa09fa8, _config_f=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/reports/pivottable.cpp:94
#13 0x0816979b in KHomeView::showBudget (this=0xa8254e0) at /usr/src/debug/kmymoney-4.6.0/kmymoney/views/khomeview.cpp:1340
#14 0x08171958 in KHomeView::loadView (this=0xa8254e0) at /usr/src/debug/kmymoney-4.6.0/kmymoney/views/khomeview.cpp:276
#15 0x08172a31 in KHomeView::slotLoadView (this=0xa8254e0) at /usr/src/debug/kmymoney-4.6.0/kmymoney/views/khomeview.cpp:171
#16 0x08172afc in KHomeView::qt_metacall (this=0xa8254e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfa0a564) at /usr/src/debug/kmymoney-4.6.0/i686-redhat-linux-gnu/kmymoney/views/khomeview.moc:90
#17 0x41b4427e in metacall (argv=0xbfa0a564, idx=31, cl=QMetaObject::InvokeMetaMethod, object=0xa8254e0) at kernel/qmetaobject.cpp:237
#18 QMetaObject::metacall (object=0xa8254e0, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbfa0a564) at kernel/qmetaobject.cpp:232
#19 0x41b5219a in QMetaObject::activate (sender=0x72e4c0, m=0x72d518, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#20 0x006bd876 in MyMoneyFile::dataChanged (this=0x72e4c0) at /usr/src/debug/kmymoney-4.6.0/i686-redhat-linux-gnu/kmymoney/mymoney/mymoneyfile.moc:99
#21 0x006d118b in MyMoneyFile::attachStorage (this=0x72e4c0, storage=0xb1c0af8) at /usr/src/debug/kmymoney-4.6.0/kmymoney/mymoney/mymoneyfile.cpp:328
#22 0x080fc87f in KMyMoneyView::readFile (this=0xa7e5998, url=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/views/kmymoneyview.cpp:826
#23 0x080cb65a in KMyMoneyApp::slotFileOpenRecent (this=0xa67d6a8, url=...) at /usr/src/debug/kmymoney-4.6.0/kmymoney/kmymoney.cpp:1512
#24 0x0808a548 in runKMyMoney (a=0xb6bac10, splash=0xbfa0ac44) at /usr/src/debug/kmymoney-4.6.0/kmymoney/main.cpp:269
#25 0x08088a1a in main (argc=1, argv=0xbfa0af34) at /usr/src/debug/kmymoney-4.6.0/kmymoney/main.cpp:181

Reported using DrKonqi
Comment 1 Alvaro Soliverez 2012-01-07 12:35:30 UTC
As a workaround, start from a terminal with kmymoney -n
Then go to Setting, Home page settings, and uncheck the Budget widget.
Then open your file.
That should work. Run the consistency check, and if possible, save as an anonymous file and upload that file here, so we can use it to fix the problem.
Comment 2 Thomas Baumgart 2012-01-07 17:37:32 UTC
You need to save the file in anonymous format (use 'Save as' and select 'Anonymous files' as filter before you run the consistency check. Just wanted to emphasize that.
Comment 3 raphael.loeffel 2012-01-08 12:13:29 UTC
It works again. Thanks