[grisbi-bugs] [Grisbi 0001866]: Can't open freshly installed Grisbi 1.0.4

Grisbi Bug Tracker bugtracker at grisbi.org
Dim 2 Sep 18:41:03 CEST 2018


Issue 0001866 is now monitored by user ebo. 
====================================================================== 
http://www.grisbi.org/bugsreports/view.php?id=1866 
====================================================================== 
Reported By:                ebo
Assigned To:                LudovicRousseau
====================================================================== 
Project:                    Grisbi
Issue ID:                   1866
Category:                   Main
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     closed
OS:                         Ubuntu 
Unstable Impact:            Yes 
Version OS:                 18.04 
Version GTK:                 
Resolution:                 unable to reproduce
Fixed in Version:           
====================================================================== 
Date Submitted:             2018-08-29 16:46 CEST
Last Modified:              2018-09-02 18:41 CEST
====================================================================== 
Summary:                    Can't open freshly installed Grisbi 1.0.4
Description: 
I've just tried to install Grisbi 1.0.4 from Github. 
I followed steps described in
https://sourceforge.net/projects/grisbi/files/Documentation/CompilerGrisbiSous%20linux%20_GTK2_3.odt/download
.

During compiling, the `make` command throws an error (see below) yet continues.

Once installed, grisbi crashes at startup "due to a segmentation fault".


Steps to Reproduce: 
$ sudo apt-get install libglib2.0-dev libgtk2.0-dev gettext libtool intltool
libtool-bin libofx-dev libxml2-dev libgoffice-0.8-dev
$ git checkout grisbi-1.0.x
$ make distclean
$ ./autogen.sh
$ ./configure
$ make -j5
    >> see log below
$ sudo make install
$ grisbi

Additional Information: 
Any steps above produce "regular" logs, except following:

$ make -j5
make  all-recursive
make[1]: Entering directory '/home/ebo/téléchargements/grisbi'
Making all in src
make[2]: Entering directory '/home/ebo/téléchargements/grisbi/src'
Making all in ui
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/src/ui'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/src/ui'
Making all in plugins/gnucash
make[3]: Entering directory
'/home/ebo/téléchargements/grisbi/src/plugins/gnucash'
  CC       gnucash.lo
  CCLD     gnucash.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory
'/home/ebo/téléchargements/grisbi/src/plugins/gnucash'
Making all in plugins/ofx
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/src/plugins/ofx'
  CC       ofx.lo
  CCLD     ofx.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/src/plugins/ofx'
Making all in plugins/openssl
make[3]: Entering directory
'/home/ebo/téléchargements/grisbi/src/plugins/openssl'
  CC       openssl.lo
  CCLD     openssl.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory
'/home/ebo/téléchargements/grisbi/src/plugins/openssl'
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/src'
  CC       accueil.lo
  CC       affichage.lo
  CC       affichage_liste.lo
  CC       classement_echeances.lo
  CC       categories_onglet.lo
  CC       csv_parse.lo
  CC       custom_list.lo
  CC       dialog.lo
  CC       erreur.lo
  CC       etats_affiche.lo
  CC       etats_calculs.lo
  CC       etats_config.lo
  CC       etats_csv.lo
  CC       etats_gtktable.lo
  CC       etats_html.lo
  CC       etats_onglet.lo
  CC       etats_support.lo
  CC       export.lo
  CC       export_csv.lo
  CC       fenetre_principale.lo
  CC       file_obfuscate.lo
  CC       file_obfuscate_qif.lo
  CC       go-charmap-sel.lo
  CC       go-optionmenu.lo
  CC       grisbi_osx.lo
  CC       gsb_account.lo
  CC       gsb_account_property.lo
  CC       gsb_archive_config.lo
  CC       gsb_assistant.lo
  CC       gsb_assistant_account.lo
  CC       gsb_assistant_archive.lo
  CC       gsb_assistant_archive_export.lo
  CC       gsb_assistant_file.lo
  CC       gsb_assistant_first.lo
  CC       gsb_assistant_reconcile_config.lo
  CC       gsb_autofunc.lo
  CC       gsb_automem.lo
  CC       gsb_bank.lo
  CC       gsb_category.lo
  CC       gsb_color.lo
  CC       gsb_combo_box.lo
  CC       gsb_calendar.lo
  CC       gsb_calendar_entry.lo
  CC       gsb_currency.lo
  CC       gsb_currency_config.lo
  CC       gsb_currency_link_config.lo
  CC       gsb_data_account.lo
  CC       gsb_data_archive.lo
  CC       gsb_data_archive_store.lo
  CC       gsb_data_bank.lo
  CC       gsb_data_budget.lo
  CC       gsb_data_category.lo
  CC       gsb_data_currency.lo
  CC       gsb_data_currency_link.lo
  CC       gsb_data_form.lo
  CC       gsb_data_fyear.lo
  CC       gsb_data_import_rule.lo
  CC       gsb_data_mix.lo
  CC       gsb_data_partial_balance.lo
  CC       gsb_data_payee.lo
  CC       gsb_data_payment.lo
  CC       gsb_data_print_config.lo
  CC       gsb_data_reconcile.lo
  CC       gsb_data_report.lo
  CC       gsb_data_report_amout_comparison.lo
  CC       gsb_data_report_text_comparison.lo
  CC       gsb_data_scheduled.lo
  CC       gsb_data_transaction.lo
  CC       gsb_debug.lo
  CC       gsb_dirs.lo
  CC       gsb_file.lo
  CC       gsb_file_config.lo
  CC       gsb_file_load.lo
  CC       gsb_file_others.lo
  CC       gsb_file_save.lo
  CC       gsb_file_util.lo
  CC       gsb_form.lo
  CC       gsb_form_config.lo
  CC       gsb_form_scheduler.lo
  CC       gsb_form_transaction.lo
  CC       gsb_form_widget.lo
  CC       gsb_fyear.lo
  CC       gsb_fyear_config.lo
  CC       gsb_locale.lo
  CC       gsb_payment_method.lo
  CC       gsb_payment_method_config.lo
  CC       gsb_real.lo
  CC       gsb_reconcile.lo
  CC       gsb_reconcile_config.lo
  CC       gsb_reconcile_list.lo
  CC       gsb_reconcile_sort_config.lo
  CC       gsb_regex.lo
  CC       gsb_report.lo
  CC       gsb_scheduler.lo
  CC       gsb_scheduler_list.lo
  CC       gsb_select_icon.lo
  CC       gsb_status.lo
  CC       gsb_transactions_list.lo
  CC       gsb_transactions_list_sort.lo
gsb_select_icon.c: In function
‘gsb_select_icon_create_chaine_base64_from_pixbuf’:
gsb_select_icon.c:613:5: warning: ‘gdk_pixdata_from_pixbuf’ is deprecated
[-Wdeprecated-declarations]
     gdk_pixdata_from_pixbuf ( &pixdata, pixbuf, FALSE );
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from gsb_select_icon.c:29:0:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:115:10: note: declared here
 gpointer gdk_pixdata_from_pixbuf (GdkPixdata  *pixdata,
          ^~~~~~~~~~~~~~~~~~~~~~~
gsb_select_icon.c:614:5: warning: ‘gdk_pixdata_serialize’ is deprecated
[-Wdeprecated-declarations]
     str = gdk_pixdata_serialize ( &pixdata, &longueur );
     ^~~
In file included from gsb_select_icon.c:29:0:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:107:10: note: declared here
 guint8*  gdk_pixdata_serialize (const GdkPixdata *pixdata,
          ^~~~~~~~~~~~~~~~~~~~~
gsb_select_icon.c: In function
‘gsb_select_icon_create_pixbuf_from_chaine_base64’:
gsb_select_icon.c:636:5: warning: ‘gdk_pixdata_deserialize’ is deprecated
[-Wdeprecated-declarations]
     gdk_pixdata_deserialize ( &pixdata, longueur, data, NULL );
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from gsb_select_icon.c:29:0:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:110:10: note: declared here
 gboolean gdk_pixdata_deserialize (GdkPixdata  *pixdata,
          ^~~~~~~~~~~~~~~~~~~~~~~
gsb_select_icon.c:637:5: warning: ‘gdk_pixbuf_from_pixdata’ is deprecated
[-Wdeprecated-declarations]
     pixbuf = gdk_pixbuf_from_pixdata ( &pixdata, TRUE, NULL );
     ^~~~~~
In file included from gsb_select_icon.c:29:0:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:119:12: note: declared here
 GdkPixbuf* gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata,
            ^~~~~~~~~~~~~~~~~~~~~~~
  CC       gtk_combofix.lo
  CC       help.lo
  CC       import.lo
  CC       import_csv.lo
  CC       imputation_budgetaire.lo
  CC       menu.lo
  CC       meta_budgetary.lo
  CC       meta_categories.lo
  CC       meta_payee.lo
  CC       metatree.lo
  CC       navigation.lo
  CC       parametres.lo
  CC       parse_cmdline.lo
  CC       print_dialog_config.lo
  CC       print_report.lo
  CC       print_transactions_list.lo
  CC       print_tree_view_list.lo
  CC       qif.lo
  CC       tiers_onglet.lo
  CC       tip.lo
  CC       traitement_variables.lo
  CC       transaction_list.lo
  CC       transaction_list_select.lo
  CC       transaction_list_sort.lo
  CC       transaction_model.lo
  CC       utils.lo
  CC       utils_buttons.lo
  CC       utils_dates.lo
  CC       utils_editables.lo
  CC       utils_file_selection.lo
  CC       utils_files.lo
  CC       utils_font.lo
  CC       utils_gtkbuilder.lo
  CC       utils_operations.lo
  CC       utils_real.lo
  CC       utils_str.lo
  CC       bet_config.lo
  CC       bet_data.lo
  CC       bet_data_finance.lo
  CC       bet_finance_ui.lo
  CC       bet_future.lo
  CC       bet_graph.lo
  CC       bet_hist.lo
  CC       bet_tab.lo
  CC       main.o
  CCLD     libgrisbi.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CCLD     grisbi
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/src'
make[2]: Leaving directory '/home/ebo/téléchargements/grisbi/src'
Making all in po
make[2]: Entering directory '/home/ebo/téléchargements/grisbi/po'
  MSGFMT da.gmo
  MSGFMT cs.gmo
  MSGFMT de.gmo
  MSGFMT el.gmo
  MSGFMT eo.gmo
  MSGFMT es.gmo
  MSGFMT fa.gmo
  MSGFMT fr.gmo
  MSGFMT he.gmo
  MSGFMT it.gmo
  MSGFMT lv.gmo
  MSGFMT nl.gmo
  MSGFMT pl.gmo
  MSGFMT pt_BR.gmo
  MSGFMT ro.gmo
  MSGFMT ru.gmo
  MSGFMT sv.gmo
  MSGFMT zh_CN.gmo
make[2]: Leaving directory '/home/ebo/téléchargements/grisbi/po'
Making all in pixmaps
make[2]: Entering directory '/home/ebo/téléchargements/grisbi/pixmaps'
Making all in flags
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/pixmaps/flags'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/pixmaps/flags'
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/pixmaps'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/pixmaps'
make[2]: Leaving directory '/home/ebo/téléchargements/grisbi/pixmaps'
Making all in help
make[2]: Entering directory '/home/ebo/téléchargements/grisbi/help'
Making all in C
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/help/C'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/help/C'
Making all in de
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/help/de'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/help/de'
Making all in en
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/help/en'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/help/en'
Making all in fr
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/help/fr'
Making all in image
make[4]: Entering directory '/home/ebo/téléchargements/grisbi/help/fr/image'
Making all in icon
make[5]: Entering directory
'/home/ebo/téléchargements/grisbi/help/fr/image/icon'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory
'/home/ebo/téléchargements/grisbi/help/fr/image/icon'
Making all in screenshot
make[5]: Entering directory
'/home/ebo/téléchargements/grisbi/help/fr/image/screenshot'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory
'/home/ebo/téléchargements/grisbi/help/fr/image/screenshot'
make[5]: Entering directory '/home/ebo/téléchargements/grisbi/help/fr/image'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/ebo/téléchargements/grisbi/help/fr/image'
make[4]: Leaving directory '/home/ebo/téléchargements/grisbi/help/fr/image'
make[4]: Entering directory '/home/ebo/téléchargements/grisbi/help/fr'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/ebo/téléchargements/grisbi/help/fr'
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/help/fr'
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/help'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/help'
make[2]: Leaving directory '/home/ebo/téléchargements/grisbi/help'
Making all in share
make[2]: Entering directory '/home/ebo/téléchargements/grisbi/share'
Making all in categories
make[3]: Entering directory
'/home/ebo/téléchargements/grisbi/share/categories'
Making all in C
make[4]: Entering directory
'/home/ebo/téléchargements/grisbi/share/categories/C'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/home/ebo/téléchargements/grisbi/share/categories/C'
Making all in de_AT
make[4]: Entering directory
'/home/ebo/téléchargements/grisbi/share/categories/de_AT'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/home/ebo/téléchargements/grisbi/share/categories/de_AT'
Making all in de_DE
make[4]: Entering directory
'/home/ebo/téléchargements/grisbi/share/categories/de_DE'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/home/ebo/téléchargements/grisbi/share/categories/de_DE'
Making all in fr
make[4]: Entering directory
'/home/ebo/téléchargements/grisbi/share/categories/fr'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/home/ebo/téléchargements/grisbi/share/categories/fr'
Making all in fr_FR
make[4]: Entering directory
'/home/ebo/téléchargements/grisbi/share/categories/fr_FR'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/home/ebo/téléchargements/grisbi/share/categories/fr_FR'
Making all in it
make[4]: Entering directory
'/home/ebo/téléchargements/grisbi/share/categories/it'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/home/ebo/téléchargements/grisbi/share/categories/it'
Making all in ru
make[4]: Entering directory
'/home/ebo/téléchargements/grisbi/share/categories/ru'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/home/ebo/téléchargements/grisbi/share/categories/ru'
make[4]: Entering directory
'/home/ebo/téléchargements/grisbi/share/categories'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/ebo/téléchargements/grisbi/share/categories'
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/share/categories'
make[3]: Entering directory '/home/ebo/téléchargements/grisbi/share'
  ITMRG  grisbi.desktop
make[3]: Leaving directory '/home/ebo/téléchargements/grisbi/share'
make[2]: Leaving directory '/home/ebo/téléchargements/grisbi/share'
make[2]: Entering directory '/home/ebo/téléchargements/grisbi'
make[2]: Leaving directory '/home/ebo/téléchargements/grisbi'
make[1]: Leaving directory '/home/ebo/téléchargements/grisbi'

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

$ grisbi
Gtk-Message: 15:41:32.051: Failed to load module "canberra-gtk-module"
Wed Aug 29 15:41:32 2018 : 9 elements in stack.
	grisbi(+0x2885a) [0x5592447a285a]
	/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fb1e1323f20]
	grisbi(+0xab1f7) [0x5592448251f7]
	grisbi(+0x4fbc1) [0x5592447c9bc1]
	grisbi(+0x3cf41) [0x5592447b6f41]
	grisbi(+0x3d325) [0x5592447b7325]
	grisbi(+0x22931) [0x55924479c931]
	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fb1e1306b97]
	grisbi(+0x229ea) [0x55924479c9ea]


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

$ dpkg -l libgtk2.0-0 libgtk-3-0
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version               Architecture        
 Description
+++-=================================-=====================-=====================-========================================================================
ii  libgtk-3-0:amd64                  3.22.30-1ubuntu1      amd64               
 GTK+ graphical user interface library
ii  libgtk2.0-0:amd64                 2.24.32-1ubuntu1      amd64               
 GTK+ graphical user interface library

====================================================================== 

---------------------------------------------------------------------- 
 (0004629) LudovicRousseau (developer) - 2018-08-31 13:24
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4629 
---------------------------------------------------------------------- 
Try to install the package "libcanberra-gtk-module".

I found this information in
https://askubuntu.com/questions/342202/failed-to-load-module-canberra-gtk-module-but-already-installed


---------------------------------------------------------------------- 
 (0004630) ebo (reporter) - 2018-08-31 13:44
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4630 
---------------------------------------------------------------------- 
I've tried :
$ sudo apt install libcanberra-gtk-module
then install ($ make distclean … $ grisbi)
$ sudo apt install libcanberra-gtk3-module
then install
$ sudo apt-get install libcanberra-gtk-module:i386
then install

Everytime, I get a similar log for $ make -j5 — that is I have following error
thrown in the middle :

$ make -j5
...
  CC gsb_status.lo
  CC gsb_transactions_list.lo
  CC gsb_transactions_list_sort.lo
gsb_select_icon.c: In function
‘gsb_select_icon_create_chaine_base64_from_pixbuf’:
gsb_select_icon.c:613:5: warning: ‘gdk_pixdata_from_pixbuf’ is deprecated
[-Wdeprecated-declarations]
     gdk_pixdata_from_pixbuf ( &pixdata, pixbuf, FALSE );
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from gsb_select_icon.c:29:0:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:115:10: note: declared here
 gpointer gdk_pixdata_from_pixbuf (GdkPixdata *pixdata,
          ^~~~~~~~~~~~~~~~~~~~~~~
gsb_select_icon.c:614:5: warning: ‘gdk_pixdata_serialize’ is deprecated
[-Wdeprecated-declarations]
     str = gdk_pixdata_serialize ( &pixdata, &longueur );
     ^~~
In file included from gsb_select_icon.c:29:0:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:107:10: note: declared here
 guint8* gdk_pixdata_serialize (const GdkPixdata *pixdata,
          ^~~~~~~~~~~~~~~~~~~~~
gsb_select_icon.c: In function
‘gsb_select_icon_create_pixbuf_from_chaine_base64’:
gsb_select_icon.c:636:5: warning: ‘gdk_pixdata_deserialize’ is deprecated
[-Wdeprecated-declarations]
     gdk_pixdata_deserialize ( &pixdata, longueur, data, NULL );
     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from gsb_select_icon.c:29:0:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:110:10: note: declared here
 gboolean gdk_pixdata_deserialize (GdkPixdata *pixdata,
          ^~~~~~~~~~~~~~~~~~~~~~~
gsb_select_icon.c:637:5: warning: ‘gdk_pixbuf_from_pixdata’ is deprecated
[-Wdeprecated-declarations]
     pixbuf = gdk_pixbuf_from_pixdata ( &pixdata, TRUE, NULL );
     ^~~~~~
In file included from gsb_select_icon.c:29:0:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h:119:12: note: declared here
 GdkPixbuf* gdk_pixbuf_from_pixdata (const GdkPixdata *pixdata,
            ^~~~~~~~~~~~~~~~~~~~~~~
  CC gtk_combofix.lo
  CC help.lo
...



Every time, grisbi also still crashes at start-up with following backtrace:

$ grisbi
Fri Aug 31 12:36:44 2018 : 9 elements in stack.
	grisbi(+0x2885a) [0x5560aaa9385a]
	/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f2ba4131f20]
	grisbi(+0xab1f7) [0x5560aab161f7]
	grisbi(+0x4fbc1) [0x5560aaababc1]
	grisbi(+0x3cf41) [0x5560aaaa7f41]
	grisbi(+0x3d325) [0x5560aaaa8325]
	grisbi(+0x22931) [0x5560aaa8d931]
	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f2ba4114b97]
	grisbi(+0x229ea) [0x5560aaa8d9ea]

So we seem to have solved the "Failed to load module "canberra-gtk-module"
(Note: `$ sudo apt install libcanberra-gtk-module` solved the problem, the other
install were overkill), but not the second part. 

---------------------------------------------------------------------- 
 (0004631) ebo (reporter) - 2018-08-31 13:44
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4631 
---------------------------------------------------------------------- 
(thanks for help, by the way!) 

---------------------------------------------------------------------- 
 (0004632) ebo (reporter) - 2018-08-31 14:41
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4632 
---------------------------------------------------------------------- 
In the meantime, I have tried to re-install Grisbi 1.0.2 from the sources
downloaded here
:https://sourceforge.net/projects/grisbi/files/grisbi%20stable/1.0.x/grisbi-1.0.2.tar.bz2/download
 (i.e., the link displayed on the website)

I can open Grisbi, but when I try to load a file, I get following error:

$ grisbi
Fri Aug 31 13:35:22 2018 : 15 elements in stack.
	grisbi(+0x288aa) [0x5636b92cd8aa]
	/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f27a52b2f20]
	grisbi(+0xab087) [0x5636b9350087]
	grisbi(+0x4fba1) [0x5636b92f4ba1]
	grisbi(+0x3cf91) [0x5636b92e1f91]
	grisbi(+0x3d375) [0x5636b92e2375]
	grisbi(+0x3e2c5) [0x5636b92e32c5]
	/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x19d)
[0x7f27a6361f6d]
	/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x22d3e) [0x7f27a6374d3e]
	/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xa75)
[0x7f27a637d3f5]
	/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x8f)
[0x7f27a637de0f]
	/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x74d40) [0x7f27a7608d40]
	/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x19d)
[0x7f27a6361f6d]
	/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x22e0e) [0x7f27a6374e0e]
	/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xa75)
[0x7f27a637d3f5]


It's weird, because it used to work well (I had the v.1.0.2 running prior
wanting to install the v.1.0.4)… 

---------------------------------------------------------------------- 
 (0004633) ebo (reporter) - 2018-08-31 15:07
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4633 
---------------------------------------------------------------------- 
I've narrowed down the issue a bit: Grisbi doesn't crashes at startup, yet when
loading a file. (I've moved the last file used that was automatically loaded at
startup, so that I can manually select which file to load.)

The backtrace is now the same for v1.0.2 and v1.0.4. 

---------------------------------------------------------------------- 
 (0004634) LudovicRousseau (developer) - 2018-09-01 19:30
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4634 
---------------------------------------------------------------------- 
Please run grisbi inside gdb to get a better backtrace.
run it as: "gdb grisbi"
After it crashed enter the gdb command: "bt" 

---------------------------------------------------------------------- 
 (0004635) LudovicRousseau (developer) - 2018-09-01 19:33
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4635 
---------------------------------------------------------------------- 
It looks like you are uring Ubuntu 18.04 LTS.
You can try Gribsi 1.1.93 available at
https://sourceforge.net/projects/grisbi/files/grisbi%20unstable/1.1.93/Ubuntu%2018.04/


---------------------------------------------------------------------- 
 (0004636) ebo (reporter) - 2018-09-01 19:40
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4636 
---------------------------------------------------------------------- 
Thank for answer. I've never used gdb before, so I'm not sure if I use it
correctly. Here is what I got:

[18:38] ebo:~ $ grisbi
Sat Sep  1 18:38:47 2018 : 9 elements in stack.
	grisbi(+0x2885a) [0x56445543585a]
	/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fbf5b92bf20]
	grisbi(+0xab197) [0x5644554b8197]
	grisbi(+0x4fb61) [0x56445545cb61]
	grisbi(+0x3cf41) [0x564455449f41]
	grisbi(+0x3d325) [0x56445544a325]
	grisbi(+0x22931) [0x56445542f931]
	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fbf5b90eb97]
	grisbi(+0x229ea) [0x56445542f9ea]
[18:38] ebo:~ $ gdb grisbi
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from grisbi...done.
(gdb) bt
No stack.


no GUI window opened the second time. 

---------------------------------------------------------------------- 
 (0004637) ebo (reporter) - 2018-09-01 19:47
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4637 
---------------------------------------------------------------------- 
Well, I tried to install the .deb file, and here is my log. I think we're
narrowing the problem down!

[18:44] ebo:~/téléchargements $ sudo dpkg -i grisbi_1.1.93-1_amd64.deb 
Selecting previously unselected package grisbi.
(Reading database ... 258163 files and directories currently installed.)
Preparing to unpack grisbi_1.1.93-1_amd64.deb ...
Unpacking grisbi (1.1.93-1) ...
dpkg: dependency problems prevent configuration of grisbi:
 grisbi depends on libofx6; however:
  Package libofx6 is not installed.

dpkg: error processing package grisbi (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for libglib2.0-0:i386 (2.56.1-2ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.56.1-2ubuntu1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Errors were encountered while processing:
 grisbi
[18:45] ebo:~/téléchargements $ sudo apt install libofx6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libofx6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libofx6' has no installation candidate 

---------------------------------------------------------------------- 
 (0004638) ebo (reporter) - 2018-09-01 19:50
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4638 
---------------------------------------------------------------------- 
Moreover:

[18:45] ebo:~/téléchargements $ sudo apt install libofx7
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libofx7 is already the newest version (1:0.9.12-1).
libofx7 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
 grisbi : Depends: libofx6 but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
specify a solution). 

---------------------------------------------------------------------- 
 (0004639) ebo (reporter) - 2018-09-01 23:30
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4639 
---------------------------------------------------------------------- 
Well, I tried again to install the .deb package you send me the link to ($ sudo
dpkg -i grisbi_1.1.93-1_amd641.deb)… and it's now working.

So I now have a Grisbi version running now (which is the main thing), but it
leaves the problem unsolved. 

---------------------------------------------------------------------- 
 (0004640) LudovicRousseau (developer) - 2018-09-02 09:53
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4640 
---------------------------------------------------------------------- 
To use gdb you do:
$ gdb grisbi
(gdb) run
wait for the crash
(gdb) bt

the "$" and "(gdb)" are the prompts. They are not part of the commands and you
do not enter them.

What exact version of Ubuntu are you using? 

---------------------------------------------------------------------- 
 (0004641) ebo (reporter) - 2018-09-02 12:02
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4641 
---------------------------------------------------------------------- 
Hmm… I was missing the "run" command once in gdb.
I run Ubuntu 18.04.1 LTS 64bits with GNOME 3.28.2.

I uninstalled the (working) v1.1.93, and :
- installed the 1.0.x version hosted on github :
https://gist.github.com/EBoisseauSierra/035dd899e2402ccccec200157eab9927
- removed it and installed the 1.0.2 version found on sourceforge : 
https://gist.github.com/EBoisseauSierra/c3ed77afa245fc020528b9cd70c12d34
- removed it and installed tho 1.0.4 version found on sourceforge :
https://gist.github.com/EBoisseauSierra/fdcdd3a25bfcaa736e997d5e5bf589af

… it all failed to even open a GUI, as following:
$ grisbi 
grisbi: error while loading shared libraries: libofx.so.6: cannot open shared
object file: No such file or directory

However, libofx seems properly installed:
$ sudo apt install libofx7 libofx-dev 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libofx-dev is already the newest version (1:0.9.12-1).
libofx7 is already the newest version (1:0.9.12-1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

Yet libofx6 cannot be installed from APT :
$ sudo apt install libofx6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libofx6


So I tried to installed it manually (from these sources :
https://gist.github.com/EBoisseauSierra/cc05895c51553e6f658cb520e1afb32c ), but
it remains the same, and gdb isn't more helpful :
$ grisbi
grisbi: error while loading shared libraries: libofx.so.6: cannot open shared
object file: No such file or directory
$ gdb grisbi
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from grisbi...done.
(gdb) run
Starting program: /usr/local/bin/grisbi 
/usr/local/bin/grisbi: error while loading shared libraries: libofx.so.6: cannot
open shared object file: No such file or directory
[Inferior 1 (process 24720) exited with code 0177]
(gdb) bt
No stack.


I am confused, as I cannot even reproduce the initial error… 

---------------------------------------------------------------------- 
 (0004642) LudovicRousseau (developer) - 2018-09-02 18:39
 http://www.grisbi.org/bugsreports/view.php?id=1866#c4642 
---------------------------------------------------------------------- 
libofx6 is provided for Ubuntu 16.04 but not for Ubuntu 18.04
https://packages.ubuntu.com/search?keywords=libofx6

Since you can't reproduce the bug any more I propose to close this bug report
now. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2018-08-29 16:46 ebo            New Issue                                    
2018-08-31 13:24 LudovicRousseauNote Added: 0004629                          
2018-08-31 13:44 ebo            Note Added: 0004630                          
2018-08-31 13:44 ebo            Note Added: 0004631                          
2018-08-31 14:41 ebo            Note Added: 0004632                          
2018-08-31 15:07 ebo            Note Added: 0004633                          
2018-09-01 19:30 LudovicRousseauNote Added: 0004634                          
2018-09-01 19:33 LudovicRousseauNote Added: 0004635                          
2018-09-01 19:40 ebo            Note Added: 0004636                          
2018-09-01 19:47 ebo            Note Added: 0004637                          
2018-09-01 19:50 ebo            Note Added: 0004638                          
2018-09-01 23:30 ebo            Note Added: 0004639                          
2018-09-02 09:53 LudovicRousseauNote Added: 0004640                          
2018-09-02 12:02 ebo            Note Added: 0004641                          
2018-09-02 18:39 LudovicRousseauNote Added: 0004642                          
2018-09-02 18:39 LudovicRousseauAssigned To               => LudovicRousseau 
2018-09-02 18:39 LudovicRousseauStatus                   new => closed       
2018-09-02 18:39 LudovicRousseauResolution               open => unable to
reproduce
======================================================================



Plus d'informations sur la liste de diffusion bugsreports