[grisbi-bugs] [Grisbi 0002125]: erreur de segmentation lors du choix d'affichage du logo

Grisbi Bug Tracker bugtracker at grisbi.org
Lun 10 Mai 14:59:02 CEST 2021


The following issue has been RESOLVED. 
====================================================================== 
https://www.grisbi.org/bugsreports/view.php?id=2125 
====================================================================== 
Reported By:                phlpp
Assigned To:                pbiava
====================================================================== 
Project:                    Grisbi
Issue ID:                   2125
Category:                   Main
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
OS:                         Mac OS X 
Unstable Impact:            Yes 
Version OS:                 big sur 11.1 sur macbook air M1 
Version GTK:                pas trouvé comment voir la version gtk 
Resolution:                 fixed
Fixed in Version:           2.0.x
====================================================================== 
Date Submitted:             2021-05-03 10:51 CEST
Last Modified:              2021-05-10 14:59 CEST
====================================================================== 
Summary:                    erreur de segmentation lors du choix d'affichage du
logo
Description: 
entrée dans les paramètres pour afficher le logo
erreur de segmentation lors du clic sur la case à cocher

après redémarrage et ouverture d'un fichier de compte, le logo est bien
présent et la case à cocher est bien cochée.


Steps to Reproduce: 
Si le logo est visible, décocher la case dans les paramètres. Fermer et
redémarrer grisbi, sans ouvrir de fichier de compte. Entrer dans les
paramètres et choisir d'afficher le logo

Si un fichier de compte est ouvert aller d'aller dans les paramètres, l'erreur
n'est pas reproductible



Additional Information: 
Grisbi version: 2.0.3
	0   Grisbi                              0x0000000102c6bffd
debug_print_backtrace + 61
	1   Grisbi                              0x0000000102c6bea3
debug_traitement_sigsegv + 1107
	2   libsystem_platform.dylib            0x00007fff20415d7d _sigtramp + 29
	3   ???                                 0x2e32343220432039 0x0 +
3328780464474497081
	4   libgobject-2.0.0.dylib              0x000000010ef9e736 _g_closure_invoke_va
+ 198
	5   libgobject-2.0.0.dylib              0x000000010efb51cf g_signal_emit_valist
+ 1407
	6   libgobject-2.0.0.dylib              0x000000010efb5c02 g_signal_emit + 130
	7   libgtk-3.0.dylib                    0x000000010c97e7a6
gtk_toggle_button_toggled + 198
	8   libgtk-3.0.dylib                    0x000000010c97f0cd
gtk_toggle_button_clicked + 77
	9   libgobject-2.0.0.dylib              0x000000010ef9e736 _g_closure_invoke_va
+ 198
	10  libgobject-2.0.0.dylib              0x000000010efb51cf g_signal_emit_valist
+ 1407
	11  libgobject-2.0.0.dylib              0x000000010efb5c02 g_signal_emit + 130
	12  libgtk-3.0.dylib                    0x000000010c66ae96 gtk_button_clicked +
198
	13  libgtk-3.0.dylib                    0x000000010c66fa3d
gtk_button_do_release + 109
	14  libgtk-3.0.dylib                    0x000000010c66efe0
gtk_real_button_released + 128
	15  libgobject-2.0.0.dylib              0x000000010ef9e736 _g_closure_invoke_va
+ 198
	16  libgobject-2.0.0.dylib              0x000000010efb51cf g_signal_emit_valist
+ 1407
	17  libgobject-2.0.0.dylib              0x000000010efb5c02 g_signal_emit + 130
	18  libgtk-3.0.dylib                    0x000000010c66fca9
multipress_released_cb + 73
	19  libgtk-3.0.dylib                    0x000000010ca7c240
_gtk_marshal_VOID__INT_DOUBLE_DOUBLEv + 640
	20  libgobject-2.0.0.dylib              0x000000010ef9e736 _g_closure_invoke_va
+ 198
	21  libgobject-2.0.0.dylib              0x000000010efb51cf g_signal_emit_valist
+ 1407
	22  libgobject-2.0.0.dylib              0x000000010efb5c02 g_signal_emit + 130
	23  libgtk-3.0.dylib                    0x000000010c79b9e8
gtk_gesture_multi_press_end + 152
	24  libgobject-2.0.0.dylib              0x000000010efa1d54
g_cclosure_marshal_VOID__BOXEDv + 180
	25  libgobject-2.0.0.dylib              0x000000010ef9e736 _g_closure_invoke_va
+ 198
	26  libgobject-2.0.0.dylib              0x000000010efb51cf g_signal_emit_valist
+ 1407
	27  libgobject-2.0.0.dylib              0x000000010efb5c02 g_signal_emit + 130
	28  libgtk-3.0.dylib                    0x000000010c799749
_gtk_gesture_set_recognized + 153
	29  libgtk-3.0.dylib                    0x000000010c795f68
_gtk_gesture_check_recognized + 88
	30  libgtk-3.0.dylib                    0x000000010c79893a
gtk_gesture_handle_event + 570
	31  libgtk-3.0.dylib                    0x000000010c79e67d
gtk_gesture_single_handle_event + 877
	32  libgtk-3.0.dylib                    0x000000010c745328
gtk_event_controller_handle_event + 376
	33  libgtk-3.0.dylib                    0x000000010ca05b74
_gtk_widget_run_controllers + 244
	34  libgtk-3.0.dylib                    0x000000010ca1ac92
gtk_widget_real_button_event + 34
	35  libgtk-3.0.dylib                    0x000000010ca70354
_gtk_marshal_BOOLEAN__BOXEDv + 468
	36  libgobject-2.0.0.dylib              0x000000010ef9e736 _g_closure_invoke_va
+ 198
	37  libgobject-2.0.0.dylib              0x000000010efb51cf g_signal_emit_valist
+ 1407
	38  libgobject-2.0.0.dylib              0x000000010efb5c02 g_signal_emit + 130
	39  libgtk-3.0.dylib                    0x000000010ca055a0
gtk_widget_event_internal + 800
	40  libgtk-3.0.dylib                    0x000000010ca05274 gtk_widget_event +
356
	41  libgtk-3.0.dylib                    0x000000010c80e9e2 propagate_event_up +
98
	42  libgtk-3.0.dylib                    0x000000010c80d9da propagate_event +
410
	43  libgtk-3.0.dylib                    0x000000010c80cee0 gtk_propagate_event
+ 256
	44  libgtk-3.0.dylib                    0x000000010c80c6f9 gtk_main_do_event +
1817
	45  libgdk-3.0.dylib                    0x000000010d8ee175 _gdk_event_emit + 69
	46  libgdk-3.0.dylib                    0x000000010d932d4f gdk_event_dispatch +
79
	47  libglib-2.0.0.dylib                 0x000000010f0a8d76
g_main_context_dispatch + 310
	48  libglib-2.0.0.dylib                 0x000000010f0a90f2
g_main_context_iterate + 514
	49  libglib-2.0.0.dylib                 0x000000010f0a942f g_main_loop_run +
239

====================================================================== 

---------------------------------------------------------------------- 
 (0006164) LudovicRousseau (administrator) - 2021-05-03 21:37
 https://www.grisbi.org/bugsreports/view.php?id=2125#c6164 
---------------------------------------------------------------------- 
J'arrive à reproduire le plantage si je change le logo d'un compte.
Le plantage n'arrive pas au premier changement. Il faut que je change à nouveau
le logo du compte.

J'ai aussi le problème sur GNU/Linux. Mais il faut changer le logo 3 ou 4 fois
avant d'avoir un plantage. 

---------------------------------------------------------------------- 
 (0006165) LudovicRousseau (administrator) - 2021-05-03 21:41
 https://www.grisbi.org/bugsreports/view.php?id=2125#c6165 
---------------------------------------------------------------------- 
Pierre, voila une backtrace sur Linux :

[...]
Mon May  3 21:35:53 2021, 1,610657 : Debug -
gsb_select_icon.c:101:gsb_select_icon_selection_changed -
/tmp/grisbi/share/pixmaps/grisbi/gsb-ac-bank-16.png
Mon May  3 21:35:53 2021, 1,611022 : Debug -
gsb_select_icon.c:349:gsb_select_icon_entry_text_changed -
/tmp/grisbi/share/pixmaps/grisbi/gsb-ac-bank-16.png
Mon May  3 21:35:54 2021, 1,712467 : Debug -
gsb_select_icon.c:542:gsb_select_icon_create_window - réponse OK

(grisbi:23883): GLib-GObject-CRITICAL **: 21:35:54.811: g_object_unref:
assertion 'G_IS_OBJECT (object)' failed
Mon May  3 21:35:55 2021, 1,990279 : Debug -
gsb_data_account.c:2564:gsb_data_account_change_account_icon
Mon May  3 21:35:55 2021, 1,990329 : Debug -
gsb_select_icon.c:468:gsb_select_icon_create_window -
/tmp/grisbi/share/pixmaps/grisbi/gsb-ac-bank-16.png
Mon May  3 21:35:55 2021, 1,992295 : Debug -
gsb_select_icon.c:179:gsb_select_icon_fill_icon_view -
/tmp/grisbi/share/pixmaps/grisbi
nbre elements = 111
Mon May  3 21:35:56 2021, 2,307953 : Debug -
gsb_select_icon.c:101:gsb_select_icon_selection_changed -
/tmp/grisbi/share/pixmaps/grisbi/gsb-ac-asset-32.png
Mon May  3 21:35:56 2021, 2,308293 : Debug -
gsb_select_icon.c:349:gsb_select_icon_entry_text_changed -
/tmp/grisbi/share/pixmaps/grisbi/gsb-ac-asset-32.png
Mon May  3 21:35:57 2021, 2,388588 : Debug -
gsb_select_icon.c:542:gsb_select_icon_create_window - réponse OK

(grisbi:23883): GLib-GObject-CRITICAL **: 21:35:57.617: g_object_unref:
assertion 'G_IS_OBJECT (object)' failed
Mon May  3 21:35:58 2021, 2,672961 : Debug -
gsb_data_account.c:2564:gsb_data_account_change_account_icon
Mon May  3 21:35:58 2021, 2,673012 : Debug -
gsb_select_icon.c:468:gsb_select_icon_create_window -
/tmp/grisbi/share/pixmaps/grisbi/gsb-ac-asset-32.png
Mon May  3 21:35:58 2021, 2,675403 : Debug -
gsb_select_icon.c:179:gsb_select_icon_fill_icon_view -
/tmp/grisbi/share/pixmaps/grisbi
nbre elements = 111
Mon May  3 21:35:59 2021, 2,985987 : Debug -
gsb_select_icon.c:101:gsb_select_icon_selection_changed -
/tmp/grisbi/share/pixmaps/grisbi/gsb-ac-bank-16.png
Mon May  3 21:35:59 2021, 2,986636 : Debug -
gsb_select_icon.c:349:gsb_select_icon_entry_text_changed -
/tmp/grisbi/share/pixmaps/grisbi/gsb-ac-bank-16.png
Mon May  3 21:36:00 2021, 3,076829 : Debug -
gsb_select_icon.c:542:gsb_select_icon_create_window - réponse OK

Thread 1 "grisbi" received signal SIGSEGV, Segmentation fault.
g_type_check_instance_is_fundamentally_a (
    type_instance=type_instance at entry=0x5555560b01e0, 
    fundamental_type=fundamental_type at entry=0x50 [GObject])
    at ../../../gobject/gtype.c:4029
Download failed: Argument invalide.  Continuing without source file
./debian/build/deb/../../../gobject/gtype.c.
4029	../../../gobject/gtype.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0  g_type_check_instance_is_fundamentally_a
    (type_instance=type_instance at entry=0x5555560b01e0,
fundamental_type=fundamental_type at entry=0x50 [GObject]) at
../../../gobject/gtype.c:4029
https://www.grisbi.org/bugsreports/view.php?id=1  0x00007ffff6b36fa5 in
g_object_unref (_object=0x5555560b01e0)
    at ../../../gobject/gobject.c:3400
https://www.grisbi.org/bugsreports/view.php?id=2  0x00007ffff736425e in
_gtk_tree_data_list_value_to_node
    (list=0x555555c5b510, value=value at entry=0x7fffffffc280)
    at ../../../../gtk/gtktreedatalist.c:242
https://www.grisbi.org/bugsreports/view.php?id=3  0x00007ffff73796a8 in
gtk_tree_store_real_set_value
    (tree_store=tree_store at entry=0x555555dd5620 [GtkTreeStore],
iter=iter at entry=0x7fffffffc5e0, column=column at entry=0,
value=value at entry=0x7fffffffc280, sort=sort at entry=0)
    at ../../../../gtk/gtktreestore.c:886
https://www.grisbi.org/bugsreports/view.php?id=4  0x00007ffff7379aca in
gtk_tree_store_set_valist_internal
    (tree_store=tree_store at entry=0x555555dd5620 [GtkTreeStore],
iter=iter at entry=0x7fffffffc5e0, emit_signal=emit_signal at entry=0x7fffffffc330,
maybe_need_sort=maybe_need_sort at entry=0x7fffffffc334,
var_args=var_args at entry=0x7fffffffc370)
    at ../../../../gtk/gtktreestore.c:1063
https://www.grisbi.org/bugsreports/view.php?id=5  0x00007ffff737b346 in
gtk_tree_store_set_valist
    (tree_store=0x555555dd5620 [GtkTreeStore], iter=0x7fffffffc5e0,
var_args=var_args at entry=0x7fffffffc370) at ../../../../gtk/gtktreestore.c:1148
https://www.grisbi.org/bugsreports/view.php?id=6  0x00007ffff737b464 in
gtk_tree_store_set
    (tree_store=<optimized out>, iter=<optimized out>)
    at ../../../../gtk/gtktreestore.c:1190
https://www.grisbi.org/bugsreports/view.php?id=7  0x000055555560a773 in
gsb_gui_navigation_update_account_iter ()
https://www.grisbi.org/bugsreports/view.php?id=8  0x000055555560a22e in
gsb_gui_navigation_update_account_iterator ()
https://www.grisbi.org/bugsreports/view.php?id=9  0x00007ffff736923a in
gtk_tree_model_foreach_helper
    (model=model at entry=0x555555dd5620, iter=iter at entry=0x7fffffffc5e0,
path=path at entry=0x5555564cd400, func=func at entry=0x55555560a1a4
<gsb_gui_navigation_update_account_iterator>, user_data=user_data at entry=0x1) at
../../../../gtk/gtktreemodel.c:1995
https://www.grisbi.org/bugsreports/view.php?id=10 0x00007ffff7369208 in
gtk_tree_model_foreach_helper
    (model=model at entry=0x555555dd5620, iter=iter at entry=0x7fffffffc650,
path=path at entry=0x5555564cd400, func=func at entry=0x55555560a1a4
<gsb_gui_navigation_update_account_iterator>, user_data=user_data at entry=0x1) at
../../../../gtk/gtktreemodel.c:2007
https://www.grisbi.org/bugsreports/view.php?id=11 0x00007ffff736a78a in
gtk_tree_model_foreach
    (model=0x555555dd5620, func=0x55555560a1a4
<gsb_gui_navigation_update_account_iterator>, user_data=0x1) at
../../../../gtk/gtktreemodel.c:2048
https://www.grisbi.org/bugsreports/view.php?id=12 0x000055555560a680 in
gsb_gui_navigation_update_account ()
https://www.grisbi.org/bugsreports/view.php?id=13 0x00005555555954e1 in
gsb_data_account_change_account_icon ()
https://www.grisbi.org/bugsreports/view.php?id=14 0x00007ffff6b322ee in
_g_closure_invoke_va
    (closure=closure at entry=0x555555f457d0, return_value=return_value at entry=0x0,
instance=instance at entry=0x555555f05500, args=args at entry=0x7fffffffc930,
n_params=0, param_types=0x0) at ../../../gobject/gclosure.c:873
https://www.grisbi.org/bugsreports/view.php?id=15 0x00007ffff6b4aa48 in
g_signal_emit_valist
    (instance=0x555555f05500, signal_id=<optimized out>, detail=0,
var_args=var_args at entry=0x7fffffffc930) at ../../../gobject/gsignal.c:3404
https://www.grisbi.org/bugsreports/view.php?id=16 0x00007ffff6b4ac3f in
g_signal_emit
    (instance=instance at entry=0x555555f05500, signal_id=<optimized out>,
detail=detail at entry=0) at ../../../gobject/gsignal.c:3551
--Type <RET> for more, q to quit, c to continue without paging--
https://www.grisbi.org/bugsreports/view.php?id=17 0x00007ffff714318e in
gtk_button_clicked
    (button=button at entry=0x555555f05500 [GtkButton]) at
../../../../gtk/gtkbutton.c:1541
https://www.grisbi.org/bugsreports/view.php?id=18 0x00007ffff7143310 in
gtk_button_do_release
    (emit_clicked=1, button=0x555555f05500 [GtkButton])
    at ../../../../gtk/gtkbutton.c:1845
https://www.grisbi.org/bugsreports/view.php?id=19 gtk_button_do_release
(emit_clicked=1, button=0x555555f05500 [GtkButton])
    at ../../../../gtk/gtkbutton.c:1832
https://www.grisbi.org/bugsreports/view.php?id=20 gtk_real_button_released
(button=0x555555f05500 [GtkButton])
    at ../../../../gtk/gtkbutton.c:1963
https://www.grisbi.org/bugsreports/view.php?id=21 0x00007ffff6b322ee in
_g_closure_invoke_va
    (closure=closure at entry=0x5555559f8a70, return_value=return_value at entry=0x0,
instance=instance at entry=0x555555f05500, args=args at entry=0x7fffffffcc50,
n_params=0, param_types=0x0) at ../../../gobject/gclosure.c:873
https://www.grisbi.org/bugsreports/view.php?id=22 0x00007ffff6b4aa48 in
g_signal_emit_valist
    (instance=0x555555f05500, signal_id=<optimized out>, detail=0,
var_args=var_args at entry=0x7fffffffcc50) at ../../../gobject/gsignal.c:3404
https://www.grisbi.org/bugsreports/view.php?id=23 0x00007ffff6b4ac3f in
g_signal_emit
    (instance=instance at entry=0x555555f05500, signal_id=<optimized out>,
detail=detail at entry=0) at ../../../gobject/gsignal.c:3551
https://www.grisbi.org/bugsreports/view.php?id=24 0x00007ffff71415d0 in
multipress_released_cb
    (gesture=0x555555f161f0 [GtkGestureMultiPress], n_press=<optimized out>,
x=<optimized out>, y=<optimized out>, widget=0x555555f05500 [GtkButton])
    at ../../../../gtk/gtkbutton.c:666
https://www.grisbi.org/bugsreports/view.php?id=25 0x00007ffff73fec6b in
_gtk_marshal_VOID__INT_DOUBLE_DOUBLEv
    (closure=<optimized out>, return_value=<optimized out>, instance=<optimized
out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized
out>, param_types=0x5555559a8870) at gtkmarshalers.c:4803
https://www.grisbi.org/bugsreports/view.php?id=26 0x00007ffff6b322ee in
_g_closure_invoke_va
    (closure=closure at entry=0x555555f1c910, return_value=return_value at entry=0x0,
instance=instance at entry=0x555555f161f0, args=args at entry=0x7fffffffcf70,
n_params=3, param_types=0x5555559a8870) at ../../../gobject/gclosure.c:873
https://www.grisbi.org/bugsreports/view.php?id=27 0x00007ffff6b4aa48 in
g_signal_emit_valist
    (instance=0x555555f161f0, signal_id=<optimized out>, detail=0,
var_args=var_args at entry=0x7fffffffcf70) at ../../../gobject/gsignal.c:3404
https://www.grisbi.org/bugsreports/view.php?id=28 0x00007ffff6b4ac3f in
g_signal_emit
    (instance=instance at entry=0x555555f161f0, signal_id=<optimized out>,
detail=detail at entry=0) at ../../../gobject/gsignal.c:3551
https://www.grisbi.org/bugsreports/view.php?id=29 0x00007ffff720d2c4 in
gtk_gesture_multi_press_end
    (gesture=gesture at entry=0x555555f161f0 [GtkGestureMultiPress],
sequence=sequence at entry=0x0) at ../../../../gtk/gtkgesturemultipress.c:287
https://www.grisbi.org/bugsreports/view.php?id=30 0x00007ffff6b35100 in
g_cclosure_marshal_VOID__BOXEDv
    (closure=0x555555985b10, return_value=<optimized out>, instance=<optimized
out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized
out>, param_types=0x555555993730) at ../../../gobject/gmarshal.c:1686
https://www.grisbi.org/bugsreports/view.php?id=31 0x00007ffff6b322ee in
_g_closure_invoke_va
    (closure=closure at entry=0x555555985b10, return_value=return_value at entry=0x0,
instance=instance at entry=0x555555f161f0, args=args at entry=0x7fffffffd2f0,
n_params=1, param_types=0x555555993730) at ../../../gobject/gclosure.c:873
--Type <RET> for more, q to quit, c to continue without paging--
https://www.grisbi.org/bugsreports/view.php?id=32 0x00007ffff6b4aa48 in
g_signal_emit_valist
    (instance=0x555555f161f0, signal_id=<optimized out>, detail=0,
var_args=var_args at entry=0x7fffffffd2f0) at ../../../gobject/gsignal.c:3404
https://www.grisbi.org/bugsreports/view.php?id=33 0x00007ffff6b4ac3f in
g_signal_emit
    (instance=instance at entry=0x555555f161f0, signal_id=<optimized out>,
detail=detail at entry=0) at ../../../gobject/gsignal.c:3551
https://www.grisbi.org/bugsreports/view.php?id=34 0x00007ffff720a377 in
_gtk_gesture_set_recognized
    (sequence=0x0, recognized=0, gesture=0x555555f161f0 [GtkGestureMultiPress])
    at ../../../../gtk/gtkgesture.c:346
https://www.grisbi.org/bugsreports/view.php?id=35 _gtk_gesture_check_recognized
    (gesture=gesture at entry=0x555555f161f0 [GtkGestureMultiPress],
sequence=sequence at entry=0x0) at ../../../../gtk/gtkgesture.c:387
https://www.grisbi.org/bugsreports/view.php?id=36 0x00007ffff720ba0b in
gtk_gesture_handle_event
    (event=0x7fffe80021e0, controller=0x555555f161f0 [GtkGestureMultiPress])
    at ../../../../gtk/gtkgesture.c:778
https://www.grisbi.org/bugsreports/view.php?id=37 gtk_gesture_handle_event
    (controller=0x555555f161f0 [GtkGestureMultiPress], event=0x7fffe80021e0)
    at ../../../../gtk/gtkgesture.c:713
https://www.grisbi.org/bugsreports/view.php?id=38 0x00007ffff720ea9f in
gtk_gesture_single_handle_event
    (controller=0x555555f161f0 [GtkGestureMultiPress], event=0x7fffe80021e0)
    at ../../../../gtk/gtkgesturesingle.c:222
https://www.grisbi.org/bugsreports/view.php?id=39 0x00007ffff71d4fcc in
gtk_event_controller_handle_event
    (controller=0x555555f161f0 [GtkGestureMultiPress],
event=event at entry=0x7fffe80021e0)
    at ../../../../gtk/gtkeventcontroller.c:230
https://www.grisbi.org/bugsreports/view.php?id=40 0x00007ffff73a0bed in
_gtk_widget_run_controllers
    (widget=0x555555f05500 [GtkButton], event=0x7fffe80021e0,
phase=GTK_PHASE_BUBBLE)
    at ../../../../gtk/gtkwidget.c:7443
https://www.grisbi.org/bugsreports/view.php?id=41 0x00007ffff73f8998 in
_gtk_marshal_BOOLEAN__BOXEDv
    (closure=0x5555558e2f80, return_value=0x7fffffffd670, instance=<optimized
out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized
out>, param_types=0x5555558e2fb0) at gtkmarshalers.c:129
https://www.grisbi.org/bugsreports/view.php?id=42 0x00007ffff6b322ee in
_g_closure_invoke_va
    (closure=closure at entry=0x5555558e2f80,
return_value=return_value at entry=0x7fffffffd670,
instance=instance at entry=0x555555f05500, args=args at entry=0x7fffffffd740,
n_params=1, param_types=0x5555558e2fb0) at ../../../gobject/gclosure.c:873
https://www.grisbi.org/bugsreports/view.php?id=43 0x00007ffff6b49df9 in
g_signal_emit_valist
    (instance=0x555555f05500, signal_id=<optimized out>, detail=<optimized out>,
var_args=var_args at entry=0x7fffffffd740) at ../../../gobject/gsignal.c:3404
https://www.grisbi.org/bugsreports/view.php?id=44 0x00007ffff6b4ac3f in
g_signal_emit
    (instance=instance at entry=0x555555f05500, signal_id=<optimized out>,
detail=detail at entry=0) at ../../../gobject/gsignal.c:3551
https://www.grisbi.org/bugsreports/view.php?id=45 0x00007ffff73a2ca4 in
gtk_widget_event_internal
    (widget=widget at entry=0x555555f05500 [GtkButton],
event=event at entry=0x7fffe80021e0)
    at ../../../../gtk/gtkwidget.c:7808
https://www.grisbi.org/bugsreports/view.php?id=46 0x00007ffff73a4ed2 in
gtk_widget_event_internal
    (event=0x7fffe80021e0, widget=0x555555f05500 [GtkButton])
    at ../../../../gtk/gtkwidget.c:7379
https://www.grisbi.org/bugsreports/view.php?id=47 0x00007ffff7255de0 in
propagate_event_up
--Type <RET> for more, q to quit, c to continue without paging--
    (topmost=<optimized out>, event=<optimized out>, widget=0x555555f05500
[GtkButton])
    at ../../../../gtk/gtkmain.c:2597
https://www.grisbi.org/bugsreports/view.php?id=48 propagate_event
    (widget=widget at entry=0x555555f05500 [GtkButton],
event=event at entry=0x7fffe80021e0, captured=captured at entry=0,
topmost=topmost at entry=0x0) at ../../../../gtk/gtkmain.c:2700
https://www.grisbi.org/bugsreports/view.php?id=49 0x00007ffff725713f in
gtk_propagate_event
    (widget=widget at entry=0x555555f05500 [GtkButton],
event=event at entry=0x7fffe80021e0)
    at ../../../../gtk/gtkmain.c:2734
https://www.grisbi.org/bugsreports/view.php?id=50 0x00007ffff7257a43 in
gtk_main_do_event (event=0x7fffe80021e0)
    at ../../../../gtk/gtkmain.c:1920
https://www.grisbi.org/bugsreports/view.php?id=51 gtk_main_do_event
(event=<optimized out>) at ../../../../gtk/gtkmain.c:1690
https://www.grisbi.org/bugsreports/view.php?id=52 0x00007ffff6f40775 in
_gdk_event_emit (event=event at entry=0x7fffe80021e0)
    at ../../../../gdk/gdkevents.c:73
https://www.grisbi.org/bugsreports/view.php?id=53 0x00007ffff6f74282 in
gdk_event_source_dispatch
    (source=<optimized out>, callback=<optimized out>, user_data=<optimized
out>)
    at ../../../../../gdk/x11/gdkeventsource.c:367
https://www.grisbi.org/bugsreports/view.php?id=54 0x00007ffff6a40e6b in
g_main_dispatch (context=0x555555874720)
    at ../../../glib/gmain.c:3325
https://www.grisbi.org/bugsreports/view.php?id=55 g_main_context_dispatch
(context=0x555555874720) at ../../../glib/gmain.c:4043
https://www.grisbi.org/bugsreports/view.php?id=56 0x00007ffff6a41118 in
g_main_context_iterate
    (context=context at entry=0x555555874720, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
https://www.grisbi.org/bugsreports/view.php?id=57 0x00007ffff6a411cf in
g_main_context_iteration
    (context=context at entry=0x555555874720, may_block=may_block at entry=1)
    at ../../../glib/gmain.c:4184
https://www.grisbi.org/bugsreports/view.php?id=58 0x00007ffff6c57545 in
g_application_run
    (application=0x55555589f140 [GrisbiApp], argc=-9644, argv=<optimized out>)
    at ../../../gio/gapplication.c:2559
https://www.grisbi.org/bugsreports/view.php?id=59 0x0000555555579967 in main ()
(gdb) 

Je note les 2 GLib-GObject-CRITICAL avant le plantage:
(grisbi:23883): GLib-GObject-CRITICAL **: 21:35:54.811: g_object_unref:
assertion 'G_IS_OBJECT (object)' failed 

---------------------------------------------------------------------- 
 (0006166) LudovicRousseau (administrator) - 2021-05-03 21:48
 https://www.grisbi.org/bugsreports/view.php?id=2125#c6166 
---------------------------------------------------------------------- 
En utilisant l'argument --g-fatal-warnings "(gdb) set args --g-fatal-warnings"
gdb s'arrête sur le 1er message gtk.
Mais c'est pas plus clair pour savoir d'où vient le problème.

(grisbi:25207): Gtk-CRITICAL **: 21:44:37.774: _gtk_style_animation_is_static:
assertion 'GTK_IS_STYLE_ANIMATION (animation)' failed

Thread 1 "grisbi" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=0x7ffff7405047 "Gtk", log_level=G_LOG_LEVEL_CRITICAL, 
    format=<optimized out>, args=<optimized out>) at
../../../glib/gmessages.c:1377
Download failed: Argument invalide.  Continuing without source file
./debian/build/deb/../../../glib/gmessages.c.
1377	../../../glib/gmessages.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0  g_logv
    (log_domain=0x7ffff7405047 "Gtk", log_level=G_LOG_LEVEL_CRITICAL,
format=<optimized out>, args=<optimized out>) at ../../../glib/gmessages.c:1377
https://www.grisbi.org/bugsreports/view.php?id=1  0x00007ffff6a4859f in g_log
    (log_domain=log_domain at entry=0x7ffff7405047 "Gtk",
log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
format=format at entry=0x7ffff6a9dab3 "%s: assertion '%s' failed")
    at ../../../glib/gmessages.c:1415
https://www.grisbi.org/bugsreports/view.php?id=2  0x00007ffff6a48d99 in
g_return_if_fail_warning
    (log_domain=log_domain at entry=0x7ffff7405047 "Gtk",
pretty_function=pretty_function at entry=0x7ffff746d580 <__func__.0>
"_gtk_style_animation_is_static", expression=expression at entry=0x7ffff746d518
"GTK_IS_STYLE_ANIMATION (animation)")
    at ../../../glib/gmessages.c:2771
https://www.grisbi.org/bugsreports/view.php?id=3  0x00007ffff7301212 in
_gtk_style_animation_is_static (animation=<optimized out>)
    at ../../../../gtk/gtkstyleanimation.c:120
https://www.grisbi.org/bugsreports/view.php?id=4  0x00007ffff7182631 in
gtk_css_animated_style_is_static (style=<optimized out>)
    at ../../../../gtk/gtkcssanimatedstyle.c:74
https://www.grisbi.org/bugsreports/view.php?id=5  0x00007ffff719b26d in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555f4f6c0 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1333
https://www.grisbi.org/bugsreports/view.php?id=6  0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555f4f540 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=7  0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555e590b0 [GtkCssNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=8  0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555e49c30 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=9  0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555cd9600 [GtkCssNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=10 0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555c08ec0 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=11 0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555c08dc0 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=12 0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555c089c0 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=13 0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555c08840 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=14 0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555d7bec0 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=15 0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x55555587b710 [GtkCssWidgetNode])
--Type <RET> for more, q to quit, c to continue without paging--
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=16 0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x5555559784b0 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=17 0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x555555978230 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=18 0x00007ffff719b282 in
gtk_css_node_invalidate_timestamp
    (cssnode=cssnode at entry=0x55555591d520 [GtkCssWidgetNode])
    at ../../../../gtk/gtkcssnode.c:1338
https://www.grisbi.org/bugsreports/view.php?id=19 0x00007ffff719b2d0 in
gtk_css_node_invalidate_frame_clock
    (cssnode=0x55555591d520 [GtkCssWidgetNode],
just_timestamp=just_timestamp at entry=1)
    at ../../../../gtk/gtkcssnode.c:1350
https://www.grisbi.org/bugsreports/view.php?id=20 0x00007ffff71b70e1 in
gtk_css_widget_node_queue_callback
    (widget=0x5555558b1a10 [GrisbiWin], frame_clock=<optimized out>,
user_data=<optimized out>) at ../../../../gtk/gtkcsswidgetnode.c:64
https://www.grisbi.org/bugsreports/view.php?id=21 0x00007ffff73a3eee in
gtk_widget_on_frame_clock_update
    (frame_clock=0x5555558d73b0 [GdkFrameClockIdle], widget=0x5555558b1a10
[GrisbiWin])
    at ../../../../gtk/gtkwidget.c:5283
https://www.grisbi.org/bugsreports/view.php?id=25 0x00007ffff6b4ac3f in <emit
signal ??? on instance 0x5555558d73b0 [GdkFrameClockIdle]>
    (instance=instance at entry=0x5555558d73b0, signal_id=<optimized out>,
detail=detail at entry=0) at ../../../gobject/gsignal.c:3551
    https://www.grisbi.org/bugsreports/view.php?id=22 0x00007ffff6b320a2 in
g_closure_invoke
    (closure=0x555556108500, return_value=return_value at entry=0x0,
n_param_values=1, param_values=param_values at entry=0x7fffffffd640,
invocation_hint=invocation_hint at entry=0x7fffffffd5c0) at
../../../gobject/gclosure.c:810
    https://www.grisbi.org/bugsreports/view.php?id=23 0x00007ffff6b44413 in
signal_emit_unlocked_R
    (node=node at entry=0x5555558d61b0, detail=detail at entry=0,
instance=instance at entry=0x5555558d73b0,
emission_return=emission_return at entry=0x0,
instance_and_params=instance_and_params at entry=0x7fffffffd640) at
../../../gobject/gsignal.c:3739
    https://www.grisbi.org/bugsreports/view.php?id=24 0x00007ffff6b4a6cf in
g_signal_emit_valist
    (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized
out>, var_args=var_args at entry=0x7fffffffd7c0) at ../../../gobject/gsignal.c:3495
https://www.grisbi.org/bugsreports/view.php?id=26 0x00007ffff6f499ef in
_gdk_frame_clock_emit_update
    (frame_clock=frame_clock at entry=0x5555558d73b0 [GdkFrameClockIdle])
    at ../../../../gdk/gdkframeclock.c:645
https://www.grisbi.org/bugsreports/view.php?id=27 0x00007ffff6f4a42e in
gdk_frame_clock_paint_idle (data=0x5555558d73b0)
    at ../../../../gdk/gdkframeclockidle.c:547
https://www.grisbi.org/bugsreports/view.php?id=28 0x00007ffff6f34dc9 in
gdk_threads_dispatch (data=0x555555a88f20, 
    data at entry=<error reading variable: value has been optimized out>)
    at ../../../../gdk/gdk.c:769
https://www.grisbi.org/bugsreports/view.php?id=29 0x00007ffff6a418f4 in
g_timeout_dispatch
    (source=0x555556387d50, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4877
https://www.grisbi.org/bugsreports/view.php?id=30 0x00007ffff6a40d6f in
g_main_dispatch (context=0x555555874720)
    at ../../../glib/gmain.c:3325
https://www.grisbi.org/bugsreports/view.php?id=31 g_main_context_dispatch
(context=0x555555874720) at ../../../glib/gmain.c:4043
--Type <RET> for more, q to quit, c to continue without paging--
https://www.grisbi.org/bugsreports/view.php?id=32 0x00007ffff6a41118 in
g_main_context_iterate
    (context=context at entry=0x555555874720, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
https://www.grisbi.org/bugsreports/view.php?id=33 0x00007ffff6a411cf in
g_main_context_iteration
    (context=context at entry=0x555555874720, may_block=may_block at entry=1)
    at ../../../glib/gmain.c:4184
https://www.grisbi.org/bugsreports/view.php?id=34 0x00007ffff6c57545 in
g_application_run
    (application=0x55555589f140 [GrisbiApp], argc=-9676, argv=<optimized out>)
    at ../../../gio/gapplication.c:2559
https://www.grisbi.org/bugsreports/view.php?id=35 0x0000555555579967 in main ()
(gdb) 

---------------------------------------------------------------------- 
 (0006167) pbiava (administrator) - 2021-05-05 08:00
 https://www.grisbi.org/bugsreports/view.php?id=2125#c6167 
---------------------------------------------------------------------- 
Bon j'ai corrigé le problème. Il faut juste confirmer la solution (suppression
de la ligne 2619 : g_object_unref (G_OBJECT (pixbu ));) 

---------------------------------------------------------------------- 
 (0006168) LudovicRousseau (administrator) - 2021-05-05 09:49
 https://www.grisbi.org/bugsreports/view.php?id=2125#c6168 
---------------------------------------------------------------------- 
ça m'a l'air bon. Je n'ai plus le problème (sous macOS). 

---------------------------------------------------------------------- 
 (0006177) pbiava (administrator) - 2021-05-10 14:59
 https://www.grisbi.org/bugsreports/view.php?id=2125#c6177 
---------------------------------------------------------------------- 
fixed in version 2.03.
file for Windows : Grisbi-64bit-2.0.3-2021.05.05-setup.exe 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2021-05-03 10:51 phlpp          New Issue                                    
2021-05-03 21:37 LudovicRousseauNote Added: 0006164                          
2021-05-03 21:41 LudovicRousseauNote Added: 0006165                          
2021-05-03 21:48 LudovicRousseauNote Added: 0006166                          
2021-05-05 08:00 pbiava         File Added: gsb_data_account.c                  
 
2021-05-05 08:00 pbiava         Note Added: 0006167                          
2021-05-05 09:49 LudovicRousseauNote Added: 0006168                          
2021-05-10 14:59 pbiava         Assigned To               => pbiava          
2021-05-10 14:59 pbiava         Status                   new => resolved     
2021-05-10 14:59 pbiava         Resolution               open => fixed       
2021-05-10 14:59 pbiava         Fixed in Version          => 2.0.x           
2021-05-10 14:59 pbiava         Note Added: 0006177                          
======================================================================



Plus d'informations sur la liste de diffusion bugsreports