[grisbi-bugs] [Grisbi 0000094]: Crash when trying to create a new bank account

bugtracker at grisbi.org bugtracker at grisbi.org
Tue Jun 9 22:52:55 CEST 2009


The following issue has been CLOSED 
====================================================================== 
http://grisbi.tuxfamily.org/mantis/view.php?id=94 
====================================================================== 
Reported By:                svenna
Assigned To:                benj
====================================================================== 
Project:                    Grisbi
Issue ID:                   94
Category:                   Main
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
OS:                         Debian 
Unstable Impact:            Yes 
Version OS:                 Ubuntu breezy 
Version GTK:                2.8.6 
Resolution:                 fixed
Fixed in Version:           CVS (développement)
====================================================================== 
Date Submitted:             11-30-2005 00:43 UTC
Last Modified:              06-09-2009 20:52 UTC
====================================================================== 
Summary:                    Crash when trying to create a new bank account
Description: 
Grisbi cvs segfaults when trying to create a new account.

The segfault is because a "Address out of bounds" of the "gchar *name" in
function
gsb_data_category.c:gsb_data_category_get_pointer_from_name_in_glist

I'm using swedish locale btw...

The stack looks like the following just before the crash:

http://grisbi.tuxfamily.org/mantis/view.php?id=0 
gsb_data_category_get_pointer_from_name_in_glist (category=0x85629d8,
name=0x42203a20 <Address 0x42203a20 out of bounds>) at
gsb_data_category.c:697
http://grisbi.tuxfamily.org/mantis/view.php?id=1  0xb79ffb54 in
IA__g_slist_find_custom (list=0x828a500,
data=0x42203a20, func=0x8069d70
<gsb_data_category_get_pointer_from_name_in_glist>) at gslist.c:552
http://grisbi.tuxfamily.org/mantis/view.php?id=2  0x0806a06b in
gsb_data_category_get_number_by_name (name=0x42203a20
<Address 0x42203a20 out of bounds>, create=1, category_type=1174434401) at
gsb_data_category.c:614
http://grisbi.tuxfamily.org/mantis/view.php?id=3  0x0806a762 in
gsb_data_category_merge_category_list
(list_to_merge=0x82677d8) at gsb_data_category.c:1406
http://grisbi.tuxfamily.org/mantis/view.php?id=4  0x0806a7fe in
gsb_data_category_create_default_category_list () at
gsb_data_category.c:1364
http://grisbi.tuxfamily.org/mantis/view.php?id=5  0x080b0c68 in new_file () at
fichiers_gestion.c:137
http://grisbi.tuxfamily.org/mantis/view.php?id=6  0xb7a61ab3 in
IA__g_cclosure_marshal_VOID__VOID (closure=0x814edc0,
return_value=0x0, n_param_values=1, param_values=0xbfed70bc,
invocation_hint=0xbfed6fbc, marshal_data=0x80b0c00) at gmarshal.c:77
http://grisbi.tuxfamily.org/mantis/view.php?id=7  0xb7a563a8 in
IA__g_closure_invoke (closure=0x814edc0,
return_value=0x85629d8, n_param_values=139864536, param_values=0x85629d8,
invocation_hint=0x85629d8) at gclosure.c:492
http://grisbi.tuxfamily.org/mantis/view.php?id=8  0xb7a64b13 in
signal_emit_unlocked_R (node=0x814ed20, detail=0,
instance=0x814edf0, emission_return=0x0, instance_and_params=0xbfed70bc) at
gsignal.c:2485
http://grisbi.tuxfamily.org/mantis/view.php?id=9  0xb7a66150 in
IA__g_signal_emit_valist (instance=0x814edf0,
signal_id=98, detail=0, var_args=Variable "var_args" is not available.
) at gsignal.c:2244
http://grisbi.tuxfamily.org/mantis/view.php?id=10 0xb7a664c3 in
IA__g_signal_emit (instance=0x85629d8,
signal_id=139864536, detail=139864536) at gsignal.c:2288
http://grisbi.tuxfamily.org/mantis/view.php?id=11 0xb7d27776 in
_gtk_action_emit_activate (action=0x814edf0) at
gtkaction.c:1039
http://grisbi.tuxfamily.org/mantis/view.php?id=12 0xb7d27c2c in
IA__gtk_action_activate (action=0x814edf0) at
gtkaction.c:1066
http://grisbi.tuxfamily.org/mantis/view.php?id=13 0xb7a61ab3 in
IA__g_cclosure_marshal_VOID__VOID (closure=0x815ca40,
return_value=0x0, n_param_values=1, param_values=0xbfed754c,
invocation_hint=0xbfed744c, marshal_data=0xb7d27baf) at gmarshal.c:77
http://grisbi.tuxfamily.org/mantis/view.php?id=14 0xb7a563a8 in
IA__g_closure_invoke (closure=0x815ca40,
return_value=0x85629d8, n_param_values=139864536, param_values=0x85629d8,
invocation_hint=0x85629d8) at gclosure.c:492
http://grisbi.tuxfamily.org/mantis/view.php?id=15 0xb7a64b13 in
signal_emit_unlocked_R (node=0x81569c8, detail=0,
instance=0x815c908, emission_return=0x0, instance_and_params=0xbfed754c) at
gsignal.c:2485
http://grisbi.tuxfamily.org/mantis/view.php?id=16 0xb7a66150 in
IA__g_signal_emit_valist (instance=0x815c908,
signal_id=111, detail=0, var_args=Variable "var_args" is not available.
) at gsignal.c:2244
http://grisbi.tuxfamily.org/mantis/view.php?id=17 0xb7a664c3 in
IA__g_signal_emit (instance=0x85629d8,
signal_id=139864536, detail=139864536) at gsignal.c:2288
http://grisbi.tuxfamily.org/mantis/view.php?id=18 0xb7ed5f8d in
IA__gtk_widget_activate (widget=0x815c908) at
gtkwidget.c:3766
http://grisbi.tuxfamily.org/mantis/view.php?id=19 0xb7e02c69 in
IA__gtk_menu_shell_activate_item (menu_shell=0x8157720,
menu_item=0x815c908, force_deactivate=1) at gtkmenushell.c:1057
http://grisbi.tuxfamily.org/mantis/view.php?id=20 0xb7e02f3d in
gtk_menu_shell_button_release (widget=0x8157720,
event=0x81d5ce4) at gtkmenushell.c:663
http://grisbi.tuxfamily.org/mantis/view.php?id=21 0xb7df966e in
gtk_menu_button_release (widget=0x8157720,
event=0x85629d8) at gtkmenu.c:2571
http://grisbi.tuxfamily.org/mantis/view.php?id=22 0xb7df402c in
_gtk_marshal_BOOLEAN__BOXED (closure=0x811ee08,
return_value=0xbfed7960, n_param_values=2, param_values=0xbfed7a4c,
invocation_hint=0xbfed794c, marshal_data=0xb7df961f) at gtkmarshalers.c:83
http://grisbi.tuxfamily.org/mantis/view.php?id=23 0xb7a55d75 in
g_type_class_meta_marshal (closure=0x811ee08,
return_value=0x85629d8, n_param_values=139864536, param_values=0xbfed7a4c,
invocation_hint=0x85629d8, marshal_data=0x85629d8) at gclosure.c:569
http://grisbi.tuxfamily.org/mantis/view.php?id=24 0xb7a563a8 in
IA__g_closure_invoke (closure=0x811ee08,
return_value=0x85629d8, n_param_values=139864536, param_values=0x85629d8,
invocation_hint=0x85629d8) at gclosure.c:492
http://grisbi.tuxfamily.org/mantis/view.php?id=25 0xb7a64c9f in
signal_emit_unlocked_R (node=0x811ff58, detail=0,
instance=0x8157720, emission_return=0xbfed7bcc,
instance_and_params=0xbfed7a4c) at gsignal.c:2523
http://grisbi.tuxfamily.org/mantis/view.php?id=26 0xb7a65ec3 in
IA__g_signal_emit_valist (instance=0x8157720,
signal_id=28, detail=0, var_args=0xbfed7c50 "h|í¿ä\\\035\b w\025\bAcí·
w\025\bXÃ&http://grisbi.tuxfamily.org/mantis/view.php?id=131;\021\b") at
gsignal.c:2254
http://grisbi.tuxfamily.org/mantis/view.php?id=27 0xb7a664c3 in
IA__g_signal_emit (instance=0x85629d8,
signal_id=139864536, detail=139864536) at gsignal.c:2288
http://grisbi.tuxfamily.org/mantis/view.php?id=28 0xb7ed616f in
gtk_widget_event_internal (widget=0x8157720,
event=0x81d5ce4) at gtkwidget.c:3735
http://grisbi.tuxfamily.org/mantis/view.php?id=29 0xb7df2767 in
IA__gtk_propagate_event (widget=0x8157720,
event=0x81d5ce4) at gtkmain.c:2169
http://grisbi.tuxfamily.org/mantis/view.php?id=30 0xb7df2ba0 in
IA__gtk_main_do_event (event=0x81d5ce4) at
gtkmain.c:1406
http://grisbi.tuxfamily.org/mantis/view.php?id=31 0xb7c95b2d in
gdk_event_dispatch (source=0x85629d8, callback=0,
user_data=0x0) at gdkevents-x11.c:2291
http://grisbi.tuxfamily.org/mantis/view.php?id=32 0xb79e94ee in
IA__g_main_context_dispatch (context=0x811adb8) at
gmain.c:1934
http://grisbi.tuxfamily.org/mantis/view.php?id=33 0xb79ec4f6 in
g_main_context_iterate (context=0x811adb8, block=1,
dispatch=1, self=0x812e4c8) at gmain.c:2565
http://grisbi.tuxfamily.org/mantis/view.php?id=34 0xb79ec7e3 in
IA__g_main_loop_run (loop=0x8357ca8) at gmain.c:2769
http://grisbi.tuxfamily.org/mantis/view.php?id=35 0xb7df1e65 in IA__gtk_main ()
at gtkmain.c:985
http://grisbi.tuxfamily.org/mantis/view.php?id=36 0x080b7d63 in main (argc=1,
argv=0xbfed8014) at main.c:388


/Fredrik
====================================================================== 

---------------------------------------------------------------------- 
 benj - 12-12-05 21:34  
---------------------------------------------------------------------- 
Corrigé dans le CVS, merci pour le rapport. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-30-05 00:43  svenna         New Issue                                    
11-30-05 00:43  svenna         OS                        => Debian          
11-30-05 00:43  svenna         Unstable Impact           => Yes             
11-30-05 00:43  svenna         Version OS                => Ubuntu breezy   
11-30-05 00:43  svenna         Version GTK               => 2.8.6           
12-12-05 21:34  benj           Note Added: 0000172                          
12-12-05 21:34  benj           Assigned To               => benj            
12-12-05 21:34  benj           Status                   new => resolved     
12-12-05 21:34  benj           Resolution               open => fixed       
12-12-05 21:34  benj           Fixed in Version          => CVS (développement)
06-09-09 20:52  MyKeul         Status                   resolved => closed  
======================================================================



More information about the bugsreports mailing list