After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 126471 - crash deleting bad transaction
crash deleting bad transaction
Status: VERIFIED DUPLICATE of bug 153183
Product: GnuCash
Classification: Other
Component: Register
1.8.x
Other other
: High critical
: ---
Assigned To: David Hampton
Chris Shoemaker
Depends on:
Blocks:
 
 
Reported: 2003-11-07 22:20 UTC by g mottster
Modified: 2018-06-29 20:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description g mottster 2003-11-07 22:21:12 UTC
Package: GnuCash
Severity: normal
Version: 1.8.7
Synopsis: crash deleting bad transaction
Bugzilla-Product: GnuCash
Bugzilla-Component: Register

Description:
Description of Problem:  crashed trying to delete a bad multicurrenty
transaction in which amounts appear fine in one register view but appear
missing in the other account registers.

Steps to reproduce the problem:
1. all too often 1 of the 2 (or 2 of the 3) account registers showing a
multicurrency transaction are missing the amounts that show fine in the
other account register, even tho the exchange rate seems fine
2. delete such a transaction
3. crash



Debugging Information:

Backtrace was generated from '/usr/bin/guile'

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New
Thread 1075058816 (LWP 5294)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...0xffffe002
in ??
    ()

Thread 1 (Thread 1075058816 (LWP 5294))

  • #0 ??
  • #1 gnome_init
    from /usr/lib/libgnomeui.so.32
  • #2 <signal handler called>
  • #3 xaccTransGetSplitList
    at Transaction.c line 2654
  • #4 gnc_split_register_add_transaction
    at split-register-load.c line 103
  • #5 gnc_split_register_load
    at split-register-load.c line 401
  • #6 gnc_ledger_display_refresh_internal
    at gnc-ledger-display.c line 830
  • #7 gnc_gui_refresh_internal
    at gnc-component-manager.c line 763
  • #8 gnc_resume_gui_refresh
    at gnc-component-manager.c line 644
  • #9 gnc_split_register_delete_current_trans
    at split-register.c line 1017
  • #10 gsr_default_delete_handler
    at gnc-split-reg.c line 1217




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-11-07 17:21 -------

Reassigning to the default owner of the component, hampton@employees.org.

Comment 1 Elijah Newren 2003-12-11 04:58:15 UTC
Looks like the stack trace in bug 125480.
Comment 2 linas 2004-06-01 14:02:58 UTC
Hmm. The stack traces do not look similar to me. 
 
I cannot reproduce this on CVS HEAD, using the dataset 
from bug 125480, following the instructions in  
bug 125480 comment 5 and then hitting 'delete' in either of the 
registers.  There is one minor annoyance: using 'delete' in the  
jumped-to register does not actually clear out what's displayed 
in the gui.  Jumping to another transaction does redraw, making 
it clear that the delete did happen. 
 
I also cannot reproduce on the cvs 1.8 branch. 
Comment 3 equi 2004-07-14 17:51:45 UTC
A way to reproduce "bad multicurrency transactions":

Create 3 cash accounts - two of same currency (say UAH-1,UAH-2), one of another 
(say USD-3). In USD-3 register add transfer transaction of $5 from UAH-1 account 
with 5.00 exchange rate. Everything works well.
From UAH-1 register split this transaction and change amount 25.00 UAH spend to 
30, this makes extra 5.00 UAH for receive, assign it to UAH-2 account. Enter 
transaction. This 5.00 amount disappears, transaction broke and become 
unbalanced.
Comment 4 Derek Atkins 2004-07-20 20:41:50 UTC
Interesting.  Something must have broke this recently because it definitely USED
to work just fine.  I can certainly reproduce this on current 1.8 CVS.  The key
here is to expand the transaction splits first.  I bet it also depends on the
order of operations and your locale.
Comment 5 Josh Sled 2006-02-21 18:52:45 UTC
This might be fixed in r13343, but comment #3 makes us think this should be left open.  So we are.
Comment 6 Chris Shoemaker 2006-03-17 20:16:09 UTC
I think this is fall-out from data corruption due to recalling multi-currency transactions.  I'm marking this as depending on bug#130451, which is at least reproducible.
Comment 7 Chris Shoemaker 2006-05-24 20:02:36 UTC
Ok, I'm changing my mind about this bug.  I now think that the crash was a dup of #153183, fixed in r13343.  And I think comment #3 is essentially the reproduction steps for the data file in bug #139651.

I'm pasting comment #3 into #139651 and closing this as dup of #153183.


*** This bug has been marked as a duplicate of 153183 ***
Comment 8 John Ralls 2018-06-29 20:38:35 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=126471. Please update any external references or bookmarks.