Package: homebank
Version: 5.8.6-1
Severity: important

Hi,

homebank 5.8.6-1 (trixie) segfaults when I try to open the details
of some transactions. The version in sid (currently 5.9.1-1) is not
affected.

This can be easily reproduced with the attached test case:

1. Open the file with 'homebank text.xhb'
2. There is one single account, double click on it to see the list of
   transactions.
3. There is one single transaction, double click on it.

This should open a dialog to see and edit the transaction
details. Instead, it segfaults:

Thread 1 "homebank" received signal SIGSEGV, Segmentation fault.
deftransaction_external_edit (parent=0x5555557860a0 [GtkApplicationWindow], 
old_txn=old_txn@entry=0x555555ddd190, 
    new_txn=new_txn@entry=0x5555559351b0) at ./src/ui-transaction.c:943
943                     
gtk_date_entry_set_date(GTK_DATE_ENTRY(data->PO_dateto), (guint)child->date);
(gdb) print child
$4 = (Transaction *) 0x0
(bt)
#0  deftransaction_external_edit
    (parent=0x5555557860a0 [GtkApplicationWindow], 
old_txn=old_txn@entry=0x555555ddd190, new_txn=new_txn@entry=0x5555559351b0)
    at ./src/ui-transaction.c:943
#1  0x0000555555579cd3 in hub_ledger_action_txnedit (action=<optimized out>, 
parameter=<optimized out>, user_data=0x555555c777e0)
    at ./src/dsp-account.c:1669


Regards,

Berto
-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.41+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages homebank depends on:
ii  homebank-data        5.8.6-1
ii  libc6                2.41-12
ii  libcairo2            1.18.4-1+b1
ii  libgdk-pixbuf-2.0-0  2.42.12+dfsg-4
ii  libglib2.0-0t64      2.84.3-1
ii  libgtk-3-0t64        3.24.49-3
ii  libofx7t64           1:0.10.9-1.1+b2
ii  libpango-1.0-0       1.56.3-1
ii  libpangocairo-1.0-0  1.56.3-1
ii  libsoup-3.0-0        3.6.5-3

Versions of packages homebank recommends:
ii  librsvg2-common  2.60.0+dfsg-1

homebank suggests no packages.

-- no debconf information
<?xml version="1.0"?>
<homebank v="1.5" d="050806">
<properties title="John" curr="1" auto_smode="0" auto_weekday="1" 
auto_nbmonths="1" earnbyh="0"/>
<cur key="1" flags="0" iso="EUR" name="Euro" symb="€" syprf="1" dchar="," 
gchar="." frac="2" rate="0" mdate="0"/>
<account key="2" flags="32" pos="2" type="1" curr="1" name="Some Account" 
bankname="Some Bank" initial="0" minimum="0" maximum="0" rdate="739474"/>
<pay key="1" name="John Smith"/>
<cat key="8" name="Income"/>
<ope date="734296" amount="1234.8400000000001" account="2" paymode="4" st="1" 
flags="10" category="8" wording="Income"/>
</homebank>

Reply via email to