After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793771 - Regression: crashing when getting transactions
Regression: crashing when getting transactions
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
2.7.x
Other Linux
: Normal normal
: ---
Assigned To: gnucash-general-maint
gnucash-general-maint
Depends on:
Blocks:
 
 
Reported: 2018-02-23 21:02 UTC by Fabian Köster
Modified: 2018-06-30 00:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
trace file (681 bytes, text/plain)
2018-02-23 21:02 UTC, Fabian Köster
Details
gdb backtrace log (19.09 KB, text/plain)
2018-02-23 21:09 UTC, Fabian Köster
Details
crash when deleting a simple txns (12.33 KB, text/plain)
2018-02-24 09:53 UTC, Mechtilde
Details

Description Fabian Köster 2018-02-23 21:02:29 UTC
Created attachment 368855 [details]
trace file

I just switched from GnuCash 2.6 to 2.7.

When I want to get the latest transcations of my bank account(s) via

Actions -> Online-Actions -> Get Transactions

the communication with the bank is apparently successfully but when the dialog showing the new transactions is supposed to be displayed, after about 2 seconds GnuCash just crashes.

This is a regression as it worked fine in 2.6.
Comment 1 Fabian Köster 2018-02-23 21:06:26 UTC
GnuCash version is 2.7.4.

Operating system is Gentoo GNU/Linux on amd64, Gnucash and dependencies are self-compiled from Gentoo's ebuilds.
Comment 2 Fabian Köster 2018-02-23 21:09:15 UTC
Created attachment 368856 [details]
gdb backtrace log
Comment 3 Fabian Köster 2018-02-23 21:15:08 UTC
Created attachment 368857 [details]
Screenshot

Just tried from a X11 session instead of Wayland because I say wayland related stuff in the backtrace.

Now the dialog for assinging the transactions takes very very long to show (about 10 seconds or so) but at least the application does not crash anymore.

In the attached screenshot you can see the window contents taking much time to load.
Comment 4 Mechtilde 2018-02-24 09:52:46 UTC
I use version 2.7.3 from Debian experimental

I did a full backtrace with gdb an attach it
Comment 5 Mechtilde 2018-02-24 09:53:56 UTC
Created attachment 368870 [details]
crash when deleting a simple txns
Comment 6 Geert Janssens 2018-02-24 10:06:38 UTC
Comment on attachment 368870 [details]
crash when deleting a simple txns

Thanks for the backtrace. However this one is a different crash. Can you file a separate report for it please ?
Also as said on IRC, can you recreate the backtrace for the new bug after installing the debug symbols ?
Comment 7 John Ralls 2018-03-11 01:28:16 UTC
The crash in the backtrace is indeed a Wayland clipboard bug, nothing to do with GnuCash.

I profiled the matching code and found that the GUID comparison code was extremely slow, so I fixed that. It will be in 2.7.6. Please give it a try.
Comment 8 Fabian Köster 2018-03-20 17:49:59 UTC
I can confirm the transactions dialog now appears much faster and the issue is gone in 2.7.6. Thank you very much John!
Comment 9 John Ralls 2018-06-30 00:04:50 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=793771. Please update any external references or bookmarks.