Re: GnuCash Segfaults on start
On Sunday 27 April 2014 21:16:02 Herbert Mühlburger wrote: > Hi, > > Am 2014-04-24 22:38, schrieb Geert Janssens: > > Can you generate a backtrace from the core file ? That will give > > some > > insight in where exactly gnucash is segfaulting. > > I attached the backtrace of the crash. > > Regards, > Herbert. Thank you. >From the trace it looks like your system is using libdbi 9.x. A patch was committed to the gnucash code in commit b122141a2cd1f5b1c68cb77090a9e43570c08fb5 specifically to make gnucash work with this version of libdbi. But it seems it's not working yet... I don't have libdbi 0.9.x available on my system so I can't do much to debug this further. Geert ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: GnuCash Segfaults on start
Hi, Am 2014-04-24 22:38, schrieb Geert Janssens: > Can you generate a backtrace from the core file ? That will give some > insight in where exactly gnucash is segfaulting. I attached the backtrace of the crash. Regards, Herbert. #0 0x7fffd599edac in dbi_initialize_r () from /usr/lib/x86_64-linux-gnu/libdbi.so.1 #1 0x7fffd5dec528 in gnc_module_init_backend_dbi () at gnc-backend-dbi.c:1872 #2 0x7fffd5dec8fa in qof_backend_module_init () at gnc-backend-dbi.c:1973 #3 0x76c12372 in qof_load_backend_library (directory=0xa6b180 "/opt/gnucash/lib/gnucash", module_name=0x7734c7ba "gncmod-backend-dbi") at qofbackend.c:254 #4 0x772cc020 in gnc_engine_init_part2 () at gnc-engine.c:105 #5 0x772cc159 in gnc_engine_init (argc=0, argv=0x0) at gnc-engine.c:142 #6 0x772d7129 in libgncmod_engine_gnc_module_init (refcount=0) at gncmod-engine.c:46 #7 0x770574dc in gnc_module_load_common (module_name=0x775cbe54 "gnucash/engine", iface=0, optional=0) at gnc-module.c:519 #8 0x7705771c in gnc_module_load (module_name=0x775cbe54 "gnucash/engine", iface=0) at gnc-module.c:554 #9 0x775bc0b9 in libgncmod_app_utils_gnc_module_init (refcount=0) at gncmod-app-utils.c:64 #10 0x770574dc in gnc_module_load_common (module_name=0x4062d8 "gnucash/app-utils", iface=0, optional=0) at gnc-module.c:519 #11 0x7705771c in gnc_module_load (module_name=0x4062d8 "gnucash/app-utils", iface=0) at gnc-module.c:554 #12 0x00405180 in load_gnucash_modules () at gnucash-bin.c:479 #13 0x0040548b in inner_main (closure=0x0, argc=1, argv=0x7fffdb78) at gnucash-bin.c:578 #14 0x768f242d in ?? () from /usr/lib/libguile-2.0.so.22 #15 0x768cc2ca in ?? () from /usr/lib/libguile-2.0.so.22 #16 0x7695dc00 in ?? () from /usr/lib/libguile-2.0.so.22 #17 0x768d5863 in scm_call_4 () from /usr/lib/libguile-2.0.so.22 #18 0x768cc9ff in ?? () from /usr/lib/libguile-2.0.so.22 #19 0x768cca95 in scm_c_with_continuation_barrier () from /usr/lib/libguile-2.0.so.22 #20 0x7694578c in ?? () from /usr/lib/libguile-2.0.so.22 #21 0x723e3fe2 in GC_call_with_stack_base () from /usr/lib/x86_64-linux-gnu/libgc.so.1 #22 0x76945b48 in scm_with_guile () from /usr/lib/libguile-2.0.so.22 #23 0x768f25c5 in scm_boot_guile () from /usr/lib/libguile-2.0.so.22 #24 0x004059ee in main (argc=1, argv=0x7fffdb78) at gnucash-bin.c:774 ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: GnuCash Segfaults on start
On Thursday 24 April 2014 22:26:29 Herbert Mühlburger wrote: > Hi, > > GnuCash segfaults when I try to run it on Ubuntu 14.04 64bit. My > latest revision is: e6c36983d49b578a89395d1719016670e8d0fbb2 > > I did not change any source code I just wanted to compile the latest > version and run it. > > Any suggestions? > > The console output can be found in the attachment. > > Thanks and kind regards, > Herbert. Hi Herbert, Can you generate a backtrace from the core file ? That will give some insight in where exactly gnucash is segfaulting. Geert ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
GnuCash Segfaults on start
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, GnuCash segfaults when I try to run it on Ubuntu 14.04 64bit. My latest revision is: e6c36983d49b578a89395d1719016670e8d0fbb2 I did not change any source code I just wanted to compile the latest version and run it. Any suggestions? The console output can be found in the attachment. Thanks and kind regards, Herbert. -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlNZc24ACgkQBJGnfYOuu33VQQD6Aqc33XkKA6oalk25CwRu8rDE A05wXPhUvBzZhFnvcZ0A/1N3o+5yyZwJEPFc8Qunz8VtdWfal/ckLkAnxhVSRJdW =FAUL -END PGP SIGNATURE- Diese Version befindet sich noch in Entwicklung. Sie kann funktionieren, muss aber nicht. Fehler und andere Probleme werden auf gnucash-devel@gnucash.org diskutiert. Fehlerberichte können auf http://bugzilla.gnome.org eingeschickt werden. To find the last stable version, please refer to http://www.gnucash.org ;;; note: source file /opt/gnucash/share/gnucash/guile-modules/gnucash/main.scm ;;; newer than compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/guile-modules/gnucash/main.scm.go ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /opt/gnucash/share/gnucash/guile-modules/gnucash/main.scm ;;; note: source file /opt/gnucash/share/gnucash/guile-modules/gnucash/printf.scm ;;; newer than compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/guile-modules/gnucash/printf.scm.go ;;; compiling /opt/gnucash/share/gnucash/guile-modules/gnucash/printf.scm ;;; compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/guile-modules/gnucash/printf.scm.go ;;; note: source file /opt/gnucash/share/gnucash/guile-modules/gnucash/core-utils.scm ;;; newer than compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/guile-modules/gnucash/core-utils.scm.go ;;; compiling /opt/gnucash/share/gnucash/guile-modules/gnucash/core-utils.scm ;;; compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/guile-modules/gnucash/core-utils.scm.go ;;; note: source file /opt/gnucash/share/gnucash/guile-modules/gnucash/gnc-module.scm ;;; newer than compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/guile-modules/gnucash/gnc-module.scm.go ;;; compiling /opt/gnucash/share/gnucash/guile-modules/gnucash/gnc-module.scm ;;; compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/guile-modules/gnucash/gnc-module.scm.go ;;; compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/guile-modules/gnucash/main.scm.go ;;; note: source file /opt/gnucash/share/gnucash/scm/string.scm ;;; newer than compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/scm/string.scm.go ;;; compiling /opt/gnucash/share/gnucash/scm/string.scm ;;; compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/scm/string.scm.go ;;; note: source file /opt/gnucash/share/gnucash/scm/fin.scm ;;; newer than compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/scm/fin.scm.go ;;; compiling /opt/gnucash/share/gnucash/scm/fin.scm ;;; compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/scm/fin.scm.go ;;; note: source file /opt/gnucash/share/gnucash/scm/build-config.scm ;;; newer than compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/scm/build-config.scm.go ;;; compiling /opt/gnucash/share/gnucash/scm/build-config.scm ;;; compiled /home/herbertm/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/gnucash/scm/build-config.scm.go [1]13235 segmentation fault (core dumped) /opt/gnucash/bin/gnucash ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
On Friday 28 February 2014 05:17:06 Ted Creedon wrote: > ps in a make what should the prefix be? > You can use whatever you want. If the program should be available for several users on the system /opt is a common choice. If you're the only user you could set it to $HOME/gnucash for example. You will probably want to make sure that whatever you set prefix to /bin is added to your PATH. That way you can launch gnucash simply by typing "gnucash". If not you always have to enter /bin/gnucash. Geert ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
ps in a make what should the prefix be? tedc On Fri, Feb 28, 2014 at 5:15 AM, Ted Creedon wrote: > needs to set to /usr/local/shareexport > > export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/local/share > > now running fine > > lets see how my tax run works out > > thank you > > tedc > > > On Fri, Feb 28, 2014 at 4:43 AM, Geert Janssens > wrote: > >> Ah, it looks like gnucash (or better GIO) is not finding the gsettings >> schemas. GIO aborts in that case. >> >> >> >> I have seen this happen before when environment variable XDG_DATA_DIRS is >> not set correctly for your specific set up. >> >> >> >> Is XDG_DATA_DIRS set on your system ? >> >> >> >> What is your installation prefix ? >> >> >> >> Geert >> >> >> >> On Friday 28 February 2014 04:15:53 Ted Creedon wrote: >> >> > Yes, removed the cp - it was there all the time >> >> > Yes make install >> >> > >> >> > strace gnucash: >> >> > >> >> > open("/etc/localtime", O_RDONLY) = 6 >> >> > fstat(6, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0 >> >> > mmap(NULL, 2819, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f7dcbf7 >> >> > close(6) = 0 >> >> > munmap(0x7f7dcbf7, 2819) = 0 >> >> > write(3, "* 04:01:07 OTHER Sett"..., 83) = 83 >> >> > --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} --- >> >> > +++ killed by SIGTRAP +++ >> >> > >> >> > >> >> > gdb Stack trace: >> >> > Program received signal SIGTRAP, Trace/breakpoint trap. >> >> > 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 >> >> > (gdb) bt full >> >> > #0 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 >> >> > No symbol table info available. >> >> > #1 0x73b3d452 in g_log () from /usr/lib64/libglib-2.0.so.0 >> >> > No symbol table info available. >> >> > #2 0x7454f5b7 in ?? () from /usr/lib64/libgio-2.0.so.0 >> >> > No symbol table info available. >> >> > #3 0x73e046a9 in ?? () from /usr/lib64/libgobject-2.0.so.0 >> >> > No symbol table info available. >> >> > #4 0x73e06424 in g_object_new_valist () from >> >> > /usr/lib64/libgobject-2.0.so.0 >> >> > No symbol table info available. >> >> > #5 0x73e06804 in g_object_new () from >> >> > /usr/lib64/libgobject-2.0.so.0 >> >> > No symbol table info available. >> >> > #6 0x771bf9d8 in gnc_gsettings_get_schema_ptr >> >> > (schema_str=schema_str@entry=0x771d06f7 "general") at >> >> > gnc-gsettings.c:104 >> >> > gset = 0x0 >> >> > full_name = 0x76c4e0 "org.gnucash.general" >> >> > __FUNCTION__ = "gnc_gsettings_get_schema_ptr" >> >> > #7 0x771c03ef in gnc_gsettings_get_float >> >> > (schema=0x771d06f7 "general", key=0x771d10da "retain-days") >> >> > at gnc-gsettings.c:354 >> >> > schema_ptr = >> >> > __PRETTY_FUNCTION__ = "gnc_gsettings_get_float" >> >> > __FUNCTION__ = "gnc_gsettings_get_float" >> >> > #8 0x771c2187 in file_retain_changed_cb (user_data=0x0, >> >> > key=0x0, gsettings=0x0) at gnc-prefs-utils.c:48 >> >> > days = >> >> > #9 0x771c23b5 in file_retain_changed_cb (user_data=0x0, >> >> > key=0x0, gsettings=0x0) at gnc-prefs-utils.c:123 >> >> > No locals. >> >> > #10 gnc_prefs_init () at gnc-prefs-utils.c:89 >> >> > __FUNCTION__ = "gnc_prefs_init" >> >> > #11 0x7744f8a3 in gnc_gui_init () at gnc-gnome-utils.c:672 >> >> > main_window = 0x0 >> >> > map = >> >> > idx = >> >> > icon_filenames = {0x774aaeef "gnucash-icon-16x16.png", >> >> > 0x774aaf06 "gnucash-icon-32x32.png", >> >> > 0x774aaf1d "gnucash-icon-48x48.png", 0x0} >> >> > icons = 0x763720 = {0x763a80} >> >> > fullname = 0x76d660 "" >> >> > __FUNCTION__ = "gnc_gui_init" >> >> > #12 0x00402bd6 in main (argc=1, argv=0x7fffd8b8) at >> >> > gnucash-bin.c:773 >> >> > sys_locale = 0x654500 ":0" >> >> > __FUNCTION__ = "main" >> >> > >> >> > >> >> > >> >> >> > > ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
On Friday 28 February 2014 05:06:49 Ted Creedon wrote: > echo $XDG_DATA_DIRS > > /usr/share:/usr/share > > > no prefixes > No prefix means the default prefix. That is usually /usr/local So the gsettings files will be stored in /usr/local/share/glib-2.0/schemas Since /usr/local/share is not in you XDG_DATA_DIRS variable they are not found. Which results in the abort. You can fix this by adding /usr/local/share to XDG_DATA_DIRS. I wonder however why this variable is set at all on your system. It is not set by default on Fedora for example. The FreeDesktop specification states that if this variable is not set the default should be assumed: /usr/local/share:/usr/share. You may want to ask this on the Suse forums. Geert > > On Fri, Feb 28, 2014 at 4:43 AM, Geert Janssens > > wrote: > > Ah, it looks like gnucash (or better GIO) is not finding the > > gsettings> > > schemas. GIO aborts in that case. > > > > > > > > I have seen this happen before when environment variable > > XDG_DATA_DIRS is not set correctly for your specific set up. > > > > > > > > Is XDG_DATA_DIRS set on your system ? > > > > > > > > What is your installation prefix ? > > > > > > > > Geert > > > > On Friday 28 February 2014 04:15:53 Ted Creedon wrote: > > > Yes, removed the cp - it was there all the time > > > > > > Yes make install > > > > > > > > > > > > strace gnucash: > > > > > > > > > > > > open("/etc/localtime", O_RDONLY) = 6 > > > > > > fstat(6, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0 > > > > > > mmap(NULL, 2819, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f7dcbf7 > > > > > > close(6) = 0 > > > > > > munmap(0x7f7dcbf7, 2819) = 0 > > > > > > write(3, "* 04:01:07 OTHER Sett"..., 83) = 83 > > > > > > --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} --- > > > > > > +++ killed by SIGTRAP +++ > > > > > > > > > > > > > > > > > > gdb Stack trace: > > > > > > Program received signal SIGTRAP, Trace/breakpoint trap. > > > > > > 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 > > > > > > (gdb) bt full > > > > > > #0 0x73b3d309 in g_logv () from > > > /usr/lib64/libglib-2.0.so.0 > > > > > > No symbol table info available. > > > > > > #1 0x73b3d452 in g_log () from /usr/lib64/libglib-2.0.so.0 > > > > > > No symbol table info available. > > > > > > #2 0x7454f5b7 in ?? () from /usr/lib64/libgio-2.0.so.0 > > > > > > No symbol table info available. > > > > > > #3 0x73e046a9 in ?? () from /usr/lib64/libgobject-2.0.so.0 > > > > > > No symbol table info available. > > > > > > #4 0x73e06424 in g_object_new_valist () from > > > > > > /usr/lib64/libgobject-2.0.so.0 > > > > > > No symbol table info available. > > > > > > #5 0x73e06804 in g_object_new () from > > > > > > /usr/lib64/libgobject-2.0.so.0 > > > > > > No symbol table info available. > > > > > > #6 0x771bf9d8 in gnc_gsettings_get_schema_ptr > > > > > > (schema_str=schema_str@entry=0x771d06f7 "general") at > > > > > > gnc-gsettings.c:104 > > > > > > gset = 0x0 > > > > > > full_name = 0x76c4e0 "org.gnucash.general" > > > > > > __FUNCTION__ = "gnc_gsettings_get_schema_ptr" > > > > > > #7 0x771c03ef in gnc_gsettings_get_float > > > > > > (schema=0x771d06f7 "general", key=0x771d10da > > > "retain-days") > > > > > > at gnc-gsettings.c:354 ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
needs to set to /usr/local/shareexport export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/local/share now running fine lets see how my tax run works out thank you tedc On Fri, Feb 28, 2014 at 4:43 AM, Geert Janssens wrote: > Ah, it looks like gnucash (or better GIO) is not finding the gsettings > schemas. GIO aborts in that case. > > > > I have seen this happen before when environment variable XDG_DATA_DIRS is > not set correctly for your specific set up. > > > > Is XDG_DATA_DIRS set on your system ? > > > > What is your installation prefix ? > > > > Geert > > > > On Friday 28 February 2014 04:15:53 Ted Creedon wrote: > > > Yes, removed the cp - it was there all the time > > > Yes make install > > > > > > strace gnucash: > > > > > > open("/etc/localtime", O_RDONLY) = 6 > > > fstat(6, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0 > > > mmap(NULL, 2819, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f7dcbf7 > > > close(6) = 0 > > > munmap(0x7f7dcbf7, 2819) = 0 > > > write(3, "* 04:01:07 OTHER Sett"..., 83) = 83 > > > --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} --- > > > +++ killed by SIGTRAP +++ > > > > > > > > > gdb Stack trace: > > > Program received signal SIGTRAP, Trace/breakpoint trap. > > > 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 > > > (gdb) bt full > > > #0 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 > > > No symbol table info available. > > > #1 0x73b3d452 in g_log () from /usr/lib64/libglib-2.0.so.0 > > > No symbol table info available. > > > #2 0x7454f5b7 in ?? () from /usr/lib64/libgio-2.0.so.0 > > > No symbol table info available. > > > #3 0x73e046a9 in ?? () from /usr/lib64/libgobject-2.0.so.0 > > > No symbol table info available. > > > #4 0x73e06424 in g_object_new_valist () from > > > /usr/lib64/libgobject-2.0.so.0 > > > No symbol table info available. > > > #5 0x73e06804 in g_object_new () from > > > /usr/lib64/libgobject-2.0.so.0 > > > No symbol table info available. > > > #6 0x771bf9d8 in gnc_gsettings_get_schema_ptr > > > (schema_str=schema_str@entry=0x771d06f7 "general") at > > > gnc-gsettings.c:104 > > > gset = 0x0 > > > full_name = 0x76c4e0 "org.gnucash.general" > > > __FUNCTION__ = "gnc_gsettings_get_schema_ptr" > > > #7 0x771c03ef in gnc_gsettings_get_float > > > (schema=0x771d06f7 "general", key=0x771d10da "retain-days") > > > at gnc-gsettings.c:354 > > > schema_ptr = > > > __PRETTY_FUNCTION__ = "gnc_gsettings_get_float" > > > __FUNCTION__ = "gnc_gsettings_get_float" > > > #8 0x771c2187 in file_retain_changed_cb (user_data=0x0, > > > key=0x0, gsettings=0x0) at gnc-prefs-utils.c:48 > > > days = > > > #9 0x771c23b5 in file_retain_changed_cb (user_data=0x0, > > > key=0x0, gsettings=0x0) at gnc-prefs-utils.c:123 > > > No locals. > > > #10 gnc_prefs_init () at gnc-prefs-utils.c:89 > > > __FUNCTION__ = "gnc_prefs_init" > > > #11 0x7744f8a3 in gnc_gui_init () at gnc-gnome-utils.c:672 > > > main_window = 0x0 > > > map = > > > idx = > > > icon_filenames = {0x774aaeef "gnucash-icon-16x16.png", > > > 0x774aaf06 "gnucash-icon-32x32.png", > > > 0x774aaf1d "gnucash-icon-48x48.png", 0x0} > > > icons = 0x763720 = {0x763a80} > > > fullname = 0x76d660 "" > > > __FUNCTION__ = "gnc_gui_init" > > > #12 0x00402bd6 in main (argc=1, argv=0x7fffd8b8) at > > > gnucash-bin.c:773 > > > sys_locale = 0x654500 ":0" > > > __FUNCTION__ = "main" > > > > > > > > > > > > ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
echo $XDG_DATA_DIRS /usr/share:/usr/share no prefixes On Fri, Feb 28, 2014 at 4:43 AM, Geert Janssens wrote: > Ah, it looks like gnucash (or better GIO) is not finding the gsettings > schemas. GIO aborts in that case. > > > > I have seen this happen before when environment variable XDG_DATA_DIRS is > not set correctly for your specific set up. > > > > Is XDG_DATA_DIRS set on your system ? > > > > What is your installation prefix ? > > > > Geert > > > > On Friday 28 February 2014 04:15:53 Ted Creedon wrote: > > > Yes, removed the cp - it was there all the time > > > Yes make install > > > > > > strace gnucash: > > > > > > open("/etc/localtime", O_RDONLY) = 6 > > > fstat(6, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0 > > > mmap(NULL, 2819, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f7dcbf7 > > > close(6) = 0 > > > munmap(0x7f7dcbf7, 2819) = 0 > > > write(3, "* 04:01:07 OTHER Sett"..., 83) = 83 > > > --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} --- > > > +++ killed by SIGTRAP +++ > > > > > > > > > gdb Stack trace: > > > Program received signal SIGTRAP, Trace/breakpoint trap. > > > 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 > > > (gdb) bt full > > > #0 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 > > > No symbol table info available. > > > #1 0x73b3d452 in g_log () from /usr/lib64/libglib-2.0.so.0 > > > No symbol table info available. > > > #2 0x7454f5b7 in ?? () from /usr/lib64/libgio-2.0.so.0 > > > No symbol table info available. > > > #3 0x73e046a9 in ?? () from /usr/lib64/libgobject-2.0.so.0 > > > No symbol table info available. > > > #4 0x73e06424 in g_object_new_valist () from > > > /usr/lib64/libgobject-2.0.so.0 > > > No symbol table info available. > > > #5 0x73e06804 in g_object_new () from > > > /usr/lib64/libgobject-2.0.so.0 > > > No symbol table info available. > > > #6 0x771bf9d8 in gnc_gsettings_get_schema_ptr > > > (schema_str=schema_str@entry=0x771d06f7 "general") at > > > gnc-gsettings.c:104 > > > gset = 0x0 > > > full_name = 0x76c4e0 "org.gnucash.general" > > > __FUNCTION__ = "gnc_gsettings_get_schema_ptr" > > > #7 0x771c03ef in gnc_gsettings_get_float > > > (schema=0x771d06f7 "general", key=0x771d10da "retain-days") > > > at gnc-gsettings.c:354 > > > schema_ptr = > > > __PRETTY_FUNCTION__ = "gnc_gsettings_get_float" > > > __FUNCTION__ = "gnc_gsettings_get_float" > > > #8 0x771c2187 in file_retain_changed_cb (user_data=0x0, > > > key=0x0, gsettings=0x0) at gnc-prefs-utils.c:48 > > > days = > > > #9 0x771c23b5 in file_retain_changed_cb (user_data=0x0, > > > key=0x0, gsettings=0x0) at gnc-prefs-utils.c:123 > > > No locals. > > > #10 gnc_prefs_init () at gnc-prefs-utils.c:89 > > > __FUNCTION__ = "gnc_prefs_init" > > > #11 0x7744f8a3 in gnc_gui_init () at gnc-gnome-utils.c:672 > > > main_window = 0x0 > > > map = > > > idx = > > > icon_filenames = {0x774aaeef "gnucash-icon-16x16.png", > > > 0x774aaf06 "gnucash-icon-32x32.png", > > > 0x774aaf1d "gnucash-icon-48x48.png", 0x0} > > > icons = 0x763720 = {0x763a80} > > > fullname = 0x76d660 "" > > > __FUNCTION__ = "gnc_gui_init" > > > #12 0x00402bd6 in main (argc=1, argv=0x7fffd8b8) at > > > gnucash-bin.c:773 > > > sys_locale = 0x654500 ":0" > > > __FUNCTION__ = "main" > > > > > > > > > > > > ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
Hello Ted, for opensuse best GnuCash version you can get at repository of Johannes Engel: http://download.opensuse.org/repositories/home:/j-engel/openSUSE_13.1/ normally this works very well Johannes Am 28.02.2014 13:43, schrieb Geert Janssens: Ah, it looks like gnucash (or better GIO) is not finding the gsettings schemas. GIO aborts in that case. I have seen this happen before when environment variable XDG_DATA_DIRS is not set correctly for your specific set up. Is XDG_DATA_DIRS set on your system ? What is your installation prefix ? Geert On Friday 28 February 2014 04:15:53 Ted Creedon wrote: Yes, removed the cp - it was there all the time Yes make install strace gnucash: open("/etc/localtime", O_RDONLY)= 6 fstat(6, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0 mmap(NULL, 2819, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f7dcbf7 close(6)= 0 munmap(0x7f7dcbf7, 2819)= 0 write(3, "* 04:01:07 OTHER Sett"..., 83) = 83 --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} --- +++ killed by SIGTRAP +++ gdb Stack trace: Program received signal SIGTRAP, Trace/breakpoint trap. 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 (gdb) bt full #0 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #1 0x73b3d452 in g_log () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #2 0x7454f5b7 in ?? () from /usr/lib64/libgio-2.0.so.0 No symbol table info available. #3 0x73e046a9 in ?? () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #4 0x73e06424 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #5 0x73e06804 in g_object_new () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #6 0x771bf9d8 in gnc_gsettings_get_schema_ptr (schema_str=schema_str@entry=0x771d06f7 "general") at gnc-gsettings.c:104 gset = 0x0 full_name = 0x76c4e0 "org.gnucash.general" __FUNCTION__ = "gnc_gsettings_get_schema_ptr" #7 0x771c03ef in gnc_gsettings_get_float (schema=0x771d06f7 "general", key=0x771d10da "retain-days") at gnc-gsettings.c:354 schema_ptr = __PRETTY_FUNCTION__ = "gnc_gsettings_get_float" __FUNCTION__ = "gnc_gsettings_get_float" #8 0x771c2187 in file_retain_changed_cb (user_data=0x0, key=0x0, gsettings=0x0) at gnc-prefs-utils.c:48 days = #9 0x771c23b5 in file_retain_changed_cb (user_data=0x0, key=0x0, gsettings=0x0) at gnc-prefs-utils.c:123 No locals. #10 gnc_prefs_init () at gnc-prefs-utils.c:89 __FUNCTION__ = "gnc_prefs_init" #11 0x7744f8a3 in gnc_gui_init () at gnc-gnome-utils.c:672 main_window = 0x0 map = idx = icon_filenames = {0x774aaeef "gnucash-icon-16x16.png", 0x774aaf06 "gnucash-icon-32x32.png", 0x774aaf1d "gnucash-icon-48x48.png", 0x0} icons = 0x763720 = {0x763a80} fullname = 0x76d660 "" __FUNCTION__ = "gnc_gui_init" #12 0x00402bd6 in main (argc=1, argv=0x7fffd8b8) at gnucash-bin.c:773 sys_locale = 0x654500 ":0" __FUNCTION__ = "main" ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
Ah, it looks like gnucash (or better GIO) is not finding the gsettings schemas. GIO aborts in that case. I have seen this happen before when environment variable XDG_DATA_DIRS is not set correctly for your specific set up. Is XDG_DATA_DIRS set on your system ? What is your installation prefix ? Geert On Friday 28 February 2014 04:15:53 Ted Creedon wrote: > Yes, removed the cp - it was there all the time > Yes make install > > strace gnucash: > > open("/etc/localtime", O_RDONLY)= 6 > fstat(6, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0 > mmap(NULL, 2819, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f7dcbf7 > close(6)= 0 > munmap(0x7f7dcbf7, 2819)= 0 > write(3, "* 04:01:07 OTHER Sett"..., 83) = 83 > --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} --- > +++ killed by SIGTRAP +++ > > > gdb Stack trace: > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 > (gdb) bt full > #0 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 > No symbol table info available. > #1 0x73b3d452 in g_log () from /usr/lib64/libglib-2.0.so.0 > No symbol table info available. > #2 0x7454f5b7 in ?? () from /usr/lib64/libgio-2.0.so.0 > No symbol table info available. > #3 0x73e046a9 in ?? () from /usr/lib64/libgobject-2.0.so.0 > No symbol table info available. > #4 0x73e06424 in g_object_new_valist () from > /usr/lib64/libgobject-2.0.so.0 > No symbol table info available. > #5 0x73e06804 in g_object_new () from > /usr/lib64/libgobject-2.0.so.0 > No symbol table info available. > #6 0x771bf9d8 in gnc_gsettings_get_schema_ptr > (schema_str=schema_str@entry=0x771d06f7 "general") at > gnc-gsettings.c:104 > gset = 0x0 > full_name = 0x76c4e0 "org.gnucash.general" > __FUNCTION__ = "gnc_gsettings_get_schema_ptr" > #7 0x771c03ef in gnc_gsettings_get_float > (schema=0x771d06f7 "general", key=0x771d10da "retain-days") > at gnc-gsettings.c:354 > schema_ptr = > __PRETTY_FUNCTION__ = "gnc_gsettings_get_float" > __FUNCTION__ = "gnc_gsettings_get_float" > #8 0x771c2187 in file_retain_changed_cb (user_data=0x0, > key=0x0, gsettings=0x0) at gnc-prefs-utils.c:48 > days = > #9 0x771c23b5 in file_retain_changed_cb (user_data=0x0, > key=0x0, gsettings=0x0) at gnc-prefs-utils.c:123 > No locals. > #10 gnc_prefs_init () at gnc-prefs-utils.c:89 > __FUNCTION__ = "gnc_prefs_init" > #11 0x7744f8a3 in gnc_gui_init () at gnc-gnome-utils.c:672 > main_window = 0x0 > map = > idx = > icon_filenames = {0x774aaeef "gnucash-icon-16x16.png", > 0x774aaf06 "gnucash-icon-32x32.png", > 0x774aaf1d "gnucash-icon-48x48.png", 0x0} > icons = 0x763720 = {0x763a80} > fullname = 0x76d660 "" > __FUNCTION__ = "gnc_gui_init" > #12 0x00402bd6 in main (argc=1, argv=0x7fffd8b8) at > gnucash-bin.c:773 > sys_locale = 0x654500 ":0" > __FUNCTION__ = "main" > > > ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
Yes, removed the cp - it was there all the time Yes make install strace gnucash: open("/etc/localtime", O_RDONLY)= 6 fstat(6, {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0 mmap(NULL, 2819, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f7dcbf7 close(6)= 0 munmap(0x7f7dcbf7, 2819)= 0 write(3, "* 04:01:07 OTHER Sett"..., 83) = 83 --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} --- +++ killed by SIGTRAP +++ gdb Stack trace: Program received signal SIGTRAP, Trace/breakpoint trap. 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 (gdb) bt full #0 0x73b3d309 in g_logv () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #1 0x73b3d452 in g_log () from /usr/lib64/libglib-2.0.so.0 No symbol table info available. #2 0x7454f5b7 in ?? () from /usr/lib64/libgio-2.0.so.0 No symbol table info available. #3 0x73e046a9 in ?? () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #4 0x73e06424 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #5 0x73e06804 in g_object_new () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #6 0x771bf9d8 in gnc_gsettings_get_schema_ptr (schema_str=schema_str@entry=0x771d06f7 "general") at gnc-gsettings.c:104 gset = 0x0 full_name = 0x76c4e0 "org.gnucash.general" __FUNCTION__ = "gnc_gsettings_get_schema_ptr" #7 0x771c03ef in gnc_gsettings_get_float (schema=0x771d06f7 "general", key=0x771d10da "retain-days") at gnc-gsettings.c:354 schema_ptr = __PRETTY_FUNCTION__ = "gnc_gsettings_get_float" __FUNCTION__ = "gnc_gsettings_get_float" #8 0x771c2187 in file_retain_changed_cb (user_data=0x0, key=0x0, gsettings=0x0) at gnc-prefs-utils.c:48 days = #9 0x771c23b5 in file_retain_changed_cb (user_data=0x0, key=0x0, gsettings=0x0) at gnc-prefs-utils.c:123 No locals. #10 gnc_prefs_init () at gnc-prefs-utils.c:89 __FUNCTION__ = "gnc_prefs_init" #11 0x7744f8a3 in gnc_gui_init () at gnc-gnome-utils.c:672 main_window = 0x0 map = idx = icon_filenames = {0x774aaeef "gnucash-icon-16x16.png", 0x774aaf06 "gnucash-icon-32x32.png", 0x774aaf1d "gnucash-icon-48x48.png", 0x0} icons = 0x763720 = {0x763a80} fullname = 0x76d660 "" __FUNCTION__ = "gnc_gui_init" #12 0x00402bd6 in main (argc=1, argv=0x7fffd8b8) at gnucash-bin.c:773 sys_locale = 0x654500 ":0" __FUNCTION__ = "main" On Fri, Feb 28, 2014 at 4:10 AM, Geert Janssens wrote: > Hmm, you should not be copying files around like that. That makes > everything much harder to track. > > > > First question: how do you install gnucash ? I presume using make install ? > > > > What prefix are you using for this ? I strongly suggest using something > other than /usr or /usr/local. These two paths are special cases for the > linker/installer and should only be used by package managers. In case your > intent it to package gnucash for suse, you can ignore this bit :) > > > > Lastly: libgnc-gnome.so is an internal library for gnucash. It should get > installed automatically when running make install. > > > > If that's not the case on your system, you should first figure out why > that didn't happen. > > > > Geert > > > > On Friday 28 February 2014 04:00:30 Ted Creedon wrote: > > > deleted 2.4, 2.6.1 compiled fine but when executing: > > > > > > gnucash: error while loading shared libraries: libgnc-gnome.so.0: > > > cannot open shared object file: No such file or directory > > > > > > libgnc-gnome. was deleted when 2.4 was removed > > > > > > and its not in the suse distro. So I moved it & did ldconfig > > > > > > cp /data/gnucash-2.6.1/src/gnome/.libs/libgnc-gnome.so > > > /usr/lib64/libgnc-gnome.soi > > > > > > & now get [1]+ Trace/breakpoint trap gnucash > > > > > > > > > > > > tedc > > > > > > > > > > > > > > > > > > On Fri, Feb 28, 2014 at 3:28 AM, Geert Janssens > > > > > > wrote: > > > > On Friday 28 February 2014 02:12:23 Ted Creedon wrote: > > > > > It might be best to work on 2.6..1. > > > > > > > > > > > > > > > > > > > > Here'e the 2.6.1 compile error - which involves libgnc: > > > > > > > > > > > > > > > > > > > > libtool: link: gcc -Wdeclaration-after-statement -g -O2 -Wall > > > > > -Wunused > > > > > > > > > > -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o > > > > > > > > > > .libs/gnucash gnucash-bin.o -pthread -Wl,--export-dynamic -pthread > > > > > > > > > > ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so > > > > > > > > > > ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so > > > > > > > > > > ../../src/gnome/.libs/libgnc-gnome.so > > > > > > > > > > ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so > > > > > > > > > > ../../src/app-utils/.libs/libgncmod-app-utils.so > > > > >
Re: Gnucash Segfaults
Hmm, you should not be copying files around like that. That makes everything much harder to track. First question: how do you install gnucash ? I presume using make install ? What prefix are you using for this ? I strongly suggest using something other than /usr or /usr/local. These two paths are special cases for the linker/installer and should only be used by package managers. In case your intent it to package gnucash for suse, you can ignore this bit :) Lastly: libgnc-gnome.so is an internal library for gnucash. It should get installed automatically when running make install. If that's not the case on your system, you should first figure out why that didn't happen. Geert On Friday 28 February 2014 04:00:30 Ted Creedon wrote: > deleted 2.4, 2.6.1 compiled fine but when executing: > > gnucash: error while loading shared libraries: libgnc-gnome.so.0: > cannot open shared object file: No such file or directory > > libgnc-gnome. was deleted when 2.4 was removed > > and its not in the suse distro. So I moved it & did ldconfig > > cp /data/gnucash-2.6.1/src/gnome/.libs/libgnc-gnome.so > /usr/lib64/libgnc-gnome.soi > > & now get [1]+ Trace/breakpoint trap gnucash > > > > tedc > > > > > > On Fri, Feb 28, 2014 at 3:28 AM, Geert Janssens > > wrote: > > On Friday 28 February 2014 02:12:23 Ted Creedon wrote: > > > It might be best to work on 2.6..1. > > > > > > > > > > > > Here'e the 2.6.1 compile error - which involves libgnc: > > > > > > > > > > > > libtool: link: gcc -Wdeclaration-after-statement -g -O2 -Wall > > > -Wunused > > > > > > -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o > > > > > > .libs/gnucash gnucash-bin.o -pthread -Wl,--export-dynamic -pthread > > > > > > ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so > > > > > > ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so > > > > > > ../../src/gnome/.libs/libgnc-gnome.so > > > > > > ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so > > > > > > ../../src/app-utils/.libs/libgncmod-app-utils.so > > > > > > ../../src/engine/.libs/libgncmod-engine.so > > > > > > ../../src/gnc-module/.libs/libgnc-module.so > > > > > > ../../src/core-utils/.libs/libgnc-core-utils.so > > > > > > ../../src/libqof/qof/.libs/libgnc-qof.so /usr/lib64/libguile.so > > > -lgmp > > > > > > -lcrypt /usr/lib64/libltdl.so -lgthread-2.0 -lgmodule-2.0 > > > > > > -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo > > > > > > -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 > > > -lgobject-2.0 > > > > > > -lglib-2.0 -lfontconfig -lfreetype -lm -pthread -Wl,-rpath > > > > > > -Wl,/usr/local/lib64/gnucash -Wl,-rpath -Wl,/usr/lib64 > > > > > > /usr/lib64/libgnc-backend-xml-utils.so.0: undefined reference to > > > > > > `safe_strcmp' > > > > > > collect2: error: ld returned 1 exit status > > > > > > make[4]: *** [gnucash] Error 1 > > > > > > make[3]: *** [all-recursive] Error 1 > > > > > > make[2]: *** [all-recursive] Error 1 > > > > > > make[1]: *** [all-recursive] Error 1 > > > > > > make: *** [all] Error 2 > > > > That looks like your linker is trying to link against libraries from > > an older gnucash version installed on the system. safe_strcmp is > > not used in gnucash 2.6.1 anymore. > > > > > > > > There is a bug report for this [1]. The workaround is to remove > > gnucash from your system before compiling. > > > > > > > > Geert > > > > > > > > [1] https://bugzilla.gnome.org/show_bug.cgi?id=644897 > > ___ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
deleted 2.4, 2.6.1 compiled fine but when executing: gnucash: error while loading shared libraries: libgnc-gnome.so.0: cannot open shared object file: No such file or directory libgnc-gnome. was deleted when 2.4 was removed and its not in the suse distro. So I moved it & did ldconfig cp /data/gnucash-2.6.1/src/gnome/.libs/libgnc-gnome.so /usr/lib64/libgnc-gnome.soi & now get [1]+ Trace/breakpoint trap gnucash tedc On Fri, Feb 28, 2014 at 3:28 AM, Geert Janssens wrote: > On Friday 28 February 2014 02:12:23 Ted Creedon wrote: > > > It might be best to work on 2.6..1. > > > > > > Here'e the 2.6.1 compile error - which involves libgnc: > > > > > > libtool: link: gcc -Wdeclaration-after-statement -g -O2 -Wall -Wunused > > > -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o > > > .libs/gnucash gnucash-bin.o -pthread -Wl,--export-dynamic -pthread > > > ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so > > > ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so > > > ../../src/gnome/.libs/libgnc-gnome.so > > > ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so > > > ../../src/app-utils/.libs/libgncmod-app-utils.so > > > ../../src/engine/.libs/libgncmod-engine.so > > > ../../src/gnc-module/.libs/libgnc-module.so > > > ../../src/core-utils/.libs/libgnc-core-utils.so > > > ../../src/libqof/qof/.libs/libgnc-qof.so /usr/lib64/libguile.so -lgmp > > > -lcrypt /usr/lib64/libltdl.so -lgthread-2.0 -lgmodule-2.0 > > > -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo > > > -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 > > > -lglib-2.0 -lfontconfig -lfreetype -lm -pthread -Wl,-rpath > > > -Wl,/usr/local/lib64/gnucash -Wl,-rpath -Wl,/usr/lib64 > > > /usr/lib64/libgnc-backend-xml-utils.so.0: undefined reference to > > > `safe_strcmp' > > > collect2: error: ld returned 1 exit status > > > make[4]: *** [gnucash] Error 1 > > > make[3]: *** [all-recursive] Error 1 > > > make[2]: *** [all-recursive] Error 1 > > > make[1]: *** [all-recursive] Error 1 > > > make: *** [all] Error 2 > > > > > That looks like your linker is trying to link against libraries from an > older gnucash version installed on the system. safe_strcmp is not used in > gnucash 2.6.1 anymore. > > > > There is a bug report for this [1]. The workaround is to remove gnucash > from your system before compiling. > > > > Geert > > > > [1] https://bugzilla.gnome.org/show_bug.cgi?id=644897 > ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
On Friday 28 February 2014 02:12:23 Ted Creedon wrote: > It might be best to work on 2.6..1. > > Here'e the 2.6.1 compile error - which involves libgnc: > > libtool: link: gcc -Wdeclaration-after-statement -g -O2 -Wall -Wunused > -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o > .libs/gnucash gnucash-bin.o -pthread -Wl,--export-dynamic -pthread > ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so > ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so > ../../src/gnome/.libs/libgnc-gnome.so > ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so > ../../src/app-utils/.libs/libgncmod-app-utils.so > ../../src/engine/.libs/libgncmod-engine.so > ../../src/gnc-module/.libs/libgnc-module.so > ../../src/core-utils/.libs/libgnc-core-utils.so > ../../src/libqof/qof/.libs/libgnc-qof.so /usr/lib64/libguile.so -lgmp > -lcrypt /usr/lib64/libltdl.so -lgthread-2.0 -lgmodule-2.0 > -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo > -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 > -lglib-2.0 -lfontconfig -lfreetype -lm -pthread -Wl,-rpath > -Wl,/usr/local/lib64/gnucash -Wl,-rpath -Wl,/usr/lib64 > /usr/lib64/libgnc-backend-xml-utils.so.0: undefined reference to > `safe_strcmp' > collect2: error: ld returned 1 exit status > make[4]: *** [gnucash] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > That looks like your linker is trying to link against libraries from an older gnucash version installed on the system. safe_strcmp is not used in gnucash 2.6.1 anymore. There is a bug report for this [1]. The workaround is to remove gnucash from your system before compiling. Geert [1] https://bugzilla.gnome.org/show_bug.cgi?id=644897 ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
GNU cash froze up after generatiing a TXF report & jumping around to transactions No other actions done. I'd be glad to stack trace 2.6.1 if I can get it to compile tedc Program received signal SIGSEGV, Segmentation fault. 0x73075cac in g_type_check_instance_is_a () from /usr/lib64/libgobject-2.0.so.0 (gdb) bt full #0 0x73075cac in g_type_check_instance_is_a () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #1 0x763ddbaa in gtk_widget_queue_draw () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #2 0x7fffd9c415ae in Oxygen::ToolBarStateData::delayedUpdate(void*) () from /usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so No symbol table info available. #3 0x7fffd9c41d85 in Oxygen::ToolBarStateData::updateState(_GtkWidget*, bool, bool) () from /usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so No symbol table info available. #4 0x7fffd9c42469 in Oxygen::ToolBarStateData::registerChild(_GtkWidget*, bool) () from /usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so No symbol table info available. #5 0x7fffd9cd480f in ?? () from /usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so No symbol table info available. #6 0x762249dc in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #7 0x76224bfd in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #8 0x762c69d5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #9 0x73054292 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #10 0x73065a6b in ?? () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #11 0x7306d689 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #12 0x7306dc72 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #13 0x763d6864 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #14 0x7624f548 in gtk_container_propagate_expose () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #15 0x7624e0d4 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #16 0x762c69d5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #17 0x73054292 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #18 0x73065a6b in ?? () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #19 0x7306d689 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #20 0x7306dc72 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #21 0x763d6864 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #22 0x7624f548 in gtk_container_propagate_expose () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #23 0x7638a23e in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #24 0x762c69d5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. ---Type to continue, or q to quit--- #25 0x73054292 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #26 0x73065a6b in ?? () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #27 0x7306d689 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #28 0x7306dc72 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #29 0x763d6864 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #30 0x7624f548 in gtk_container_propagate_expose () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #31 0x7621bc5a in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #32 0x7624e0d4 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #33 0x762c69d5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #34 0x73054292 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #35 0x73065a6b in ?? () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #36 0x7306d689 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #37 0x7306dc72 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 No symbol table info available. #38 0x763d6864 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #39 0x7624f548 in gtk_container_propagate_expose () from /usr/lib64/libgtk-x11-2.0.so.0 No symbol table info available. #40 0x7621bc5a in ?? () from /usr/lib64/libgtk-x11-
Re: Gnucash Segfaults
It might be best to work on 2.6..1. Here'e the 2.6.1 compile error - which involves libgnc: libtool: link: gcc -Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o .libs/gnucash gnucash-bin.o -pthread -Wl,--export-dynamic -pthread ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so ../../src/gnome/.libs/libgnc-gnome.so ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so ../../src/app-utils/.libs/libgncmod-app-utils.so ../../src/engine/.libs/libgncmod-engine.so ../../src/gnc-module/.libs/libgnc-module.so ../../src/core-utils/.libs/libgnc-core-utils.so ../../src/libqof/qof/.libs/libgnc-qof.so /usr/lib64/libguile.so -lgmp -lcrypt /usr/lib64/libltdl.so -lgthread-2.0 -lgmodule-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lm -pthread -Wl,-rpath -Wl,/usr/local/lib64/gnucash -Wl,-rpath -Wl,/usr/lib64 /usr/lib64/libgnc-backend-xml-utils.so.0: undefined reference to `safe_strcmp' collect2: error: ld returned 1 exit status make[4]: *** [gnucash] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 On Thu, Feb 27, 2014 at 5:51 PM, Derek Atkins wrote: > Hi, > > On Thu, February 27, 2014 8:16 pm, Ted Creedon wrote: > > gnucash[12625]: segfault at 10016 ip 7f15bd5d4cac sp > > 7fff24f1a228 error 4 in > libgobject-2.0.so.0.3800.2[7f15bd5a2000+4f000] > > Any chance you could pull a full backtrace? This says that the crash > happened in one of GnuCash's dependent libraries, libgobject, which is > part of glib. Without a full trace there's no way we could track this > down. See http://wiki.gnucash.org/wiki/Stack_Trace > > > built from r4dc6397+ on 2013-09-28. > > No idea what release this is... > > > OpenSuSe 13.1 > > > > What is a stable release? > > 2.6.1 is the current stable release. > > > Tedc > > -derek > > -- >Derek Atkins 617-623-3745 >de...@ihtfp.com www.ihtfp.com >Computer and Internet Security Consultant > > ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
Hi, Am 28.02.2014 02:51, schrieb Derek Atkins: : > On Thu, February 27, 2014 8:16 pm, Ted Creedon wrote: : >> built from r4dc6397+ on 2013-09-28. > > No idea what release this is... > >> OpenSuSe 13.1 >> >> What is a stable release? > > 2.6.1 is the current stable release. You can find several packages via http://software.opensuse.org/package/gnucash click 13.1 click "Show unstable packages" Unstable there means they are no official opensuse builds but made by volonteers. >> Tedc > > -derek > ~Frank ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash Segfaults
Hi, On Thu, February 27, 2014 8:16 pm, Ted Creedon wrote: > gnucash[12625]: segfault at 10016 ip 7f15bd5d4cac sp > 7fff24f1a228 error 4 in libgobject-2.0.so.0.3800.2[7f15bd5a2000+4f000] Any chance you could pull a full backtrace? This says that the crash happened in one of GnuCash's dependent libraries, libgobject, which is part of glib. Without a full trace there's no way we could track this down. See http://wiki.gnucash.org/wiki/Stack_Trace > built from r4dc6397+ on 2013-09-28. No idea what release this is... > OpenSuSe 13.1 > > What is a stable release? 2.6.1 is the current stable release. > Tedc -derek -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Gnucash Segfaults
gnucash[12625]: segfault at 10016 ip 7f15bd5d4cac sp 7fff24f1a228 error 4 in libgobject-2.0.so.0.3800.2[7f15bd5a2000+4f000] built from r4dc6397+ on 2013-09-28. OpenSuSe 13.1 What is a stable release? Tedc ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: Gnucash segfaults
Micha Lenk writes: > Hi, > > I know that Gnucash 2.2.6 is somewhat outdated. But can someone please > have a short glimpse at the following Debian bug report?: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519148 > > Any other suggestions on how to tackle the problem? Get a stack trace? http://wiki.gnucash.org/wiki/Stacktrace > Regards > Micha -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Gnucash segfaults
Hi, I know that Gnucash 2.2.6 is somewhat outdated. But can someone please have a short glimpse at the following Debian bug report?: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519148 Any other suggestions on how to tackle the problem? Regards Micha ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel