Package: gnucash
Version: 1:4.4-1
Severity: normal
X-Debbugs-Cc: [email protected]

Upstream devs have requested a stack trace from me, which is
documented here:

  https://wiki.gnucash.org/wiki/Stack_Trace

Running “aptitude search gnucash” indicates that there are no packages
named gnucash-dbg, contrary to what the wiki suggests. Ubuntu
apparently has a gnucash-dbg package.

The man page has no DEBUGGING section, but ENVIRONMENT mentions a
GNC_DEBUG variable without saying how to use it.  Since it’s a
boolean, I tried running GC this way:

  $ GNC_DEBUG=1 gnucash --debug $my_data_file

I made it crash, but there is no stack dump so it’s unclear if I
correctly guessed how to use that variable. This is the full complete
and total output from that command:

  ===8<------------------------------
  Found Finance::Quote version 1.50.
  Gdk-Message: 09:28:51.919: Lost connection to Wayland compositor.
  ===8<------------------------------

It may actually be enough information to troubleshoot the particular
bug I’m working on, but this output is too minimal. In fact, it’s the
same output as running with no debugging options. A /tmp/gnucash.trace
file was created but it’s empty.

The man page also mentions:

  --log  Log level overrides, of the form 
"log.ger.path={debug,info,warn,crit,error}" This option can be specified 
multiple times.

This syntax is bizarre and confusing. Is “log.ger.path” supposed to be
typed literally, or is that supposed to be replaced with something
else?  Is that whole equality string then passed as a space-separated
argument following --log?

The lack of gnucash-dbg package implies that users need to recompile
gnucash to get debugging symbols, IIUC. The
/etc/share/docs/gnucash/README file refers us here for building:

  https://wiki.gnucash.org/wiki/Building

But that wiki page above has no Debian-specific instructions. Debian
has a unique way of downloading source and building (unlike tarballs)
which uses Debian’s package management system. It seems we either need
a gnucash-dbg package, or Debian building instructions-- ideally both.

-- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 
'testing'), (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-16-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnucash depends on:
ii  gnucash-common                                     1:4.4-1
ii  guile-3.0                                          3.0.5-4
ii  guile-3.0-libs                                     3.0.5-4
ii  libaqbanking44                                     6.2.10-1
ii  libboost-filesystem1.74.0                          1.74.0-9
ii  libboost-locale1.74.0                              1.74.0-9
ii  libboost-program-options1.74.0                     1.74.0-9
ii  libboost-regex1.74.0 [libboost-regex1.74.0-icu67]  1.74.0-9
ii  libc6                                              2.31-13+deb11u3
ii  libcairo2                                          1.16.0-5
ii  libcrypt-ssleay-perl                               0.73.06-1+b3
ii  libdate-manip-perl                                 6.83-1
ii  libdbi1                                            0.9.0-6
ii  libfinance-quote-perl                              1.50~rc2-2
ii  libgcc-s1                                          10.2.1-6
ii  libgdk-pixbuf-2.0-0                                2.42.2+dfsg-1
ii  libglib2.0-0                                       2.66.8-1
ii  libgtk-3-0                                         3.24.24-4+deb11u2
ii  libgwengui-gtk3-79                                 5.6.0-2
ii  libgwenhywfar79                                    5.6.0-2
ii  libhtml-tableextract-perl                          2.15-1.1
ii  libhtml-tree-perl                                  5.07-2
ii  libicu67                                           67.1-7
ii  libofx7                                            1:0.9.15-3
ii  libpango-1.0-0                                     1.46.2-3
ii  libpangocairo-1.0-0                                1.46.2-3
ii  libpython3.9                                       3.9.2-1
ii  libsecret-1-0                                      0.20.4-2
ii  libstdc++6                                         10.2.1-6
ii  libwebkit2gtk-4.0-37                               2.36.4-1~deb11u1
ii  libwww-perl                                        6.52-1
ii  libxml2                                            2.9.10+dfsg-6.7+deb11u2
ii  perl                                               5.32.1-4+deb11u2
ii  zlib1g                                             1:1.2.11.dfsg-2+deb11u1

Versions of packages gnucash recommends:
ii  gnucash-docs     4.4-1
ii  python3-gnucash  1:4.4-1
ii  yelp             3.38.3-1

Versions of packages gnucash suggests:
pn  libdbd-mysql    <none>
pn  libdbd-pgsql    <none>
pn  libdbd-sqlite3  <none>

-- no debconf information

Reply via email to