[grisbi-bugs] [Grisbi 0001799]: Plantage lors de l'accès aux préférences
Grisbi Bug Tracker
bugtracker at grisbi.org
Jeu 22 Mar 07:03:54 CET 2018
The following issue has been RESOLVED.
======================================================================
http://www.grisbi.org/bugsreports/view.php?id=1799
======================================================================
Reported By: ThierryM
Assigned To: pbiava
======================================================================
Project: Grisbi
Issue ID: 1799
Category: Main
Reproducibility: have not tried
Severity: major
Priority: normal
Status: resolved
OS: Ubuntu
Unstable Impact: Yes
Version OS: 16.04
Version GTK: 3.18.9
Resolution: fixed
Fixed in Version: development (git)
======================================================================
Date Submitted: 2018-01-21 20:38 CET
Last Modified: 2018-03-22 07:03 CET
======================================================================
Summary: Plantage lors de l'accès aux préférences
Description:
Sur la version de développement 1.1.91 compilé sous Ubuntu 16.04 (64bits), en
voulant accéder aux préférences, le programme plante signalant une erreur de
segmentation (cf capture d'écran ci jointe).
grisbi() [0x49f8b1]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f03a26b14b0]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x115737) [0x7f03a4686737]
grisbi() [0x4ebaf0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_create_instance+0x1f9)
[0x7f03a335f359]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1531b) [0x7f03a334131b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_newv+0xd1)
[0x7f03a3342c01]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0x104)
[0x7f03a3343534]
grisbi() [0x4a883a]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_create_instance+0x1f9)
[0x7f03a335f359]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1531b) [0x7f03a334131b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x3b5)
[0x7f03a33431b5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0xf1)
[0x7f03a3343521]
grisbi() [0x45c447]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x145)
[0x7f03a333bfa5]
Steps to Reproduce:
En cliquant dans le menu "Éditer" -> "Préférences".
======================================================================
----------------------------------------------------------------------
(0004149) pbiava (administrator) - 2018-01-21 21:07
http://www.grisbi.org/bugsreports/view.php?id=1799#c4149
----------------------------------------------------------------------
Lancer grisbi dans une console pour avoir les messages avant le plantage.
----------------------------------------------------------------------
(0004150) ThierryM (reporter) - 2018-01-21 21:19
http://www.grisbi.org/bugsreports/view.php?id=1799#c4150
----------------------------------------------------------------------
En lançant dans la console, j'ai aussi un plantage directement au lancement de
Grisbi (sans aller jusqu'aux préférences) :
Voilà le contenu de la console :
thierry at thierry-M70Vn:~$ grisbi
Sun Jan 21 21:15:45 2018, 0,031634 : Debug GRISBI 1.1.91 -
erreur.c:333:debug_initialize_debugging - Niveau de débogage : Débug
Sun Jan 21 21:15:45 2018, 0,031726 : Debug -
grisbi_app.c:107:grisbi_app_struct_conf_init
Sun Jan 21 21:15:45 2018, 0,071195 : Debug -
grisbi_settings.c:475:grisbi_settings_init
Sun Jan 21 21:15:45 2018, 0,071912 : Debug -
gsb_file.c:597:gsb_file_init_last_path - /travail_ssd/0-Travail/Archives Ecole
Général/EPS & Assoc. USEP/CRUSEP/CRUSEP Occitanie/
Variables d'environnement :
LANGUAGE = fr_FR:en
Currency
currency_symbol = €
mon_thousands_sep = " "
mon_decimal_point = ,
positive_sign = ""
negative_sign = "-"
p_cs_precedes = "0"
n_cs_precedes = "0"
p_sep_by_space = "1"
frac_digits = "2"
gint64
G_GINT64_MODIFIER = "l"
9223372036854775807
Paths
user_default_dir = /home/thierry
user_data_dir = /home/thierry/.local/share/grisbi
user_config_dir = /home/thierry/.config/grisbi
G_USER_DIRECTORY_DOCUMENTS = /home/thierry/Documents
G_USER_DIRECTORY_DOWNLOAD = /home/thierry/Téléchargements
categories_dir = /usr/local/share/grisbi/categories
locale_dir = /usr/local/share/locale
pixmaps_dir = /usr/local/share/pixmaps/grisbi
ui_dir = /usr/local/share/grisbi/ui
Sun Jan 21 21:15:45 2018, 0,073690 : Debug -
gsb_rgba.c:90:gsb_rgba_initialise_couleurs_par_defaut
Sun Jan 21 21:15:45 2018, 0,073756 : Debug -
traitement_variables.c:131:init_variables
Sun Jan 21 21:15:45 2018, 0,073887 : Debug -
traitement_variables.c:356:initialise_tab_affichage_ope
Sun Jan 21 21:15:45 2018, 0,073940 : Debug -
gsb_form_widget.c:105:gsb_form_widget_free_list
Sun Jan 21 21:15:45 2018, 0,073956 : Debug -
gsb_form_scheduler.c:273:gsb_form_scheduler_free_list
Sun Jan 21 21:15:45 2018, 0,073986 : Debug -
import.c:1329:gsb_import_register_ImportFormat - Ajouter « CSV » en tant que
format d'importation
Sun Jan 21 21:15:45 2018, 0,074006 : Debug -
import.c:1329:gsb_import_register_ImportFormat - Ajouter « QIF » en tant que
format d'importation
Sun Jan 21 21:15:45 2018, 0,074022 : Debug -
import.c:1329:gsb_import_register_ImportFormat - Ajouter « Gnucash » en tant
que format d'importation
Sun Jan 21 21:15:45 2018, 0,074039 : Debug -
import.c:1329:gsb_import_register_ImportFormat - Ajouter « OFX » en tant que
format d'importation
Sun Jan 21 21:15:45 2018, 0,076980 : Debug -
grisbi_app.c:409:grisbi_app_init_recent_files_menu
Sun Jan 21 21:15:45 2018, 0,077212 : Debug -
grisbi_app.c:967:grisbi_app_activate
Sun Jan 21 21:15:45 2018, 0,084807 : Debug -
grisbi_win.c:542:grisbi_win_no_file_page_new
signal name = SIGSEGV
Sun Jan 21 21:15:45 2018 : 15 elements in stack.
grisbi() [0x49f8b1]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7fb6debaa4b0]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x42) [0x7fb6debf9532]
grisbi() [0x41c4c9]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_create_instance+0x1f9)
[0x7fb6df858359]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1531b) [0x7fb6df83a31b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x3b5)
[0x7fb6df83c1b5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0xf1)
[0x7fb6df83c521]
grisbi() [0x419b21]
grisbi() [0x419cfd]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x101d4) [0x7fb6df8351d4]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xc06)
[0x7fb6df84f9a6]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x8f)
[0x7fb6df85008f]
grisbi() [0x41a02c]
/usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call_unix64+0x4c) [0x7fb6d8ef1e40]
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
^Csignal name = SIGINT
Sun Jan 21 21:16:23 2018 : 15 elements in stack.
grisbi() [0x49f8b1]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7fb6debaa4b0]
/lib/x86_64-linux-gnu/libc.so.6(__poll+0x2d) [0x7fb6dec7074d]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a38c) [0x7fb6df55e38c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0xc2) [0x7fb6df55e712]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_dialog_run+0x160) [0x7fb6e0bf1420]
grisbi() [0x49f9dd]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7fb6debaa4b0]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x42) [0x7fb6debf9532]
grisbi() [0x41c4c9]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_create_instance+0x1f9)
[0x7fb6df858359]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1531b) [0x7fb6df83a31b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x3b5)
[0x7fb6df83c1b5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0xf1)
[0x7fb6df83c521]
grisbi() [0x419b21]
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Sun Jan 21 21:16:35 2018, 0,284970 : Debug -
gsb_file_util.c:238:gsb_file_util_modify_lock - 0
----------------------------------------------------------------------
(0004155) ThierryM (reporter) - 2018-01-22 12:58
http://www.grisbi.org/bugsreports/view.php?id=1799#c4155
----------------------------------------------------------------------
Ce problème n'existe pas sous Grisbi 1.1.90.
----------------------------------------------------------------------
(0004263) pbiava (administrator) - 2018-02-25 21:41
http://www.grisbi.org/bugsreports/view.php?id=1799#c4263
----------------------------------------------------------------------
As-tu essayé de compiler une version plus récente de master sur github ?
----------------------------------------------------------------------
(0004264) ThierryM (reporter) - 2018-02-26 00:56
http://www.grisbi.org/bugsreports/view.php?id=1799#c4264
----------------------------------------------------------------------
Salut Pierre,
Avec Grisbib1.1.9 compilé à l'intant, j'ai toujours une erreur de
segmentation. Voici le traçage :
grisbi() [0x4a0511]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f02e446d4b0]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x115737) [0x7f02e6442737]
grisbi() [0x4ecdd0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_create_instance+0x1f9)
[0x7f02e511b359]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1531b) [0x7f02e50fd31b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_newv+0xd1)
[0x7f02e50fec01]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0x104)
[0x7f02e50ff534]
grisbi() [0x4a9ac5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_create_instance+0x1f9)
[0x7f02e511b359]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1531b) [0x7f02e50fd31b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x3b5)
[0x7f02e50ff1b5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0xf1)
[0x7f02e50ff521]
grisbi() [0x45c6c7]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x145)
[0x7f02e50f7fa5]
Si, je lance en console, cette fois-ci Grisbi se lance correctement mais quand
je vais dans Préférences, j'ai toujours cette erreur de segmentation. Voici,
ce qui apparaît dans ma console :
thierry at thierry-N71Jv:~/devel/grisbi$ grisbi
Mon Feb 26 00:54:15 2018, 0,035101 : Debug GRISBI 1.1.91 -
erreur.c:333:debug_initialize_debugging - Niveau de débogage : Débug
Mon Feb 26 00:54:15 2018, 0,035207 : Debug -
grisbi_app.c:107:grisbi_app_struct_conf_init
Mon Feb 26 00:54:15 2018, 0,083629 : Debug -
grisbi_settings.c:475:grisbi_settings_init
Mon Feb 26 00:54:15 2018, 0,085278 : Debug -
gsb_file.c:598:gsb_file_init_last_path - /travail_ssd/0-Travail/Archives Ecole
Général/EPS & Assoc. USEP/CRUSEP/Comptabilité/
Variables d'environnement :
LANGUAGE = fr_FR:en
Currency
currency_symbol = €
mon_thousands_sep = " "
mon_decimal_point = ,
positive_sign = ""
negative_sign = "-"
p_cs_precedes = "0"
n_cs_precedes = "0"
p_sep_by_space = "1"
frac_digits = "2"
gint64
G_GINT64_MODIFIER = "l"
9223372036854775807
Paths
user_default_dir = /home/thierry
user_data_dir = /home/thierry/.local/share/grisbi
user_config_dir = /home/thierry/.config/grisbi
G_USER_DIRECTORY_DOCUMENTS = /home/thierry/Documents
G_USER_DIRECTORY_DOWNLOAD = /home/thierry/Téléchargements
categories_dir = /usr/local/share/grisbi/categories
locale_dir = /usr/local/share/locale
pixmaps_dir = /usr/local/share/pixmaps/grisbi
help_dir = /usr/local/share/doc/grisbi
ui_dir = /usr/local/share/grisbi/ui
Mon Feb 26 00:54:15 2018, 0,089345 : Debug -
gsb_rgba.c:90:gsb_rgba_initialise_couleurs_par_defaut
Mon Feb 26 00:54:15 2018, 0,089415 : Debug -
traitement_variables.c:131:init_variables
Mon Feb 26 00:54:15 2018, 0,089541 : Debug -
traitement_variables.c:360:initialise_tab_affichage_ope
Mon Feb 26 00:54:15 2018, 0,089587 : Debug -
gsb_form_widget.c:105:gsb_form_widget_free_list
Mon Feb 26 00:54:15 2018, 0,089609 : Debug -
gsb_form_scheduler.c:273:gsb_form_scheduler_free_list
Mon Feb 26 00:54:15 2018, 0,089645 : Debug -
import.c:1329:gsb_import_register_ImportFormat - Ajouter « CSV » en tant que
format d'importation
Mon Feb 26 00:54:15 2018, 0,089672 : Debug -
import.c:1329:gsb_import_register_ImportFormat - Ajouter « QIF » en tant que
format d'importation
Mon Feb 26 00:54:15 2018, 0,089693 : Debug -
import.c:1329:gsb_import_register_ImportFormat - Ajouter « Gnucash » en tant
que format d'importation
Mon Feb 26 00:54:15 2018, 0,089713 : Debug -
import.c:1329:gsb_import_register_ImportFormat - Ajouter « OFX » en tant que
format d'importation
Mon Feb 26 00:54:15 2018, 0,091688 : Debug -
grisbi_app.c:409:grisbi_app_init_recent_files_menu
Mon Feb 26 00:54:15 2018, 0,091951 : Debug -
grisbi_app.c:967:grisbi_app_activate
Mon Feb 26 00:54:15 2018, 0,103671 : Debug -
grisbi_win.c:516:grisbi_win_no_file_page_new
Mon Feb 26 00:54:15 2018, 0,142295 : Debug -
grisbi_win.c:1259:grisbi_win_stack_box_show - accueil_page
Mon Feb 26 00:54:21 2018, 0,189368 : Debug -
grisbi_prefs.c:712:grisbi_prefs_init
Mon Feb 26 00:54:21 2018, 0,190933 : Debug -
grisbi_prefs.c:615:grisbi_prefs_left_tree_view_setup
Mon Feb 26 00:54:21 2018, 0,196442 : Debug -
grisbi_prefs.c:417:grisbi_prefs_left_panel_populate_tree_model
Mon Feb 26 00:54:21 2018, 0,538733 : Debug -
prefs_page_files.c:107:prefs_page_files_setup_files_page
(grisbi:21930): Gtk-CRITICAL **: Error building template class
'PrefsPageArchives' for an instance of type 'PrefsPageArchives': .:3:2690
Invalid property: GtkScrolledWindow.propagate_natural_width
Mon Feb 26 00:54:21 2018, 0,549133 : Debug -
prefs_page_archives.c:534:prefs_page_archives_setup_archives_page
signal name = SIGSEGV
Mon Feb 26 00:54:21 2018 : 15 elements in stack.
grisbi() [0x4a0511]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7facb21394b0]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x115737) [0x7facb410e737]
grisbi() [0x4ecdd0]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_create_instance+0x1f9)
[0x7facb2de7359]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1531b) [0x7facb2dc931b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_newv+0xd1)
[0x7facb2dcac01]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0x104)
[0x7facb2dcb534]
grisbi() [0x4a9ac5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_create_instance+0x1f9)
[0x7facb2de7359]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1531b) [0x7facb2dc931b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x3b5)
[0x7facb2dcb1b5]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0xf1)
[0x7facb2dcb521]
grisbi() [0x45c6c7]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x145)
[0x7facb2dc3fa5]
Mon Feb 26 00:54:32 2018, 0,847664 : Debug -
gsb_file_util.c:238:gsb_file_util_modify_lock - 0
Cordialement
----------------------------------------------------------------------
(0004344) pbiava (administrator) - 2018-03-22 07:03
http://www.grisbi.org/bugsreports/view.php?id=1799#c4344
----------------------------------------------------------------------
fixed in github
Issue History
Date Modified Username Field Change
======================================================================
2018-01-21 20:38 ThierryM New Issue
2018-01-21 20:38 ThierryM File Added: Fenêtre sans titre_579.png
2018-01-21 21:06 pbiava Assigned To => pbiava
2018-01-21 21:06 pbiava Status new => assigned
2018-01-21 21:07 pbiava Note Added: 0004149
2018-01-21 21:19 ThierryM Note Added: 0004150
2018-01-22 12:58 ThierryM Note Added: 0004155
2018-02-25 21:41 pbiava Note Added: 0004263
2018-02-26 00:56 ThierryM Note Added: 0004264
2018-03-22 07:03 pbiava Status assigned => resolved
2018-03-22 07:03 pbiava Resolution open => fixed
2018-03-22 07:03 pbiava Fixed in Version => development (git)
2018-03-22 07:03 pbiava Note Added: 0004344
======================================================================
Plus d'informations sur la liste de diffusion bugsreports