Bug 282107 - Kmoney fails to load, crashes when started
Summary: Kmoney fails to load, crashes when started
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 283254 308399 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-15 22:13 UTC by ha2400
Modified: 2012-11-29 16:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ha2400 2011-09-15 22:13:19 UTC
Application: kmymoney (4.5.2)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.1-1.2-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: No other programs running tried to start Kmoney which crash

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Floating point exception
[Current thread is 1 (Thread 0x7fc8ce617760 (LWP 27683))]

Thread 2 (Thread 0x7fc8b4529700 (LWP 27686)):
#0  0x00007fc8c90f7503 in poll () from /lib64/libc.so.6
#1  0x00007fc8b3b1b9cd in __libc_res_nsend () from /usr/lib64/libresolv.so
#2  0x00007fc8b3b19915 in __libc_res_nquery () from /usr/lib64/libresolv.so
#3  0x00007fc8b3b19ec1 in __libc_res_nquerydomain () from /usr/lib64/libresolv.so
#4  0x00007fc8b3b1a4cd in __libc_res_nsearch () from /usr/lib64/libresolv.so
#5  0x00007fc8b34db93e in _nss_dns_gethostbyname4_r () from /lib64/libnss_dns.so.2
#6  0x00007fc8c90ea8c4 in gaih_inet () from /lib64/libc.so.6
#7  0x00007fc8c90ecbf7 in getaddrinfo () from /lib64/libc.so.6
#8  0x00007fc8c75acd15 in ?? () from /usr/lib64/libQtNetwork.so.4
#9  0x00007fc8c75a01a9 in QHostInfo::fromName(QString const&) () from /usr/lib64/libQtNetwork.so.4
#10 0x00007fc8cb77462b in ?? () from /usr/lib64/libkio.so.5
#11 0x00007fc8cb7757ac in ?? () from /usr/lib64/libkio.so.5
#12 0x00007fc8caa92e28 in ?? () from /usr/lib64/libQtCore.so.4
#13 0x00007fc8caa9ca5e in ?? () from /usr/lib64/libQtCore.so.4
#14 0x00007fc8cbc64a3f in start_thread () from /lib64/libpthread.so.0
#15 0x00007fc8c910067d in clone () from /lib64/libc.so.6
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc8ce617760 (LWP 27683)):
[KCrash Handler]
#6  0x00007fc8ce1bc580 in MyMoneyMoney::getLcd (this=0x7fff749f26b0, b=<value optimized out>) at /usr/src/debug/kmymoney-4.5.2/kmymoney/mymoney/mymoneymoney.cpp:567
#7  0x00007fc8ce1bc878 in MyMoneyMoney::operator+ (this=<value optimized out>, _b=<value optimized out>) at /usr/src/debug/kmymoney-4.5.2/kmymoney/mymoney/mymoneymoney.cpp:431
#8  0x0000000000589e6f in operator+= (this=0x1a79fc0, value=...) at /usr/src/debug/kmymoney-4.5.2/build/kmymoney/mymoneymoney.h:606
#9  reports::PivotCell::operator+= (this=0x1a79fc0, value=...) at /usr/src/debug/kmymoney-4.5.2/kmymoney/reports/pivotgrid.cpp:59
#10 0x0000000000569f3c in reports::PivotTable::assignCell (this=0x7fff749f3920, outergroup=..., _row=<value optimized out>, column=1, value=..., budget=true, stockSplit=false) at /usr/src/debug/kmymoney-4.5.2/kmymoney/reports/pivottable.cpp:1214
#11 0x000000000055d495 in reports::PivotTable::calculateBudgetMapping (this=0x7fff749f3920) at /usr/src/debug/kmymoney-4.5.2/kmymoney/reports/pivottable.cpp:902
#12 0x000000000056604d in reports::PivotTable::init (this=0x7fff749f3920) at /usr/src/debug/kmymoney-4.5.2/kmymoney/reports/pivottable.cpp:169
#13 0x0000000000566a0e in reports::PivotTable::PivotTable (this=0x7fff749f3920, _config_f=...) at /usr/src/debug/kmymoney-4.5.2/kmymoney/reports/pivottable.cpp:94
#14 0x0000000000529ccd in KHomeView::showBudget (this=0xed6d10) at /usr/src/debug/kmymoney-4.5.2/kmymoney/views/khomeview.cpp:1324
#15 0x0000000000531130 in KHomeView::loadView (this=0xed6d10) at /usr/src/debug/kmymoney-4.5.2/kmymoney/views/khomeview.cpp:267
#16 0x0000000000532115 in KHomeView::slotLoadView (this=0xed6d10) at /usr/src/debug/kmymoney-4.5.2/kmymoney/views/khomeview.cpp:171
#17 0x00000000005321c4 in KHomeView::qt_metacall (this=0xed6d10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff749f4790) at /usr/src/debug/kmymoney-4.5.2/build/kmymoney/views/khomeview.moc:90
#18 0x00007fc8cab9adef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00000000004c44be in forceDataChanged (this=0xdfc1f0) at /usr/src/debug/kmymoney-4.5.2/kmymoney/mymoney/mymoneyfile.h:1366
#20 KMyMoneyView::initializeStorage (this=0xdfc1f0) at /usr/src/debug/kmymoney-4.5.2/kmymoney/views/kmymoneyview.cpp:992
#21 0x00000000004c5a9c in KMyMoneyView::readFile (this=0xdfc1f0, url=<value optimized out>) at /usr/src/debug/kmymoney-4.5.2/kmymoney/views/kmymoneyview.cpp:805
#22 0x000000000049961e in KMyMoneyApp::slotFileOpenRecent (this=0xc9b300, url=...) at /usr/src/debug/kmymoney-4.5.2/kmymoney/kmymoney.cpp:1503
#23 0x0000000000459d7f in main (argc=1, argv=0x7fff749f6438) at /usr/src/debug/kmymoney-4.5.2/kmymoney/main.cpp:247

Possible duplicates by query: bug 269637, bug 255135.

Reported using DrKonqi
Comment 1 Cristian Oneț 2011-11-28 06:02:59 UTC
Could you provide an anonymous file so we can try to fix this? See
http://kmymoney2.sourceforge.net/kde4/online-manual/details.formats.anonymous.html
for more details on howto do that.
Comment 2 Cristian Oneț 2011-11-28 06:05:11 UTC
*** Bug 283254 has been marked as a duplicate of this bug. ***
Comment 3 Cristian Oneț 2012-01-06 09:48:03 UTC
*** Bug 290737 has been marked as a duplicate of this bug. ***
Comment 4 Alvaro Soliverez 2012-04-28 21:13:35 UTC
Several fixes have gone into that area, and in the meantime, the 4.5.x series is not maintained anymore. Please update to 4.6.0 or newer
Comment 5 Cristian Oneț 2012-10-23 16:29:45 UTC
Git commit e1731c698a6da61198557c8f1d0f40f935d04474 by Cristian Oneț.
Committed on 23/10/2012 at 18:26.
Pushed by conet into branch 'master'.

Add an extra check that should be necessary in PivotTable::assignCell determined just by looking at the code.
REVIEW: 103636

M  +2    -0    kmymoney/reports/pivottable.cpp

http://commits.kde.org/kmymoney/e1731c698a6da61198557c8f1d0f40f935d04474
Comment 6 Cristian Oneț 2012-11-29 16:24:41 UTC
*** Bug 308399 has been marked as a duplicate of this bug. ***