Bug 354108 - KMyMoney crashed when using "suggest category" for payee
Summary: KMyMoney crashed when using "suggest category" for payee
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.7.2
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-19 23:00 UTC by redoranges
Modified: 2018-11-30 04:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Error windows (34.19 KB, image/png)
2015-10-21 06:34 UTC, Thomas Baumgart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description redoranges 2015-10-19 23:00:18 UTC
Application: kmymoney (4.7.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-38-generic i686
Distribution: Linux Mint 17.2 Rafaela

-- Information about the crash:
Payee tab
selected 3 payees and merged them into one (used exising payee)
Added a new matching, clicked update
switched to default action (no default selected)
pressed suggest category

The crash can be reproduced every time.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb3aff740 (LWP 4153))]

Thread 2 (Thread 0xaa9a4b40 (LWP 4162)):
#0  0xb7770d50 in __kernel_vsyscall ()
#1  0xb4f7f872 in __GI___clock_gettime (clock_id=1, tp=0xaa9a3ff8) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb53018cc in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#3  0xb53ea2a2 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb53e882b in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0xb53e88bd in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb43e39b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb43e42df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb43e4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb53e895f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb53b7823 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb53b7b49 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0xb52a423d in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0xb5397c44 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#14 0xb52a6b6f in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#15 0xb44c9f70 in start_thread (arg=0xaa9a4b40) at pthread_create.c:312
#16 0xb4f71bee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb3aff740 (LWP 4153)):
[KCrash Handler]
#6  0xb7770d50 in __kernel_vsyscall ()
#7  0xb4eb4607 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#8  0xb4eb7a33 in __GI_abort () at abort.c:89
#9  0xb50e4405 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#10 0xb50e2063 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb50e209f in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb50e2306 in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0x0808b10d in main (argc=1, argv=0xbfae88d4) at /build/kmymoney-ZEm39h/kmymoney-4.7.2/kmymoney/main.cpp:186

Possible duplicates by query: bug 353914, bug 353906, bug 353748, bug 353525, bug 353399.

Reported using DrKonqi
Comment 1 allan 2015-10-20 23:40:52 UTC
(In reply to redoranges from comment #0)
> Application: kmymoney (4.7.2)
> KDE Platform Version: 4.14.2
> Qt Version: 4.8.6
> Operating System: Linux 3.16.0-38-generic i686
> Distribution: Linux Mint 17.2 Rafaela
> 

I'm using the same distro revision as you, but I can't
reproduce your problem, if I understand your steps.  
I am though using the KDE version, although I don't 
think that should matter.

Are you able to create a fresh file, and reproduce the problem?
From where did you obtain your KMM?  Did you fully uninstall 
any previous version?
Comment 2 Thomas Baumgart 2015-10-21 06:34:31 UTC
Created attachment 95066 [details]
Error windows

I was able to duplicate the scenario. On my console I see the following output, which does not provide any more details:

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'MyMoneyException'
KCrash: Application 'kmymoney' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/thb/.kde4/socket-thb-nb.site/kdeinit4__0

At the same time, I got an error window which I attach here. (I am trying this using master though, not 4.7.2) which says that merging indeed seems to have a problem.

As a workaround try this: select only the two payees you want to merge into the third. Use the payee delete function and select the third as the destination for all transactions. Than repeat all other steps. The result should be the same. I did not see the problem when I used the workaround. Does that make a difference for you as well?
Comment 3 redoranges 2015-10-28 22:30:09 UTC
I am running vanilla ubuntu and i get kmm via PPA 
deb http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu trusty main

I haven’t tried in an empty file, but the workaround for me was to just restart the app after merging, and doing the category stuff after
Comment 4 Andrew Crouthamel 2018-10-31 03:58:26 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-15 10:56:09 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
mark the bug 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 6 Bug Janitor Service 2018-11-30 04:08:21 UTC
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!