Summary: | kmymoney crashes upon opening | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Richard Leszczynski <richard> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED UPSTREAM | ||
Severity: | crash | CC: | dad1968, jpwhiting, mhaindl, ralf.habacker |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.1.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Richard Leszczynski
2022-05-25 16:50:30 UTC
Looks like another gnutls caused one. that gnutls_zero_free in the stack trace points to it. Try downgrading gnutls to 3.7.4 if possible and see if that still crashes. BTW, from reading https://gitlab.com/gnutls/gnutls/-/milestones/35#tab-issues I think the fix in 3.7.6 wont come out until July so it may be useful to see if opensuse will add the patch here: https://gitlab.com/gnutls/gnutls/-/merge_requests/1592 to gnutls 3.7.5 in the mean time. https://github.com/archlinux/svntogit-packages/commit/cf4d5e8c600e32251eeacbd08c67f78bd4a3adb3 has the patched arch changes in 3.7.5-2 that opensuse and other distros may want to add to their patches. Created attachment 149218 [details]
New crash information added by DrKonqi
kmymoney (5.1.2) using Qt 5.15.2
- What I was doing when the application crashed:
I started KMyMoney and when opening an account a black rectangle comes up and KMyMoney crashes every time.
-- Backtrace (Reduced):
#10 0x00007ff5e9f72446 in memcpy (__len=3, __src=0x55d5e79f9d80, __dest=0x55d5e7a022c0) at /usr/include/bits/string_fortified.h:29
#11 gnutls_realloc_zero (data=0x55d5e79f9d80, old_size=3, new_size=2) at nettle/init.c:130
#12 0x00007ff5f1337a60 in __gmpz_get_str (res_str=<optimized out>, base=<optimized out>, x=<optimized out>) at mpz/get_str.c:111
#13 0x00007ff5fbdb9414 in __gmp_expr<__mpz_struct [1], __mpz_struct [1]>::get_str[abi:cxx11](int) const (base=10, this=0x7ffdf9bfb660) at /usr/include/gmpxx.h:1702
#14 MyMoneyMoney::formatMoney(QString const&, int, bool) const (this=<optimized out>, currency=<optimized out>, prec=2, showThousandSeparator=<optimized out>) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/mymoney/mymoneymoney.cpp:253
Created attachment 149236 [details]
New crash information added by DrKonqi
kmymoney (5.1.2) using Qt 5.15.2
Same issue, openSuSE Tumbleweed, kernel 5.18.0-2.g3352b92-default. Already reinstalled the application, same problem. There are no new updates from openSuSE available.
-- Backtrace (Reduced):
#10 0x00007fb22d266446 in memcpy (__len=3, __src=0x5588cbc6cb90, __dest=0x5588cbc6c230) at /usr/include/bits/string_fortified.h:29
#11 gnutls_realloc_zero (data=0x5588cbc6cb90, old_size=3, new_size=2) at nettle/init.c:130
#12 0x00007fb23466ba60 in __gmpz_get_str (res_str=<optimized out>, base=<optimized out>, x=<optimized out>) at mpz/get_str.c:111
#13 0x00007fb23f0ed414 in __gmp_expr<__mpz_struct [1], __mpz_struct [1]>::get_str[abi:cxx11](int) const (base=10, this=0x7ffc97c3d440) at /usr/include/gmpxx.h:1702
#14 MyMoneyMoney::formatMoney (this=<optimized out>, currency=..., prec=2, showThousandSeparator=<optimized out>) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/mymoney/mymoneymoney.cpp:253
Yeah, since it's a regression in gnutls you either need to downgrade that back from 3.7.5 to 3.7.4 or get opensuse to add the previously mentioned patch to their 3.7.5 package in a new revision. Hello Mr. Whiting. Thanks for this information, unfortunately I can't find the gnutls 3.7.4 version you mentioned in any downgrade repository. openSuSE also doesn't offer me a change of version in Yast2. This version is simply nowhere to be found. Your tip to have openSuSE withdraw the said patch is probably rather utopian. I'm currently using the appimage for CentOS7 from Jenkins, which currently works without crashing. I've reported this to bugzilla on the OpenSuSE site now: https://bugzilla.opensuse.org/show_bug.cgi?id=1199982 (In reply to Richard Leszczynski from comment #7) > I've reported this to bugzilla on the OpenSuSE site now: > > https://bugzilla.opensuse.org/show_bug.cgi?id=1199982 The ticket mentioned is a duplicate of https://bugzilla.opensuse.org/show_bug.cgi?id=1199929. The described error was fixed with https://build.opensuse.org/request/show/979801 by updating gnutls to version 3.7.6. |