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