[grisbi-bugs] [Grisbi 0001900]: Segfault when configuring date format

Grisbi Bug Tracker bugtracker at grisbi.org
Mar 29 Jan 07:11:23 CET 2019


The following issue has been RESOLVED. 
====================================================================== 
http://www.grisbi.org/bugsreports/view.php?id=1900 
====================================================================== 
Reported By:                Christoph Drexler
Assigned To:                pbiava
====================================================================== 
Project:                    Grisbi
Issue ID:                   1900
Category:                   Main
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
OS:                         Autre Linux 
Unstable Impact:            Yes 
Version OS:                 Archlinux (rolling release) 
Version GTK:                3.24.4 
Resolution:                 duplicate
Fixed in Version:           development (git)
====================================================================== 
Date Submitted:             2019-01-27 21:06 CET
Last Modified:              2019-01-29 07:11 CET
====================================================================== 
Summary:                    Segfault when configuring date format
Description: 
When choosing a different date format in the first time configuration, grisbi
crashes with a segfault.

This is the backtrace:
	grisbi(+0xdc6e7) [0x558aff0006e7]
	/usr/lib/libc.so.6(+0x37e00) [0x7f2d6e96ee00]
	/usr/lib/libgtk-3.so.0(gtk_tree_store_append+0x1d) [0x7f2d6f41cf4d]
	grisbi(+0x72dc8) [0x558afef96dc8]
	grisbi(+0x9b275) [0x558afefbf275]
	grisbi(+0x9b435) [0x558afefbf435]
	/usr/lib/libgtk-3.so.0(+0x3da43c) [0x7f2d6f49743c]
	/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1b5) [0x7f2d6ec503c5]
	/usr/lib/libgobject-2.0.so.0(+0x1d195) [0x7f2d6ec3d195]
	/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x48d) [0x7f2d6ec405ed]
	/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f2d6ec41a80]
	/usr/lib/libgtk-3.so.0(+0x385e45) [0x7f2d6f442e45]
	/usr/lib/libgtk-3.so.0(+0x23d70b) [0x7f2d6f2fa70b]
	/usr/lib/libgtk-3.so.0(gtk_main_do_event+0x88c) [0x7f2d6f2fc91c]
	/usr/lib/libgdk-3.so.0(+0x36ac6) [0x7f2d6eff8ac6]

Running grisbi with gdb gives the following backtrace:

#0  0x00007ffff73c6f4d in gtk_tree_store_append () at /usr/lib/libgtk-3.so.0
http://www.grisbi.org/bugsreports/view.php?id=1  0x00005555555c6dc8 in  ()
http://www.grisbi.org/bugsreports/view.php?id=2  0x00005555555ef275 in  ()
http://www.grisbi.org/bugsreports/view.php?id=3  0x00005555555ef435 in  ()
http://www.grisbi.org/bugsreports/view.php?id=4  0x00007ffff744143c in  () at
/usr/lib/libgtk-3.so.0
http://www.grisbi.org/bugsreports/view.php?id=5  0x00007ffff6bfa3c5 in
g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=6  0x00007ffff6be7195 in  () at
/usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=7  0x00007ffff6bea5ed in
g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=8  0x00007ffff6beba80 in
g_signal_emit () at /usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=9  0x00007ffff73ece45 in  () at
/usr/lib/libgtk-3.so.0
http://www.grisbi.org/bugsreports/view.php?id=10 0x00007ffff72a470b in  () at
/usr/lib/libgtk-3.so.0
http://www.grisbi.org/bugsreports/view.php?id=11 0x00007ffff72a691c in
gtk_main_do_event () at /usr/lib/libgtk-3.so.0
http://www.grisbi.org/bugsreports/view.php?id=12 0x00007ffff6fa2ac6 in  () at
/usr/lib/libgdk-3.so.0
http://www.grisbi.org/bugsreports/view.php?id=13 0x00007ffff6fd4965 in  () at
/usr/lib/libgdk-3.so.0
http://www.grisbi.org/bugsreports/view.php?id=14 0x00007ffff6b10a2f in
g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=15 0x00007ffff6b125e9 in  () at
/usr/lib/libglib-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=16 0x00007ffff6b135c2 in
g_main_loop_run () at /usr/lib/libglib-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=17 0x00007ffff7209d5f in
gtk_dialog_run () at /usr/lib/libgtk-3.so.0
http://www.grisbi.org/bugsreports/view.php?id=18 0x000055555564defa in  ()
http://www.grisbi.org/bugsreports/view.php?id=19 0x0000555555652e1d in  ()
http://www.grisbi.org/bugsreports/view.php?id=20 0x0000555555575414 in  ()
http://www.grisbi.org/bugsreports/view.php?id=21 0x00007ffff6bfa3c5 in
g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=22 0x00007ffff6be699f in  () at
/usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=23 0x00007ffff6beb01e in
g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=24 0x00007ffff6beba80 in
g_signal_emit () at /usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=25 0x0000555555575790 in  ()
http://www.grisbi.org/bugsreports/view.php?id=26 0x00007ffff49356d0 in
ffi_call_unix64 () at /usr/lib/libffi.so.6
http://www.grisbi.org/bugsreports/view.php?id=27 0x00007ffff49350a0 in ffi_call
() at /usr/lib/libffi.so.6
http://www.grisbi.org/bugsreports/view.php?id=28 0x00007ffff6c03e48 in
g_cclosure_marshal_generic_va () at /usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=29 0x00007ffff6beb16e in
g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=30 0x00007ffff6beba80 in
g_signal_emit () at /usr/lib/libgobject-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=31 0x00007ffff6cb9517 in  () at
/usr/lib/libgio-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=32 0x00007ffff6cba20a in  () at
/usr/lib/libgio-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=33 0x00007ffff6cb989b in
g_application_run () at /usr/lib/libgio-2.0.so.0
http://www.grisbi.org/bugsreports/view.php?id=34 0x0000555555574105 in  ()
http://www.grisbi.org/bugsreports/view.php?id=35 0x00007ffff6905223 in
__libc_start_main () at /usr/lib/libc.so.6
http://www.grisbi.org/bugsreports/view.php?id=36 0x000055555557415e in  ()

Steps to Reproduce: 
* Start grisbi
* On the welcome window, click "> Forward" three times
* Click on one of the additional options in the "Choose date format section"
* A window opens, saying "Grisbi terminated due to a segmentation fault."
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0001898 App crashes during first configuration
====================================================================== 

---------------------------------------------------------------------- 
 (0004804) Christoph Drexler (reporter) - 2019-01-27 21:09
 http://www.grisbi.org/bugsreports/view.php?id=1900#c4804 
---------------------------------------------------------------------- 
This might be a duplicate of http://grisbi.org/bugsreports/view.php?id=1898 - as
both the OS and the backtrace differ I decided to report it anyway. 

---------------------------------------------------------------------- 
 (0004805) Christoph Drexler (reporter) - 2019-01-27 21:21
 http://www.grisbi.org/bugsreports/view.php?id=1900#c4805 
---------------------------------------------------------------------- 
I have just downloaded, built and run the git version of grisbi It does not
segfault any longer, so this seems to be in fact a duplicate. Please close the
ticket as duplicate. Sorry for the noise. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2019-01-27 21:06 Christoph DrexlerNew Issue                                    
2019-01-27 21:09 Christoph DrexlerNote Added: 0004804                          
2019-01-27 21:21 Christoph DrexlerNote Added: 0004805                          
2019-01-29 07:09 pbiava         Relationship added       duplicate of 0001898
2019-01-29 07:11 pbiava         Assigned To               => pbiava          
2019-01-29 07:11 pbiava         Status                   new => resolved     
2019-01-29 07:11 pbiava         Resolution               open => duplicate   
2019-01-29 07:11 pbiava         Fixed in Version          => development (git)
======================================================================



Plus d'informations sur la liste de diffusion bugsreports