Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30793 - GnuCash Crashed while accessing the New user help file
Summary: GnuCash Crashed while accessing the New user help file
Status: RESOLVED DUPLICATE of bug 28787
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-09 16:26 UTC by Richard Waite
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Wrapper script for GnuCash (startgnucash,50 bytes, patch)
2003-12-03 22:53 UTC, Martin Marshall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Waite 2003-10-09 16:26:57 UTC
when i run gnucash and access the new user help file the program closes with no 
error or warning


Reproducible: Always
Steps to Reproduce:
1.open gnucash
2.open the help
3.

Actual Results:  
program closed with out warning

Expected Results:  
opened the help documents or a wizzard but i don't know as i not used it b4
Comment 1 foser (RETIRED) gentoo-dev 2003-10-12 09:30:20 UTC
your 'emerge info' ?

do you have 'doc' in your USE flags ?
Comment 2 Toon Verstraelen 2003-11-08 06:41:36 UTC
I'm working with the version 1.8.4 of gnucash and have the same problem.
The 'doc' useflag is not set, but when I set it an do a 'emerge -upD world',
I get this:

--------------------------------------------------------------------------------

These are the packages that I would merge, in order:
 
Calculating world dependencies ...done!
[ebuild  N F  ] dev-java/java-sdk-docs-1.4.1
[ebuild  N    ] dev-python/python-docs-2.2.3
[ebuild  N    ] dev-util/gtk-doc-1.1
[ebuild  N    ] media-gfx/graphviz-1.9
[ebuild  N    ] app-doc/qt-docs-3.1.2
[ebuild  N    ] app-doc/doxygen-1.3.3
[ebuild  N    ] app-text/docbook-sgml-1.0
[ebuild  N    ] media-gfx/pfaedit-030512
[ebuild  N    ] app-text/t1utils-1.25
[ebuild  N    ] app-text/dgs-0.5.10-r1
[ebuild  N    ] x11-libs/gtkDPS-0.3.3-r1
[ebuild  N    ] media-gfx/autotrace-0.31.1
[ebuild  N    ] app-text/mftrace-1.0.10
[ebuild  N    ] app-doc/kdelibs-apidocs-3.1.4

--------------------------------------------------------------------------------

That doesn't contain anything gnucash related at first sight. another indication
for that this problem is not related with the use flag can be found when
running gnucash from the terminal and then requesting the online help in
gnucash. I get the following error messages:

--------------------------------------------------------------------------------

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
 
Gtk-CRITICAL **: file gtksignal.c: line 1067 (gtk_signal_handler_block_by_data):
assertion `object != NULL' failed.
 
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkCheckMenuItem'
 
Gtk-CRITICAL **: file gtkcheckmenuitem.c: line 143 (gtk_check_menu_item_set_active):
assertion `check_menu_item != NULL' failed.
 
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
 
Gtk-CRITICAL **: file gtksignal.c: line 1152 (gtk_signal_handler_unblock_by_data):
assertion `object != NULL' failed.
 
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
 
Gtk-CRITICAL **: file gtksignal.c: line 1067 (gtk_signal_handler_block_by_data):
assertion `object != NULL' failed.
 
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkCheckMenuItem'
 
Gtk-CRITICAL **: file gtkcheckmenuitem.c: line 143 (gtk_check_menu_item_set_active):
assertion `check_menu_item != NULL' failed.
 
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
 
Gtk-CRITICAL **: file gtksignal.c: line 1152 (gtk_signal_handler_unblock_by_data):
assertion `object != NULL' failed.
 
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
 
Gtk-CRITICAL **: file gtksignal.c: line 1067 (gtk_signal_handler_block_by_data):
assertion `object != NULL' failed.
 
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkCheckMenuItem'
 
Gtk-CRITICAL **: file gtkcheckmenuitem.c: line 143 (gtk_check_menu_item_set_active):
assertion `check_menu_item != NULL' failed.
 
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
 
Gtk-CRITICAL **: file gtksignal.c: line 1152 (gtk_signal_handler_unblock_by_data):
assertion `object != NULL' failed.
 
gtkhtml-ERROR **: gconf error: Failed to contact configuration server (a
likely cause of this is that you have an existing configuration server (gconfd)
running, but it isn't reachable from here - if you're logged in from two
machines at once, you may need to enable TCP networking for ORBit)
 
 
aborting...
Afgebroken (core dumped)
--------------------------------------------------------------------------------

All except the last error messages are dumped at the startup of gnucash.
The last one is shown when selecting the online-help from the main-window
of gnucash. I get simillar problems when asking for some graphs and some
reports.

Comment 3 Toon Verstraelen 2003-11-08 07:06:16 UTC
I forgot my 'emerge info':

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://ftp.belnet.be/mirrors/rsync.gentoo.org/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb jpeg kde libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml
alsa gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile mysql
X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt
motif opengl mozilla gphoto2 ldap cdr 3dnow atlas doc gtk2 icc ifc imap ipv6
mozsvg plotutils rage128 -gif"

There seem to exist some forum threads about this problem:

http://forums.gentoo.org/viewtopic.php?t=83968
http://forums.gentoo.org/viewtopic.php?t=94270
http://forums.gentoo.org/viewtopic.php?t=71130

All these threads conclude with the diagnose that there is a more general
problem with gconfd & gnucash under gnome 2.4. There is a bugreported posted
concerning this problem

http://bugs.gentoo.org/show_bug.cgi?id=28787
Comment 4 Martin Marshall 2003-12-03 22:53:10 UTC
Created attachment 21673 [details, diff]
Wrapper script for GnuCash

Just run this script and it should fix the problem with gconfd and let you run
GnuCash with no problem.

Doesn't it make sense to put this in portage and update the menu entries to
point to the script instead of the GnuCash binary?

I know it is a bit hackish, but at least that way when people emerge gnucash,
it will work, and they won't have to google around trying to figure out how to
fix the problem.
Comment 5 Steven Fox 2004-01-04 11:29:18 UTC
I found you can modify the /usr/bin/gnucash script using Martin's workaround for this issue as follows:

	#!/bin/sh
	PATH="/usr/libexec/gnucash/overrides:${PATH}"
	export PATH

	GUILE_WARN_DEPRECATED="no"
	export GUILE_WARN_DEPRECATED

	gconfd-1 & exec "gnucash" "$@"
	killall gconfd-1

This seems to solve the problem for now until they can fix the Gconf-1.0.9 issue.

(see the following discussion http://mail.gnome.org/archives/gconf-list/2003-April/msg00022.html for more details)
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-02-04 07:32:46 UTC
part of the same problem

*** This bug has been marked as a duplicate of 28787 ***