[grisbi-bugs] [Grisbi-0.6.0 0000834]: segmentation fault

bugtracker at grisbi.org bugtracker at grisbi.org
Thu May 27 22:07:07 CEST 2010


The following issue has been CLOSED 
====================================================================== 
http://grisbi.tuxfamily.org/mantis/view.php?id=834 
====================================================================== 
Reported By:                marcfran
Assigned To:                pbiava
====================================================================== 
Project:                    Grisbi-0.6.0
Issue ID:                   834
Category:                   Main
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Plateforme:                 Linux 
OS:                         Ubuntu 
Version OS:                 9.1 
Unstable Impact:            Yes 
Version GTK:                2 
Resolution:                 fixed
Fixed in Version:           CVS (développement)
====================================================================== 
Date Submitted:             01-03-2010 17:22 UTC
Last Modified:              05-27-2010 20:07 UTC
====================================================================== 
Summary:                    segmentation fault
Description: 
When I click OK in order to reconcile my account, I got error message
segmentation fault.
I had this issue before with 0.5.9, and therefore I have updated on 0.6
but the issue is coming back again. I was able to reconsile with 0.6, and I
did not applied any patch recently. I am using Ubuntu 9.1, Gnome 2.28.1

Lorsque je clique sur OK afin de reconsilier mon compte à partir de mon
dernier extrait de compte j'obtient une erreur segmentation fault.
====================================================================== 

---------------------------------------------------------------------- 
 pbiava - 01-03-10 17:36  
---------------------------------------------------------------------- 
Have you used the 0.6.0RC1 version or the version from CVS ?

Have you the same thing with a new account ?

can you make obfuscate your file and put it here if the bug is always
present 

---------------------------------------------------------------------- 
 marcfran - 01-03-10 17:38  
---------------------------------------------------------------------- 
Starting program: /usr/bin/grisbi /usr/bin/grisbi
[Thread debugging using libthread_db enabled]
dialogue_conditional_new : account-file-readable

(grisbi:3690): Gtk-WARNING **: Failed to set text from markup due to error
parsing markup: Error on line 3 char 83: Element 'markup' was closed, but
the currently open element is 'book'

Program received signal SIGSEGV, Segmentation fault.
0x009fa9b8 in strcmp () from /lib/tls/i686/cmov/libc.so.6 

---------------------------------------------------------------------- 
 pbiava - 01-03-10 17:52  
---------------------------------------------------------------------- 
Can you run grisbi in a terminal with the following command and post here
the lines before crashing :

export DEBUG_GRISBI=5 && /usr/bin/grisbi 

---------------------------------------------------------------------- 
 marcfran - 01-03-10 18:04  
---------------------------------------------------------------------- 
here is the result of the debug file:
i am using Grisbi 0.6 with gtk 2.18.3. I have performed the installation
via Synaptic using the following site: http://ftp.fr.debian.org/debian [^]
experimental main.
I have tested the same thing with a new account and I have the same
problem

marc at lap1:~$ export DEBUG_GRISBI=5 && /usr/bin/grisbi 
Sun Jan  3 18:55:19 2010 : GRISBI 0.6.0 Debug -
erreur.c:206:initialize_debugging - Debug enabled, level is 'Debug'
Sun Jan  3 18:55:19 2010 : Debug - gnucash.c:89:gnucash_plugin_register -
Initializating gnucash plugin
Sun Jan  3 18:55:19 2010 : Debug - import.c:258:register_import_format -
Adding 'Gnucash' as an import format
Sun Jan  3 18:55:19 2010 : Debug - ofx.c:66:ofx_plugin_register -
Initializating ofx plugin
Sun Jan  3 18:55:19 2010 : Debug - import.c:258:register_import_format -
Adding 'OFX' as an import format
Sun Jan  3 18:55:19 2010 : Debug - openssl.c:310:openssl_plugin_register -
Initializating openssl plugin
Sun Jan  3 18:55:19 2010 : Debug -
traitement_variables.c:389:initialisation_couleurs_listes
Sun Jan  3 18:55:19 2010 : Debug -
traitement_variables.c:228:init_variables
Sun Jan  3 18:55:19 2010 : Debug -
traitement_variables.c:567:initialise_tab_affichage_ope
Sun Jan  3 18:55:19 2010 : Debug -
gsb_form_widget.c:96:gsb_form_widget_free_list
Sun Jan  3 18:55:19 2010 : Debug -
gsb_form_scheduler.c:271:gsb_form_scheduler_free_list
Sun Jan  3 18:55:19 2010 : Debug - import.c:258:register_import_format -
Adding 'CSV' as an import format
Sun Jan  3 18:55:19 2010 : Debug - import.c:258:register_import_format -
Adding 'QIF' as an import format
Sun Jan  3 18:55:19 2010 : Debug -
gsb_file_config.c:1211:gsb_file_config_clean_config
Sun Jan  3 18:55:19 2010 : Debug -
menu.c:792:gsb_menu_transaction_operations_set_sensitive - item
unsensitive
Sun Jan  3 18:55:19 2010 : Debug -
traitement_variables.c:539:menus_sensitifs - 0
Sun Jan  3 18:55:19 2010 : Debug -
menu.c:792:gsb_menu_transaction_operations_set_sensitive - item
unsensitive
Sun Jan  3 18:55:19 2010 : Debug - gsb_file.c:390:gsb_file_open_file -
/home/marc/comptanew.gsb
Sun Jan  3 18:55:19 2010 : Debug - utils.c:353:update_ecran
Sun Jan  3 18:55:19 2010 : Debug -
gsb_file_load.c:288:gsb_file_load_open_file - /home/marc/comptanew.gsb
Sun Jan  3 18:55:19 2010 : Debug -
traitement_variables.c:186:modification_fichier - 0
dialogue_conditional_hint : account-already-opened
dialogue_conditional : account-already-opened
dialogue_conditional_new : account-already-opened
Sun Jan  3 18:55:21 2010 : Debug -
gsb_file.c:1051:gsb_file_append_name_to_opened_list -
/home/marc/comptanew.gsb
Sun Jan  3 18:55:21 2010 : Debug -
traitement_variables.c:539:menus_sensitifs - 1
Sun Jan  3 18:55:21 2010 : Debug -
menu.c:792:gsb_menu_transaction_operations_set_sensitive - item
unsensitive
Sun Jan  3 18:55:21 2010 : Debug -
fenetre_principale.c:184:create_main_notebook - create_main_notebook
Sun Jan  3 18:55:21 2010 : Debug - gsb_form.c:211:gsb_form_create_widgets
Sun Jan  3 18:55:21 2010 : Debug -
gsb_form_widget.c:96:gsb_form_widget_free_list
Sun Jan  3 18:55:21 2010 : Debug -
gsb_form_scheduler.c:136:gsb_form_scheduler_create
Sun Jan  3 18:55:21 2010 : Debug -
gsb_form_scheduler.c:620:gsb_form_scheduler_clean
Sun Jan  3 18:55:21 2010 : Debug - gsb_form.c:996:gsb_form_show - 0
Sun Jan  3 18:55:21 2010 : Debug - accueil.c:138:creation_onglet_accueil
Sun Jan  3 18:55:21 2010 : Debug -
gsb_account_property.c:200:gsb_account_property_create_page
Sun Jan  3 18:55:21 2010 : Debug -
gsb_currency.c:256:gsb_currency_update_combobox_currency_list
Sun Jan  3 18:55:21 2010 : Debug -
gsb_scheduler_list.c:163:gsb_scheduler_list_create_list
Sun Jan  3 18:55:21 2010 : Debug -
gsb_scheduler_list.c:346:gsb_scheduler_list_create_list_columns
Sun Jan  3 18:55:21 2010 : Debug -
gsb_scheduler_list.c:395:gsb_scheduler_list_create_model
Sun Jan  3 18:55:21 2010 : Debug -
gsb_transactions_list.c:488:gsb_transactions_list_fill_model
Sun Jan  3 18:55:21 2010 : Debug -
gsb_transactions_list.c:568:gsb_transactions_list_fill_archive_store
Sun Jan  3 18:55:21 2010 : Debug -
navigation.c:947:navigation_change_account - -1
Sun Jan  3 18:55:21 2010 : Debug -
menu.c:727:gsb_menu_update_accounts_in_menus -
gsb_menu_update_accounts_in_menus
Sun Jan  3 18:55:21 2010 : Debug -
gsb_file.c:1018:gsb_file_update_window_title -
gsb_file_update_window_title
Sun Jan  3 18:55:21 2010 : Debug -
accueil.c:384:update_liste_comptes_accueil - update_liste_comptes_accueil
Sun Jan  3 18:55:21 2010 : Debug -
accueil.c:1200:update_liste_echeances_manuelles_accueil - 1
Sun Jan  3 18:55:21 2010 : Debug -
gsb_scheduler.c:463:gsb_scheduler_check_scheduled_transactions_time_limit
Sun Jan  3 18:55:21 2010 : Debug -
accueil.c:1342:update_liste_echeances_auto_accueil - 1
Sun Jan  3 18:55:21 2010 : Debug - accueil.c:1479:update_soldes_minimaux -
update_soldes_minimaux
Sun Jan  3 18:55:21 2010 : Debug -
accueil.c:1776:update_fin_comptes_passifs
Sun Jan  3 18:55:21 2010 : Debug -
traitement_variables.c:186:modification_fichier - 0
Sun Jan  3 18:55:21 2010 : Debug - utils.c:353:update_ecran
Sun Jan  3 18:55:21 2010 : Debug -
navigation.c:1112:gsb_gui_navigation_select_line
Sun Jan  3 18:55:21 2010 : Info -
navigation.c:1131:gsb_gui_navigation_select_line - Home page selected
Sun Jan  3 18:55:21 2010 : Debug -
accueil.c:384:update_liste_comptes_accueil - update_liste_comptes_accueil
Sun Jan  3 18:55:21 2010 : Debug -
accueil.c:1200:update_liste_echeances_manuelles_accueil - 0
Sun Jan  3 18:55:21 2010 : Debug -
gsb_scheduler.c:463:gsb_scheduler_check_scheduled_transactions_time_limit
Sun Jan  3 18:55:23 2010 : Debug -
navigation.c:1112:gsb_gui_navigation_select_line
Sun Jan  3 18:55:23 2010 : Info -
navigation.c:1151:gsb_gui_navigation_select_line - Account page selected
Sun Jan  3 18:55:23 2010 : Debug -
navigation.c:947:navigation_change_account - 0
Sun Jan  3 18:55:23 2010 : Debug -
gsb_transactions_list.c:868:gsb_transactions_list_get_row_align
Sun Jan  3 18:55:23 2010 : Debug -
transaction_list_sort.c:130:transaction_list_sort_set_column - 1
Sun Jan  3 18:55:23 2010 : Debug -
transaction_list.c:603:transaction_list_filter
Sun Jan  3 18:55:23 2010 : Debug -
transaction_list_sort.c:75:transaction_list_sort
Sun Jan  3 18:55:23 2010 : Debug -
transaction_list.c:777:transaction_list_colorize
Sun Jan  3 18:55:23 2010 : Debug -
transaction_list.c:832:transaction_list_set_balances
Sun Jan  3 18:55:23 2010 : Debug -
gsb_transactions_list.c:1314:gsb_transactions_list_selection_changed - -1
Sun Jan  3 18:55:23 2010 : Debug -
menu.c:792:gsb_menu_transaction_operations_set_sensitive - item
unsensitive
Sun Jan  3 18:55:23 2010 : Debug -
gsb_transactions_list.c:906:gsb_transactions_list_set_row_align
Sun Jan  3 18:55:23 2010 : Debug -
menu.c:792:gsb_menu_transaction_operations_set_sensitive - item
unsensitive
Sun Jan  3 18:55:23 2010 : Debug -
gsb_account_property.c:598:gsb_account_property_fill_page
Sun Jan  3 18:55:23 2010 : Debug -
menu.c:727:gsb_menu_update_accounts_in_menus -
gsb_menu_update_accounts_in_menus
Sun Jan  3 18:55:23 2010 : Debug - menu.c:669:gsb_menu_update_view_menu -
0
Sun Jan  3 18:55:23 2010 : Debug - gsb_form.c:996:gsb_form_show - 0
Sun Jan  3 18:55:23 2010 : Debug -
gsb_form.c:1160:gsb_form_fill_from_account - 0
Sun Jan  3 18:55:23 2010 : Debug -
gsb_form_widget.c:96:gsb_form_widget_free_list
Sun Jan  3 18:55:23 2010 : Debug - gsb_form.c:1243:gsb_form_clean - 0
Sun Jan  3 18:55:23 2010 : Debug -
gsb_payment_method.c:349:gsb_payment_method_changed_callback
Sun Jan  3 18:55:50 2010 : 15 elements in stack.
	/usr/bin/grisbi(traitement_sigsegv+0x1cb) [0x808433b]
	[0x784400]
	/usr/bin/grisbi [0x810ff0f]
	/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x7c)
[0xe829fc]
	/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1b2) [0xe75072]
	/usr/lib/libgobject-2.0.so.0 [0xe8a7a8]
	/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7bd) [0xe8bb2d]
	/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26) [0xe8bfb6]
	/usr/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x8a) [0x18d88a]
	/usr/lib/libgtk-x11-2.0.so.0 [0x18eea8]
	/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x7c)
[0xe829fc]
	/usr/lib/libgobject-2.0.so.0 [0xe736f9]
	/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1b2) [0xe75072]
	/usr/lib/libgobject-2.0.so.0 [0xe8a0b0]
	/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7bd) [0xe8bb2d] 

---------------------------------------------------------------------- 
 marcfran - 01-09-10 15:23  
---------------------------------------------------------------------- 
I have updated the version of Grisbi to 0.6RC1 but still same issue when i
perform the reconsiliation. 

---------------------------------------------------------------------- 
 marcfran - 01-10-10 13:48  
---------------------------------------------------------------------- 
I found the error.
I figured out that the issue was related to a past reconcialation number.
I have checked the last reconciation number (void), and enter the next
logical incremental number (taking as example past reconciation number).
Then I could proceed normally to the reconcialation.
The issue was not related to the installation 

---------------------------------------------------------------------- 
 pbiava - 01-10-10 20:01  
---------------------------------------------------------------------- 
fixed in CVS 

---------------------------------------------------------------------- 
 pbiava - 01-10-10 20:07  
---------------------------------------------------------------------- 
the error comes because the name of the last reconciliation of account 0 is
empty. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-03-10 17:22  marcfran       New Issue                                    
01-03-10 17:22  marcfran       Plateforme                => Linux           
01-03-10 17:22  marcfran       OS                        => Ubuntu          
01-03-10 17:22  marcfran       Version OS                => 9.1             
01-03-10 17:22  marcfran       Unstable Impact           => Yes             
01-03-10 17:22  marcfran       Version GTK               => 2               
01-03-10 17:27  pbiava         Status                   new => assigned     
01-03-10 17:27  pbiava         Assigned To               => pbiava          
01-03-10 17:36  pbiava         Note Added: 0001587                          
01-03-10 17:38  marcfran       Note Added: 0001588                          
01-03-10 17:52  pbiava         Note Added: 0001590                          
01-03-10 18:04  marcfran       Note Added: 0001592                          
01-09-10 15:23  marcfran       Note Added: 0001627                          
01-10-10 13:48  marcfran       Note Added: 0001633                          
01-10-10 20:01  pbiava         Status                   assigned => resolved
01-10-10 20:01  pbiava         Fixed in Version          => CVS (développement)
01-10-10 20:01  pbiava         Resolution               open => fixed       
01-10-10 20:01  pbiava         Note Added: 0001635                          
01-10-10 20:07  pbiava         Note Added: 0001636                          
05-27-10 20:07  pbiava         Status                   resolved => closed  
======================================================================



More information about the bugsreports mailing list