[grisbi-bugs] [Grisbi 0002062]: Currency keeps getting duplicated

Grisbi Bug Tracker bugtracker at grisbi.org
Lun 7 Déc 08:01:35 CET 2020


The following issue has been CONFIRMED. 
====================================================================== 
https://www.grisbi.org/bugsreports/view.php?id=2062 
====================================================================== 
Reported By:                ebo
Assigned To:                pbiava
====================================================================== 
Project:                    Grisbi
Issue ID:                   2062
Category:                   Main
Reproducibility:            unable to reproduce
Severity:                   minor
Priority:                   low
Status:                     confirmed
OS:                         Fedora 
Unstable Impact:            Yes 
Version OS:                  
Version GTK:                 
====================================================================== 
Date Submitted:             2020-10-27 11:21 CET
Last Modified:              2020-12-07 08:01 CET
====================================================================== 
Summary:                    Currency keeps getting duplicated
Description: 
I keep having “Pound Sterling” getting duplicated in (actually, at the end
of) my list of currencies — sometimes up to a handful extra records —
despite the extra records not being used in any transaction/account
settings/currency link.

I am unable to reproduce, nor narrow down the cause, I'm afraid.

It's not really a nuisance, it's just that it feels “wrong”.
====================================================================== 

---------------------------------------------------------------------- 
 (0005674) ebo (reporter) - 2020-10-27 11:49
 https://www.grisbi.org/bugsreports/view.php?id=2062#c5674 
---------------------------------------------------------------------- 
Note: I believe I'm using manually installed Grisbi v1.9.0 (that's what `grisbi
-V` prints to stdout), but I'm not 100% sure which version I've installed last.


---------------------------------------------------------------------- 
 (0005676) LudovicRousseau (administrator) - 2020-10-27 20:12
 https://www.grisbi.org/bugsreports/view.php?id=2062#c5676 
---------------------------------------------------------------------- 
Version 1.9.0 is old. The current unstable version is 1.9.96.
Please upgrade and tell us if the problem is stil present. See
https://sourceforge.net/projects/grisbi/files/grisbi%20unstable/1.9.96/ 

---------------------------------------------------------------------- 
 (0005677) ebo (reporter) - 2020-10-27 21:12
 https://www.grisbi.org/bugsreports/view.php?id=2062#c5677 
---------------------------------------------------------------------- 
Sorry, I should have tested the latest version first indeed.

I've now upgraded to 1.9.96. I then went to Preferences/Resources/Currencies,
and clicked on “? Remove” for the duplicate, and triggered a segfault:

Grisbi version: 1.9.96
	grisbi() [0x4ce4a0]
	grisbi() [0x4ce79a]
	/lib64/libc.so.6(+0x3ca70) [0x7f24802dea70]
	/lib64/libc.so.6(cfree+0x20) [0x7f248032eaa0]
	/lib64/libglib-2.0.so.0(g_free+0xd) [0x7f24804c6a4d]
	grisbi() [0x432637]
	grisbi() [0x4327b2]
	grisbi() [0x4fced9]
	/lib64/libgobject-2.0.so.0(+0x13ae6) [0x7f24805acae6]
	/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xb99) [0x7f24805c56e9]
	/lib64/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7f24805c5c63]
	/lib64/libgtk-3.so.0(+0x143a80) [0x7f2480cf0a80]
	/lib64/libgobject-2.0.so.0(g_closure_invoke+0x18a) [0x7f24805ac88a]
	/lib64/libgobject-2.0.so.0(+0x260ba) [0x7f24805bf0ba]
	/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xfa9) [0x7f24805c5af9]
	/lib64/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7f24805c5c63]
	/lib64/libgtk-3.so.0(+0x141ca4) [0x7f2480ceeca4]
	/lib64/libgtk-3.so.0(+0x40989f) [0x7f2480fb689f]
	/lib64/libgobject-2.0.so.0(+0x13ae6) [0x7f24805acae6]
	/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xb99) [0x7f24805c56e9]
	/lib64/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7f24805c5c63]
	/lib64/libgtk-3.so.0(+0x2110dc) [0x7f2480dbe0dc]
	/lib64/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXEDv+0xa4)
[0x7f24805afc84]
	/lib64/libgobject-2.0.so.0(+0x13ae6) [0x7f24805acae6]
	/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xb99) [0x7f24805c56e9]
	/lib64/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7f24805c5c63]
	/lib64/libgtk-3.so.0(+0x20e0d7) [0x7f2480dbb0d7]
	/lib64/libgtk-3.so.0(+0x20f7d3) [0x7f2480dbc7d3]
	/lib64/libgtk-3.so.0(+0x212913) [0x7f2480dbf913]
	/lib64/libgtk-3.so.0(gtk_event_controller_handle_event+0x70) [0x7f2480d851b0]
	/lib64/libgtk-3.so.0(+0x3aa38d) [0x7f2480f5738d]
	/lib64/libgtk-3.so.0(+0x40338c) [0x7f2480fb038c]
	/lib64/libgobject-2.0.so.0(+0x13a05) [0x7f24805aca05]
	/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x2fb) [0x7f24805c4e4b]
	/lib64/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7f24805c5c63]
	/lib64/libgtk-3.so.0(+0x3ac474) [0x7f2480f59474]
	/lib64/libgtk-3.so.0(+0x25aea0) [0x7f2480e07ea0]
	/lib64/libgtk-3.so.0(gtk_main_do_event+0x8e3) [0x7f2480e09b83]
	/lib64/libgdk-3.so.0(+0x3ded9) [0x7f2480ae1ed9]
	/lib64/libgdk-3.so.0(+0x729a6) [0x7f2480b169a6]
	/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x16f) [0x7f24804c078f]
	/lib64/libglib-2.0.so.0(+0x52b18) [0x7f24804c0b18]
	/lib64/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7f24804c0e33]
	/lib64/libgtk-3.so.0(gtk_dialog_run+0x147) [0x7f2480d69917]
	grisbi() [0x481b4f]
	/lib64/libgobject-2.0.so.0(g_closure_invoke+0x18a) [0x7f24805ac88a]
	/lib64/libgobject-2.0.so.0(+0x26423) [0x7f24805bf423]
	/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xfa9) [0x7f24805c5af9]
	/lib64/libgobject-2.0.so.0(g_signal_emit+0x93) [0x7f24805c5c63]
	/lib64/libgio-2.0.so.0(+0xee875) [0x7f24806e0875] 

---------------------------------------------------------------------- 
 (0005766) pbiava (administrator) - 2020-12-07 07:42
 https://www.grisbi.org/bugsreports/view.php?id=2062#c5766 
---------------------------------------------------------------------- 
Do you still have the problem?
If so, the easiest way is to remove the duplicate currency directly from the
account file.
Open the file with gedit for example.
Make a copy of the file before. 

---------------------------------------------------------------------- 
 (0005767) pbiava (administrator) - 2020-12-07 08:01
 https://www.grisbi.org/bugsreports/view.php?id=2062#c5767 
---------------------------------------------------------------------- 
Bug confirmed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2020-10-27 11:21 ebo            New Issue                                    
2020-10-27 11:21 ebo            File Added: Screenshot from 2020-10-27
10-15-21.png                    
2020-10-27 11:21 ebo            File Added: Screenshot from 2020-10-27
10-14-22.png                    
2020-10-27 11:21 ebo            File Added: Screenshot from 2020-10-27
10-14-08.png                    
2020-10-27 11:21 ebo            File Added: Screenshot from 2020-10-27
10-13-37.png                    
2020-10-27 11:21 ebo            File Added: Screenshot from 2020-10-27
10-10-53.png                    
2020-10-27 11:49 ebo            Note Added: 0005674                          
2020-10-27 20:12 LudovicRousseauNote Added: 0005676                          
2020-10-27 21:12 ebo            Note Added: 0005677                          
2020-12-07 07:42 pbiava         Note Added: 0005766                          
2020-12-07 08:00 pbiava         Assigned To               => pbiava          
2020-12-07 08:00 pbiava         Status                   new => assigned     
2020-12-07 08:01 pbiava         Status                   assigned => confirmed
2020-12-07 08:01 pbiava         Note Added: 0005767                          
======================================================================



Plus d'informations sur la liste de diffusion bugsreports