[Kmymoney-devel] Crash when loading file

Thomas Baumgart thb at net-bembel.de
Sun Nov 22 10:31:05 CET 2009


Hi guys,

I am running into a problem when I load a file. The action name  
"account_online_update_menu" is not found anymore. The only references are in 
kmymoney.cpp and kmymoneyui.rc.

I noticed lately some changes in that area, maybe they are not finished yet.

Would be cool if someone can look into that. For now, I have commented the two 
source lines in my sandbox.


Here's a stack trace:

Application: KMyMoney (kmymoney), signal: Segmentation fault
[Current thread is 1 (Thread 0xb42ab700 (LWP 20422))]

Thread 3 (Thread 0xb0025b90 (LWP 20425)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb598bf62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
#2  0xb59eb57c in QWaitCondition::wait(QMutex*, unsigned long) () from 
/usr/lib/libQtCore.so.4
#3  0xb59e0bb6 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb59ea592 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb59881b5 in start_thread () from /lib/libpthread.so.0
#6  0xb4e3e3ae in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf4f5b90 (LWP 20441)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb598bf62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
#2  0xb59eb57c in QWaitCondition::wait(QMutex*, unsigned long) () from 
/usr/lib/libQtCore.so.4
#3  0xb59e0bb6 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb59ea592 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb59881b5 in start_thread () from /lib/libpthread.so.0
#6  0xb4e3e3ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb42ab700 (LWP 20422)):
[KCrash Handler]
#6  0xb5111e66 in QAction::setEnabled(bool) () from /usr/lib/libQtGui.so.4
#7  0x0809c481 in KMyMoney2App::slotUpdateActions (this=0x8791968) at 
/home/thb/devel/kmymoney4/kmymoney/kmymoney.cpp:5779
#8  0x0809fba1 in KMyMoney2App::updateCaption (this=0x8791968, 
skipActions=false) at /home/thb/devel/kmymoney4/kmymoney/kmymoney.cpp:5538
#9  0x0809fc8b in KMyMoney2App::slotDataChanged (this=0x8791968) at 
/home/thb/devel/kmymoney4/kmymoney/kmymoney.cpp:6083
#10 0x080e2961 in KMyMoney2App::qt_metacall (this=0x8791968, 
_c=QMetaObject::InvokeMetaMethod, _id=87, _a=0xbfb2d448) at 
/home/thb/devel/kmymoney4/build/kmymoney/kmymoney.moc:467
#11 0xb5af3ee8 in QMetaObject::activate(QObject*, int, int, void**) () from 
/usr/lib/libQtCore.so.4
#12 0xb5af4b72 in QMetaObject::activate(QObject*, QMetaObject const*, int, 
void**) () from /usr/lib/libQtCore.so.4
#13 0xb7848383 in MyMoneyFile::dataChanged (this=0xb78d5b0c) at 
/home/thb/devel/kmymoney4/build/kmymoney/mymoney/mymoneyfile.moc:77
#14 0x0811fb61 in MyMoneyFile::forceDataChanged (this=0xb78d5b0c) at 
/home/thb/devel/kmymoney4/kmymoney/mymoney/storage/../mymoneyfile.h:1353
#15 0x081139d9 in KMyMoneyView::initializeStorage (this=0x88e9d28) at 
/home/thb/devel/kmymoney4/kmymoney/views/kmymoneyview.cpp:957
#16 0x08117510 in KMyMoneyView::readFile (this=0x88e9d28, url=@0xbfb2d980) at 
/home/thb/devel/kmymoney4/kmymoney/views/kmymoneyview.cpp:770
#17 0x080cd550 in KMyMoney2App::slotFileOpenRecent (this=0x8791968, 
url=@0xbfb2dc4c) at /home/thb/devel/kmymoney4/kmymoney/kmymoney.cpp:1431
#18 0x080940c6 in main (argc=1, argv=0xbfb2dfd4) at 
/home/thb/devel/kmymoney4/kmymoney/main.cpp:263

-- 


Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
BTW, just the planning of the test cases helped me
to improve the code a lot. -- Alvaro Soliverez
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20091122/5a5d84ee/attachment.sig 


More information about the KMyMoney-devel mailing list