#903960 gnucash: segfaults in QubesOS VM

Package:
gnucash
Source:
gnucash
Description:
personal and small-business financial-accounting software
Submitter:
clayton
Date:
2023-07-02 01:21:03 UTC
Severity:
important
Tags:
#903960#5
Date:
2018-07-17 08:43:35 UTC
From:
To:
Given two Debian testing OSes, up-to-date as of today:

* while being quirky, gnucash basically works on bare-metal Debian using MATE desktop

* in a Debian VM under QubesOS, using XFCE desktop, every time I place the cursor in a register and
  hit the keyboard to type something, there is an immediate segfault.

Even with --debug turned on I am seeing no interesting errors.
This is new behavior as of version 3.2, this worked just days ago under 2.x.

Interestingly, there has for a long time (always?) been some weirdness about data
entry in gnucash under QubesOS. IIRC, in the past the Delete and Backspace keys did not work.
To accomplish a delete I had to highlight and then us Ctrl-x, or highlight and then paste
(Ctrl-v). This may very well be just a more severe manifestation of the same underlying issue.

#903960#10
Date:
2018-07-17 09:14:02 UTC
From:
To:
gdb backtrace is pretty much a requirement to troubleshoot segfaults:

https://wiki.debian.org/HowToGetABacktrace

Would you be able to attach a backtrace please?
--- Democracy is a pathetic belief in the collective wisdom of individual ignorance. -- H. L. Mencken
#903960#15
Date:
2018-07-17 10:44:05 UTC
From:
To:
Attached, is this helpful?
#903960#20
Date:
2018-07-17 16:28:17 UTC
From:
To:
Thanks. This particular backtrace lacks some symbols so I can't quite make
much sense of it... I reckon you might need to install some -dbgsym packages:

  * gnucash-dbgsym
  * libgtk-3-0-dbgsym

and others. See more at

https://wiki.debian.org/AutomaticDebugPackages
--- Sometimes the first duty of intelligent men is the restatement of the obvious. -- George Orwell
#903960#25
Date:
2018-07-19 09:06:09 UTC
From:
To:
The last one had gnucash-dbgsym.

This attempt has

	gnucash-dbgsym
	guile-2.2-libs-dbgsym:amd64
	libgtk-3-0-dbgsym:amd64

For some reason when I installed guile-2.2-libs-dbgsym I was forced to
upgrade libguile to the unstable version. Still segfaults though, does
this backtrace contain enough info?

#903960#30
Date:
2018-07-19 12:32:55 UTC
From:
To:
Control: forwarded -1 https://bugs.gnucash.org/show_bug.cgi?id=796771

Much better, thank you. It would be perfect with -dbgsyms from
"libgobject-2.0" and "libglib-2.0".

I've forwarded your report to

https://bugs.gnucash.org/show_bug.cgi?id=796771
--- Truth — Something somehow discreditable to someone. -- H. L. Mencken, 1949
#903960#41
Date:
2018-07-23 10:31:21 UTC
From:
To:
Good news. They have marked this bug as a duplicate of

https://bugs.gnucash.org/show_bug.cgi?id=796733

which has a workaround. If I start Gnucash in Qubes as follows:

	$ GTK_IM_MODULE=ibus gnucash

the crash goes away, and now the delete and backspace keys also work.
This saves me a lot of headache. I was otherwise looking at an
immediate migration to ledger, as there does not look like there will
be a fix anytime soon.

Weird that ibus / input method usage b0rks Gnucash on QubesOS VM but not
on my bare metal install. Some kind of X interaction going on there, I
bet.

If you are at Debconf, so am I.

#903960#50
Date:
2019-06-08 08:44:01 UTC
From:
To:
Hi,

this crash happens also without QubesOS, at least to me, and I think it
is in correct to mark this as fixed upstream (probably a confusion with
bts-link and the upstream bug being closed as a duplicate.)

The real bug seems to be in gtk:
https://gitlab.gnome.org/GNOME/gtk/issues/61

Cheers,
Joachim

#903960#55
Date:
2023-07-02 01:08:41 UTC
From:
To:
Hey,

The upstream bug in gtk has been closed, with the fix being merged into gtk-
3-24 branch in Nov 2019 and was included in GTK 3.24.13.

Cheers,
Andrew