[grisbi-bugs] [Grisbi 0000987]: Click Apply dans Etat

bugtracker at grisbi.org bugtracker at grisbi.org
Mon Mar 8 22:15:00 CET 2010


The following issue has been CLOSED 
====================================================================== 
http://grisbi.tuxfamily.org/mantis/view.php?id=987 
====================================================================== 
Reported By:                chatmoa
Assigned To:                
====================================================================== 
Project:                    Grisbi
Issue ID:                   987
Category:                   Main
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
OS:                         Ubuntu 
Unstable Impact:            Yes 
Version OS:                 Kubuntu 9.10 
Version GTK:                2.8.0 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             03-01-2010 23:55 UTC
Last Modified:              03-08-2010 21:15 UTC
====================================================================== 
Summary:                    Click Apply dans Etat
Description: 
Lors de la modification ou creation d'un etat, SegFault lors du click sur
Apply
====================================================================== 

---------------------------------------------------------------------- 
 chatmoa - 03-02-10 20:42  
---------------------------------------------------------------------- 
Starting program: /usr/bin/grisbi
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4e82037 in memmove () from /lib/libc.so.6
(gdb) bt
http://grisbi.tuxfamily.org/mantis/view.php?id=0  0x00007ffff4e82037 in memmove
() from /lib/libc.so.6
http://grisbi.tuxfamily.org/mantis/view.php?id=1  0x00007ffff551bd6d in
IA__g_strchug (string=0x7ffff790c862 "") at
/usr/include/bits/string3.h:59
http://grisbi.tuxfamily.org/mantis/view.php?id=2  0x0000000000459a7c in
recuperation_info_perso_etat () at
etats_config.c:1421
http://grisbi.tuxfamily.org/mantis/view.php?id=3  0x00007ffff59985ae in
IA__g_closure_invoke (closure=0xdcc820,
return_value=0x0, n_param_values=1, param_values=0xe768c0,
invocation_hint=0x7fffffffd3a0)
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c:767
http://grisbi.tuxfamily.org/mantis/view.php?id=4  0x00007ffff59ad983 in
signal_emit_unlocked_R (node=0x777240,
detail=<value optimized out>, instance=<value optimized out>,
emission_return=<value optimized out>,
    instance_and_params=<value optimized out>) at
/build/buildd/glib2.0-2.22.3/gobject/gsignal.c:3247
http://grisbi.tuxfamily.org/mantis/view.php?id=5  0x00007ffff59aed39 in
IA__g_signal_emit_valist (instance=0xdb0560,
signal_id=<value optimized out>, detail=0, var_args=0x7fffffffd590)
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2980
http://grisbi.tuxfamily.org/mantis/view.php?id=6  0x00007ffff59af283 in
IA__g_signal_emit (instance=0x7ffff790c862,
signal_id=4153460834, detail=0) at
/build/buildd/glib2.0-2.22.3/gobject/gsignal.c:3037
http://grisbi.tuxfamily.org/mantis/view.php?id=7  0x00007ffff7633af5 in
gtk_real_button_released (button=0x7ffff790c862)
at /build/buildd/gtk+2.0-2.18.3/gtk/gtkbutton.c:1707
http://grisbi.tuxfamily.org/mantis/view.php?id=8  0x00007ffff59985ae in
IA__g_closure_invoke (closure=0x77b5d0,
return_value=0x0, n_param_values=1, param_values=0xe73640,
invocation_hint=0x7fffffffd7b0)
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c:767
http://grisbi.tuxfamily.org/mantis/view.php?id=9  0x00007ffff59ad29c in
signal_emit_unlocked_R (node=0x777170,
detail=<value optimized out>, instance=<value optimized out>,
emission_return=<value optimized out>,
    instance_and_params=<value optimized out>) at
/build/buildd/glib2.0-2.22.3/gobject/gsignal.c:3177
http://grisbi.tuxfamily.org/mantis/view.php?id=10 0x00007ffff59aed39 in
IA__g_signal_emit_valist (instance=0xdb0560,
signal_id=<value optimized out>, detail=0, var_args=0x7fffffffd9a0)
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2980
http://grisbi.tuxfamily.org/mantis/view.php?id=11 0x00007ffff59af283 in
IA__g_signal_emit (instance=0x7ffff790c862,
signal_id=4153460834, detail=0) at
/build/buildd/glib2.0-2.22.3/gobject/gsignal.c:3037
http://grisbi.tuxfamily.org/mantis/view.php?id=12 0x00007ffff76327ad in
gtk_button_button_release
(widget=0x7ffff790c862, event=0x7ffff790c862) at
/build/buildd/gtk+2.0-2.18.3/gtk/gtkbutton.c:1599
http://grisbi.tuxfamily.org/mantis/view.php?id=13 0x00007ffff76e1728 in
_gtk_marshal_BOOLEAN__BOXED (closure=0x7640e0,
return_value=0x7fffffffdc30, n_param_values=<value optimized out>,
param_values=0xde5d00,
    invocation_hint=<value optimized out>, marshal_data=0x7ffff7632790) at
/build/buildd/gtk+2.0-2.18.3/gtk/gtkmarshalers.c:84
http://grisbi.tuxfamily.org/mantis/view.php?id=14 0x00007ffff59985ae in
IA__g_closure_invoke (closure=0x7640e0,
return_value=0x7fffffffdc30, n_param_values=2, param_values=0xde5d00,
invocation_hint=0x7fffffffdbf0)
    at /build/buildd/glib2.0-2.22.3/gobject/gclosure.c:767
http://grisbi.tuxfamily.org/mantis/view.php?id=15 0x00007ffff59ad64d in
signal_emit_unlocked_R (node=0x764350,
detail=<value optimized out>, instance=<value optimized out>,
emission_return=<value optimized out>,
    instance_and_params=<value optimized out>) at
/build/buildd/glib2.0-2.22.3/gobject/gsignal.c:3285
http://grisbi.tuxfamily.org/mantis/view.php?id=16 0x00007ffff59aebcc in
IA__g_signal_emit_valist (instance=0xdb0560,
signal_id=<value optimized out>, detail=0, var_args=0x7fffffffdde0)
    at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2990
http://grisbi.tuxfamily.org/mantis/view.php?id=17 0x00007ffff59af283 in
IA__g_signal_emit (instance=0x7ffff790c862,
signal_id=4153460834, detail=0) at
/build/buildd/glib2.0-2.22.3/gobject/gsignal.c:3037
http://grisbi.tuxfamily.org/mantis/view.php?id=18 0x00007ffff77e871f in
gtk_widget_event_internal (widget=0xdb0560,
event=0xe78630) at /build/buildd/gtk+2.0-2.18.3/gtk/gtkwidget.c:4767
http://grisbi.tuxfamily.org/mantis/view.php?id=19 0x00007ffff76d9cd3 in
IA__gtk_propagate_event (widget=0xdb0560,
event=0xe78630) at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c:2417
http://grisbi.tuxfamily.org/mantis/view.php?id=20 0x00007ffff76daca3 in
IA__gtk_main_do_event (event=0xe78630) at
/build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c:1622
http://grisbi.tuxfamily.org/mantis/view.php?id=21 0x00007ffff734fcec in
gdk_event_dispatch (source=<value optimized
out>, callback=<value optimized out>, user_data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkevents-x11.c:2369
http://grisbi.tuxfamily.org/mantis/view.php?id=22 0x00007ffff54fbbce in
g_main_dispatch (context=0x71b3b0) at
/build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
http://grisbi.tuxfamily.org/mantis/view.php?id=23 IA__g_main_context_dispatch
(context=0x71b3b0) at
/build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
http://grisbi.tuxfamily.org/mantis/view.php?id=24 0x00007ffff54ff598 in
g_main_context_iterate (context=0x71b3b0,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
http://grisbi.tuxfamily.org/mantis/view.php?id=25 0x00007ffff54ff9f5 in
IA__g_main_loop_run (loop=0x85b360) at
/build/buildd/glib2.0-2.22.3/glib/gmain.c:2799
http://grisbi.tuxfamily.org/mantis/view.php?id=26 0x00007ffff76db177 in
IA__gtk_main () at
/build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c:1218
http://grisbi.tuxfamily.org/mantis/view.php?id=27 0x0000000000481619 in main
(argc=1, argv=0x7fffffffe318) at
main.c:456
(gdb)     at /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2980 

---------------------------------------------------------------------- 
 chatmoa - 03-02-10 21:15  
---------------------------------------------------------------------- 
A priori ce bug ici:

 http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1846254.html 

---------------------------------------------------------------------- 
 chatmoa - 03-02-10 21:53  
---------------------------------------------------------------------- 
A priori cette modif corrige le pb:
debut ligne 1413

    /* récupération de la liste des comparaisons de montant */
    /*   il y a au moins une structure de créée, si celle si a les 2
montants vides, */
    /* c'est qu'il n'y a aucune liste */

    comp_montants = etat_courant -> liste_struct_comparaison_montants ->
data; 
    gchar * montant1 = g_strchomp ( (gchar *) gtk_entry_get_text (
GTK_ENTRY ( comp_montants -> entree_montant_1 )));
    gchar * montant2 = g_strchomp ( (gchar *) gtk_entry_get_text (
GTK_ENTRY ( comp_montants -> entree_montant_2 )));

    if ( g_slist_length ( etat_courant ->
liste_struct_comparaison_montants ) == 1
	 &&
	 (!strlen (montant1) || !strlen (g_strchug (montant1)))
	 &&
	 (!strlen (montant2) || !strlen (g_strchug (montant2)))
	 /*&&
	 !strlen ( g_strstrip ( (gchar *) gtk_entry_get_text ( GTK_ENTRY (
comp_montants -> entree_montant_1 ))))
	 &&
	 !strlen ( g_strstrip ( (gchar *) gtk_entry_get_text ( GTK_ENTRY (
comp_montants -> entree_montant_2 ))))*/
	 &&
	 GTK_WIDGET_SENSITIVE ( comp_montants -> entree_montant_1 )
	 &&
	 GTK_WIDGET_SENSITIVE ( comp_montants -> entree_montant_2 ))
    {
	g_slist_free ( etat_courant -> liste_struct_comparaison_montants );
	etat_courant -> liste_struct_comparaison_montants = NULL;
    }

... 

---------------------------------------------------------------------- 
 pbiava - 03-08-10 21:15  
---------------------------------------------------------------------- 
Cette version n'est plus supportée.
Nous faisons tous nos efforts pour sortir la version 0.6.0. La dernière
version disponible est la Release Candidate 2 disponible à l'adresse
http://sourceforge.net/projects/grisbi/files/ [^]. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-01-10 23:55  chatmoa        New Issue                                    
03-01-10 23:55  chatmoa        OS                        => Ubuntu          
03-01-10 23:55  chatmoa        Unstable Impact           => Yes             
03-01-10 23:55  chatmoa        Version OS                => Kubuntu 9.10    
03-01-10 23:55  chatmoa        Version GTK               => 2.8.0           
03-02-10 20:42  chatmoa        Note Added: 0002132                          
03-02-10 21:15  chatmoa        Note Added: 0002133                          
03-02-10 21:53  chatmoa        Note Added: 0002134                          
03-08-10 21:15  pbiava         Status                   new => closed       
03-08-10 21:15  pbiava         Note Added: 0002165                          
======================================================================



More information about the bugsreports mailing list