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 429648 - Transfer between assets and liabilities crashes
Transfer between assets and liabilities crashes
Status: VERIFIED DUPLICATE of bug 364946
Product: GnuCash
Classification: Other
Component: General
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2007-04-14 12:53 UTC by Elio Voci
Modified: 2018-06-29 21:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elio Voci 2007-04-14 12:53:13 UTC
A transfer between a Assets/Bank(EUR) and a Liabilities/Credit Card(BGN) causes a crash.
The problem is reproducible. I don't know how to find out which module has to be installed with -debug, in this case it seems something related to gtktree, but my Yast (I use OpenSUSE 10.2) finds nothing like 'gtk' and 'debug' to install. Hints very much appreciated.

Here follows the terminal output: 

elio@prometeion:~/src/gnucash-2.0.5> gnucash --debug
gnucash: [D] "starting up (1)."
gnucash: [D] "handling command line arguments"("gnucash")
gnucash: [D] "files to open: "()
gnucash: [D] (results missing-lib)

Gtk-ERROR **: file gtktreemodelsort.c: line 2293 (gtk_tree_model_sort_clear_cache_helper): assertion failed: (level != NULL)
aborting...

** (bug-buddy:8913): WARNING **: Couldn't load icon for Bonobo Component Browser

** (bug-buddy:8913): WARNING **: Couldn't load icon for Open Folder
"/usr/local/bin/gnucash": not in executable format: File format not recognized
Failed to read a valid object file image from memory.
elio@prometeion:~/src/gnucash-2.0.5>
Comment 1 Elio Voci 2007-04-14 13:31:33 UTC
Update:
The crash happens only when the transfer is based on 'Exchange Rate', and not when it is based on 'To Amount'.

I have installed several debug-info. Unfortunately I have gtk2-2.10.6-24.2, and the latest debug-info available I found is only gtk2-2.10.6-13.
Comment 2 Christian Stimming 2007-04-14 14:59:30 UTC
Thanks for reporting this bug. If you say this is related to "gtk_tree_iter" (e.g. just as in bug#429690), then this is very likely a bug in gtk that is already fixed in SVN and it will be fixed with the next major release. 

Otherwise in order to help us reproduce this bug and fix it, we would need detailed instructions on how to reproduce this.
Comment 3 Elio Voci 2007-04-14 17:08:44 UTC
Hello Cristian.
I cannot say whether the bug is in gtk or gnucash, I couldn't find the debug-info, see my previous message.
In order to reproduce the crash you do the following:
1) Create two accounts having different currencies.
2) Press Ctrl-T to start a transfer.
3) Put any amount, select 'Exchange Rate', put a value for the exchange rate.
4) Press ok

Please advise on how I can help any further.
Comment 4 Christian Stimming 2007-04-18 08:49:16 UTC
This is most likely a duplicate of bug#364946 that has been fixed in gtk-2.10.10, released mid-March 2007.

*** This bug has been marked as a duplicate of 364946 ***
Comment 5 John Ralls 2018-06-29 21:31:50 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=429648. Please update any external references or bookmarks.