GNU bug report logs

#28462 gnucash dies when generating reports in i3, works in GNOME

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#28462; Package guix. (Thu, 14 Sep 2017 18:59:02 GMT) (full text, mbox, link).


Acknowledgement sent to Adam Van Ymeren <adam@vany.ca>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Thu, 14 Sep 2017 18:59:02 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Adam Van Ymeren <adam@vany.ca>
To: bug-guix@gnu.org
Subject: gnucash dies when generating reports in i3, works in GNOME
Date: Thu, 14 Sep 2017 14:58:18 -0400
Here's a bug report I've been sitting on for a while.  I've been meaning
to dig in to it further but haven't had the time so I figured I should
at least post it in case anyone else has experienced this or knows a fix.

Generating reports in gnucash cause it to die when running in the
default i3 session.

If I run in the default GNOME session it works fine.

I believe the problem is related to not having a running GSettings
daemon.

Below is a shortened backtrace from the gnucash process as it died
trying to generate a balance sheet.

As you can see it dies somewhere in GIO related to settings (#3
g_settings_set_property).

#0  0x00007f71fb64cb21 in _g_log_abort ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libglib-2.0.so.0
#1  0x00007f71fb64dd75 in g_logv ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libglib-2.0.so.0
#2  0x00007f71fb64dec2 in g_log ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libglib-2.0.so.0
#3  0x00007f71fc0c813f in g_settings_set_property ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgio-2.0.so.0
#4  0x00007f71fb925e63 in g_object_new_internal ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#5  0x00007f71fb927865 in g_object_new_valist ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#6  0x00007f71fb927bb4 in g_object_new ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#7  0x00007f7189df7536 in g_proxy_resolver_gnome_init ()
   from /home/adam/.guix-profile/lib/gio/modules/libgiognomeproxy.so
#8  0x00007f71fb9432a9 in g_type_create_instance ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#9  0x00007f71fb925aeb in g_object_new_internal ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#10 0x00007f71fb9272e1 in g_object_newv ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#11 0x00007f71fb927bcc in g_object_new ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#12 0x00007f71fc028771 in try_implementation ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgio-2.0.so.0
#13 0x00007f71fc0288f0 in _g_io_module_get_default ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgio-2.0.so.0
#14 0x00007f71f2099615 in soup_proxy_resolver_default_constructed ()
   from /gnu/store/c4ivrb2xrmr8am2dy05cm6ydc870vwm0-libsoup-2.58.2/lib/libsoup-2.4.so.1
#15 0x00007f71fb926057 in g_object_new_internal ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#16 0x00007f71fb9272e1 in g_object_newv ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#17 0x00007f71fb927bcc in g_object_new ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#18 0x00007f71f20a307c in soup_session_add_feature_by_type ()
   from /gnu/store/c4ivrb2xrmr8am2dy05cm6ydc870vwm0-libsoup-2.58.2/lib/libsoup-2.4.so.1
#19 0x00007f71f20a3b1b in soup_session_set_property ()
   from /gnu/store/c4ivrb2xrmr8am2dy05cm6ydc870vwm0-libsoup-2.58.2/lib/libsoup-2.4.so.1
#20 0x00007f71fb927f68 in g_object_set_valist ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#21 0x00007f71fb9285ef in g_object_set ()
   from /gnu/store/9x9229j1sramg64qppmn87m2vy2jq4im-glib-2.52.2/lib/libgobject-2.0.so.0
#22 0x00007f71f35f9637 in WebCore::SoupNetworkSession::SoupNetworkSession(_SoupCookieJar*) ()
   from /gnu/store/3ph6sjm0513972v3220s0a8i8xprmlcq-webkitgtk-gtk2-2.4.11/lib/libwebkitgtk-1.0.so.0
<snip>




Information forwarded to bug-guix@gnu.org:
bug#28462; Package guix. (Wed, 20 Sep 2017 00:42:01 GMT) (full text, mbox, link).


Message #8 received at 28462@debbugs.gnu.org (full text, mbox, reply):

From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Adam Van Ymeren <adam@vany.ca>
Cc: 28462@debbugs.gnu.org
Subject: [PATCH] Re: bug#28462: gnucash dies when generating reports in i3, works in GNOME
Date: Tue, 19 Sep 2017 20:40:51 -0400
[Message part 1 (text/plain, inline)]
Hello Adam,

Adam Van Ymeren <adam@vany.ca> writes:

> Here's a bug report I've been sitting on for a while.  I've been meaning
> to dig in to it further but haven't had the time so I figured I should
> at least post it in case anyone else has experienced this or knows a fix.
>
> Generating reports in gnucash cause it to die when running in the
> default i3 session.
>
> If I run in the default GNOME session it works fine.
>
> I believe the problem is related to not having a running GSettings
> daemon.

As a ratpoison user, I also suffered from problems caused by the lack of
a GSettings backend when not running Gnome; for example, the preferences
would not be saved across GnuCash restarts.

To fix this, I had to manually install dbus and dconf to my profile. The
attached patch automates this by automatically propagating those
dependencies when GnuCash is installed. It would be nicer to make dbus
and dconf work as regular inputs but this would require patching the
sources; I haven't investigated if how feasible this would be.

Could you try the patch and see if it fixes your issues?

[0001-gnu-gnucash-Propagate-dbus-and-dconf.patch (text/x-patch, attachment)]

Information forwarded to bug-guix@gnu.org:
bug#28462; Package guix. (Sat, 09 Jun 2018 04:31:02 GMT) (full text, mbox, link).


Message #11 received at 28462@debbugs.gnu.org (full text, mbox, reply):

From: Chris Marusich <cmmarusich@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 28462@debbugs.gnu.org, Adam Van Ymeren <adam@vany.ca>
Subject: Re: bug#28462: [PATCH] Re: bug#28462: gnucash dies when generating reports in i3, works in GNOME
Date: Fri, 08 Jun 2018 21:30:24 -0700
[Message part 1 (text/plain, inline)]
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> As a ratpoison user, I also suffered from problems caused by the lack of
> a GSettings backend when not running Gnome; for example, the preferences
> would not be saved across GnuCash restarts.
>
> To fix this, I had to manually install dbus and dconf to my profile.

FYI, we have a dbus-service (maybe it didn't exist when this bug report
was created).  Please see "(guix) Desktop Services" in the Guix manual.
If you set it up, does it help, or is there more work to be done to fix
this problem when running Gnucash outside of GNOME?

Note also that Gnucash has been updated since this bug report was
originally opened.  In particular, on the current core-updates branch,
we have upgraded Gnucash to 3.0.  You might consider trying that
version.  However, please be careful and make backups before doing so,
since there are backwards-incompatible changes going from Gnucash 2 to
3.  For details on the changes, see the Gnucash News posts here:

https://www.gnucash.org/news.phtml

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Apr 16 05:05:19 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.