Bug 329470 - program fails on shutdown after successfully saving file
Summary: program fails on shutdown after successfully saving file
Status: RESOLVED WORKSFORME
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: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2013-12-31 14:10 UTC by j.w.ott
Modified: 2018-10-27 02:53 UTC (History)
1 user (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 j.w.ott 2013-12-31 14:10:37 UTC
Application: kmymoney (4.6.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-14-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- Unusual behavior I noticed:
I have 3 kmy files (1..3). After upgrading bank accounts with KBanking of 2 files 1,2  I open the 3rd file  3.kmy and it wants to import data from the first bank account (1.kmy).
 I have loaded the 3.kmy file in kate and grep KBanking shows the right account. After deleting the online banking information and reentering the right bank the right bank gets pulled.

The next month when I import bank data the same thing happens again.

The crash can be reproduced sometimes.

-- 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 0x7f387ba537c0 (LWP 7727))]

Thread 3 (Thread 0x7f386317c700 (LWP 7729)):
#0  0x00007f387207d0aa in __GI___pthread_mutex_lock (mutex=0x7f385c000a60) at pthread_mutex_lock.c:116
#1  0x00007f38719f13a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f38719b1659 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f38719b17ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3877f38a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f3877f0a5ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f3877f0a8e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f3877e0988f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f3877eebd13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f3877e0bf2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f387207af6e in start_thread (arg=0x7f386317c700) at pthread_create.c:311
#11 0x00007f38763789cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f385355e700 (LWP 7855)):
#0  0x00007f387636bf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f38719b16a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f38719b17ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3877f38a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f3877f0a5ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f3877f0a8e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f3877e0988f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f3877eebd13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f3877e0bf2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f387207af6e in start_thread (arg=0x7f385355e700) at pthread_create.c:311
#10 0x00007f38763789cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f387ba537c0 (LWP 7727)):
[KCrash Handler]
#5  GWEN_List1_GetFirst (l=0x306fa00) at list1.c:171
#6  0x00007f3862257b7a in GWEN_InheritData_List_First (l=<optimized out>) at inherit.c:41
#7  0x00007f3862257ffe in GWEN_Inherit_FindData (l=<optimized out>, id=id@entry=302600285, wantCreate=wantCreate@entry=0) at inherit.c:166
#8  0x00007f3860dcec40 in GWEN_ConfigMgrDir_LockGroup (cfg=0x2af6860, groupName=0x7f3861def88e "shared", subGroupName=0x5a36360 "qt4-gui_dlg_gwen_progress") at cfgdir.c:439
#9  0x00007f3861db3746 in AB_Banking_LockSharedConfig (ab=<optimized out>, name=0x5a36360 "qt4-gui_dlg_gwen_progress") at banking_cfg.c:299
#10 0x00007f3861ddea3a in AB_Gui_WriteDialogPrefs (gui=<optimized out>, groupName=0x5dc41d0 "dlg_gwen_progress", db=0x6126680) at abgui.c:308
#11 0x00007f38622d3745 in GWEN_Dialog_free (dlg=dlg@entry=0x5a2dae0) at dialog.c:99
#12 0x00007f38622d8b2f in GWEN_Gui_Internal_ProgressEnd (gui=<optimized out>, pid=<optimized out>) at gui.c:1560
#13 0x00007f3861db1bd7 in AB_Banking_ExecuteJobs (ab=0x2ed1b00, jl2=0x26773c0, ctx=0x595e010) at banking_online.c:245
#14 0x00007f386275d582 in KMyMoneyBanking::executeQueue (this=0x2edda80, ctx=ctx@entry=0x595e010) at /build/buildd/kmymoney-4.6.3/kmymoney/plugins/kbanking/mymoneybanking.cpp:688
#15 0x00007f3862763bd9 in KBankingPlugin::updateAccount (this=0x2ed21a0, acc=..., moreAccounts=<optimized out>) at /build/buildd/kmymoney-4.6.3/kmymoney/plugins/kbanking/mymoneybanking.cpp:587
#16 0x0000000000466643 in KMyMoneyApp::slotAccountUpdateOnline (this=<optimized out>) at /build/buildd/kmymoney-4.6.3/kmymoney/kmymoney.cpp:6990
#17 0x00000000004951da in KMyMoneyApp::qt_static_metacall (_o=0x1e81110, _c=302600285, _id=0, _a=0x0) at /build/buildd/kmymoney-4.6.3/obj-x86_64-linux-gnu/kmymoney/kmymoney.moc:480
#18 0x00007f3877f1fa58 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007f3877027a32 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007f3877029403 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007f38774567f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007f387745ad19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007f387a10c175 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007f387707d31e in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007f387745eaeb in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007f387702ddfc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007f38770345ad in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f387a055a6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007f3877f0b8bd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007f3877033d63 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f38770a8b0c in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007f38770a8079 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f38770cf922 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007f38719b13b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f38719b1708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f38719b17ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f3877f38a76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007f38770cf9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007f3877f0a5ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f3877f0a8e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007f3877f0fe5b in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#42 0x000000000045752a in runKMyMoney (splash=splash@entry=0x1f44710, a=0x1d46800) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:282
#43 0x0000000000455e8e in main (argc=1, argv=0x7fff67b14cb8) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:181

Reported using DrKonqi
Comment 1 j.w.ott 2013-12-31 14:29:16 UTC
iff Plieni.txt Plieni_1.txt 
6c6
<   <LAST_MODIFIED_DATE date="2013-12-31"/>
---
>   <LAST_MODIFIED_DATE date="2013-11-19"/>
229c229
<    <ONLINEBANKING provider="KBanking"/>  ("this works !")
---
>    <ONLINEBANKING kbanking-acc-ref="600xxxxx-yyyyyyyy" provider="KBanking"/> (korrekt account yet wrong account drawn)
Comment 2 Cristian Oneț 2014-07-31 09:54:19 UTC
Did this happen again at the next update?
Comment 3 Andrew Crouthamel 2018-09-25 03:32:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:53:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!