After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 392556 - Gnucash 2.0.4 Crashes on Startup
Gnucash 2.0.4 Crashes on Startup
Status: VERIFIED DUPLICATE of bug 373809
Product: GnuCash
Classification: Other
Component: General
2.0.x
Other All
: Normal critical
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2007-01-04 00:10 UTC by yellowwizard1
Modified: 2018-06-29 21:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description yellowwizard1 2007-01-04 00:10:51 UTC
Steps to reproduce:
1. Configure make make install completed without error
2. Initial startup of program from /usr/local/bin crashes
3. 


Stack trace:
Memory status: size: 42184704 vsize: 0 resident: 42184704 share: 0 rss: 17694720 rss_rlim: 0
CPU usage: start_time: 1167868906 rtime: 0 utime: 160 stime: 0 cutime:152 cstime: 0 timeout: 8 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/local/bin/gnucash'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1232582048 (LWP 21794)]
0xb6b0b04e in __waitpid_nocancel () from /lib/tls/libpthread.so.0

Thread 1 (Thread -1232582048 (LWP 21794))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 raise
    from /lib/tls/libc.so.6
  • #4 abort
    from /lib/tls/libc.so.6
  • #5 scm_must_free
    at gc-malloc.c line 464
  • #6 scm_gc_free
    at guile-compatibility.c line 50
  • #7 scm_i_vector_free
    at vectors.c line 340
  • #8 scm_i_sweep_card
    at gc-card.c line 128
  • #9 scm_i_sweep_some_cards
    at gc-segment.c line 164
  • #10 scm_i_sweep_some_segments
    at gc-segment.c line 334
  • #11 scm_gc_for_newcell
    at gc.c line 485
  • #12 scm_cons
    at ../libguile/inline.h line 74
  • #13 scm_system_async_mark_for_thread
    at async.c line 316
  • #14 scm_system_async_mark
    at async.c line 325
  • #15 mark_gc_async
    at gc.c line 1002
  • #16 scm_c_hook_run
    at hooks.c line 96
  • #17 scm_gc_for_newcell
    at gc.c line 530
  • #18 make_stringbuf
    at ../libguile/inline.h line 151
  • #19 scm_i_c_make_symbol
    at strings.c line 430
  • #20 scm_i_c_mem2symbol
    at symbols.c line 135
  • #21 scm_c_define
    at modules.c line 550
  • #22 scm_init_objects
    at objects.c line 350
  • #23 scm_i_init_guile
    at init.c line 509
  • #24 scm_i_init_thread_for_guile
    at threads.c line 540
  • #25 scm_i_with_guile_and_parent
    at threads.c line 648
  • #26 scm_with_guile
    at threads.c line 637
  • #27 scm_boot_guile
    at init.c line 350
  • #28 main
    at gnucash-bin.c line 515
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0


Other information:
Comment 1 Derek Atkins 2007-01-04 00:20:56 UTC
What OS/Distro?
What's printed on the terminal when it dies?
Comment 2 yellowwizard1 2007-01-04 02:11:36 UTC
Oops, sorry, just posted what popped up when I ran it... not sure if this is even really worth reporting :)

On Slackware 11:

root@pendelhaven:/usr/local/bin# ./gnucash

(gnucash:26669): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
freeing NULL pointer
(bug-buddy:26673): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

** (bug-buddy:26673): WARNING **: Couldn't load icon for Bonobo Component Browser

** (bug-buddy:26673): WARNING **: Couldn't load icon for Decrypt File

** (bug-buddy:26673): WARNING **: Couldn't load icon for Import Key

** (bug-buddy:26673): WARNING **: Couldn't load icon for Open Folder

** (bug-buddy:26673): WARNING **: Couldn't load icon for Verify Signature
"/usr/local/bin/gnucash": not in executable format: File format not recognized
Comment 3 Derek Atkins 2007-01-04 02:23:07 UTC
Anything output in /tmp/gnucash.trace?

This is a scheme error, so I'm trying to get the scheme backtrace.

It's possible the problem is related to the "Authentication Rejected" while connecting to the session manager, but I doubt it.
Comment 4 yellowwizard1 2007-01-04 06:43:10 UTC
less /tmp/gnucash.trace output:

gnucash: /usr/lib/libgnc-backend-postgres.so: cannot open shared object file: No
 such file or directory

failed to load gnc-backend-postgres from /usr/lib

loading system configuration
looking for /etc/gnucash/config
trying to load /etc/gnucash/config
loading user configuration
looking for /root/.gnucash/config-2.0.user
looking for /root/.gnucash/config-1.8.user
looking for /root/.gnucash/config-1.6.user
looking for /root/.gnucash/config.user
loading auto configuration
looking for /root/.gnucash/config-2.0.auto
looking for /root/.gnucash/config-1.8.auto
looking for /root/.gnucash/config-1.6.auto
looking for /root/.gnucash/config.auto
loading saved reports
looking for /root/.gnucash/saved-reports-2.0
looking for /root/.gnucash/saved-reports-1.8
loading stylesheets
looking for /root/.gnucash/stylesheets-2.0
gnucash.trace lines 1-22/22 (END) 
Comment 5 yellowwizard1 2007-01-04 06:51:47 UTC
... Although in retrospect, this may be from attempting to run Gnucash 2.0.2 (I installed a packaged version just to see if the program would run at all).  The error messages from running the packaged version are similar, however.
Comment 6 Christian Stimming 2007-01-04 10:00:48 UTC
Same as bug#389914 and perhaps bug#391601 . Which version of guile and of slib do you have installed?
Comment 7 yellowwizard1 2007-01-12 05:45:49 UTC
phooka@pendelhaven:~$ slib --version
slib 3a4
phooka@pendelhaven:~$ guile --version
Guile 1.6.7
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well.  For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.
Comment 8 Christian Stimming 2007-01-12 10:29:42 UTC
slib 3a4 is broken, can you downgrade to 3a3?
Comment 9 yellowwizard1 2007-01-19 03:50:25 UTC
I tried that, and ended up getting an error message stating that SLIB could not be found (which I actually got the first time around with 3a4 until I reinstalled slib, guile, and g-wrap).  I've probably been spending a bit more time on this than I should, so I've just gone ahead and installed the precompiled package.  Thanks for all your help anyway!
Comment 10 Christian Stimming 2007-01-23 13:48:58 UTC
Thanks for the feedback.

*** This bug has been marked as a duplicate of 373809 ***
Comment 11 John Ralls 2018-06-29 21:21:01 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=392556. Please update any external references or bookmarks.