Gnucash often just "hangs" -> kill

Marc Schiffbauer marc at schiffbauer.net
Thu Nov 4 12:06:50 EST 2004


Hi all,

I am having a weired problem with gnucash...

Very often it just "hangs" and does not respond anymore or 
refresh its window content if I call some the the help funtions
(from help menu)

Only option then is to kill the gnucash window :-(

like that

schiffi at homer:~$ gnucash
(Now Help->Help ... -> and freeze ... -> kill)
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown).
schiffi at homer:~$

Does anybody have any hint on howto track down the source of the
problerm?

calling "gnucash --debug" or "strace -ff gnucash" does not really
help:

schiffi at homer:~$ gnucash --debug
gnucash: [D] "files to open: "()
gnucash: [D] "starting up (2)."
gnucash: [D] "gnc:find-file looking for ""finance-quote-check"" in "("/usr/share/gnucash")
gnucash: [D] "  checking for ""/usr/share/gnucash/finance-quote-check"
gnucash: [D] "found file ""/usr/share/gnucash/finance-quote-check"
gnucash: [D] "gnc:find-file looking for ""finance-quote-helper"" in "("/usr/share/gnucash")
gnucash: [D] "  checking for ""/usr/share/gnucash/finance-quote-helper"
gnucash: [D] "found file ""/usr/share/gnucash/finance-quote-helper"
gnucash: [D] "loading system configuration"
gnucash: [D] "gnc:find-file looking for ""config"" in "("/etc/gnucash")
gnucash: [D] "  checking for ""/etc/gnucash/config"
gnucash: [D] "found file ""/etc/gnucash/config"
gnucash: [D] "loading user configuration"
gnucash: [D] "Running functions on hook "report-hook #<procedure business-report-function ()>
gnucash: [D] "Running functions on hook "startup-hook #<procedure #f ()>
gnucash: [D] "Running functions on hook "ui-startup-hook #<procedure gnc:extensions-menu-setup ()>
gnucash: [D] "Running functions on hook "add-extension-hook
  #<procedure add-business-test ()>
  #<procedure add-ofx-menu-item ()>
  #<procedure add-log-replay-menu-item ()>
  #<procedure add-hbci-menu-items ()>
  #<procedure add-business-items ()>
  #<procedure gnc:main-window-ui-startup-handler ()>
  #<procedure gnc:tip-of-the-day-startup-func ()>
gnucash: [D] "Running functions on hook "book-closed-hook
  #<procedure gnc:main-window-book-close-handler (session)>
gnucash: [D] "Running functions on hook "book-opened-hook
  #<procedure import-commodities (session)>
  #<procedure gnc:main-window-book-open-handler (session)>
  #<procedure #f (session)>
gnucash: [D] "Running functions on hook "ui-post-startup-hook
  #<procedure business-ui-started ()>
gnucash: [D] "gnc:find-file looking for ""help-search-index.db"" in
"("/home/schiffi/.gnucash/html/de_DE at euro"
"/home/schiffi/.gnucash/html/de_DE" "/home/schiffi/.gnucash/html/de"
"/home/schiffi/.gnucash/html/C")
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/de_DE at euro/help-search-index.db"
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/de_DE/help-search-index.db"
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/de/help-search-index.db"
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/C/help-search-index.db"
gnucash: [D] "gnc:find-file looking for ""help-search-index.db"" in "("/home/schiffi/.gnucash/html")
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/help-search-index.db"
gnucash: [D] "gnc:find-file looking for ""help-search-index.db"" in
"("/usr/share/gnome/help/gnucash/de_DE at euro"
"/usr/share/gnome/help/gnucash/de_DE"
"/usr/share/gnome/help/gnucash/de"
"/usr/share/gnome/help/gnucash/C")
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/de_DE at euro/help-search-index.db"
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/de_DE/help-search-index.db"
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/de/help-search-index.db"
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/C/help-search-index.db"
gnucash: [D] "found file ""/usr/share/gnome/help/gnucash/C/help-search-index.db"
gnucash: [D] "gnc:find-file looking for ""gnucash-guide/index.html"" in "("/home/schiffi/.gnucash/html/de_DE at euro"
"/home/schiffi/.gnucash/html/de_DE" "/home/schiffi/.gnucash/html/de"
"/home/schiffi/.gnucash/html/C")
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/de_DE at euro/gnucash-guide/index.html"
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/de_DE/gnucash-guide/index.html"
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/de/gnucash-guide/index.html"
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/C/gnucash-guide/index.html"
gnucash: [D] "gnc:find-file looking for ""gnucash-guide/index.html"" in "("/home/schiffi/.gnucash/html")
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/gnucash-guide/index.html"
gnucash: [D] "gnc:find-file looking for ""gnucash-guide/index.html""
in "("/usr/share/gnome/help/gnucash/de_DE at euro"
"/usr/share/gnome/help/gnucash/de_DE"
"/usr/share/gnome/help/gnucash/de"
"/usr/share/gnome/help/gnucash/C")
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/de_DE at euro/gnucash-guide/index.html"
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/de_DE/gnucash-guide/index.html"
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/de/gnucash-guide/index.html"
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/C/gnucash-guide/index.html"
gnucash: [D] "found file ""/usr/share/gnome/help/gnucash/C/gnucash-guide/index.html"
gnucash: [D] "gnc:find-file looking for
""gnucash-guide/stylesheet/gnucash-icon.png"" in
"("/home/schiffi/.gnucash/html/de_DE at euro"
"/home/schiffi/.gnucash/html/de_DE" "/home/schiffi/.gnucash/html/de"
"/home/schiffi/.gnucash/html/C")
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/de_DE at euro/gnucash-guide/stylesheet/gnucash-icon.png"
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/de_DE/gnucash-guide/stylesheet/gnucash-icon.png"
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/de/gnucash-guide/stylesheet/gnucash-icon.png"
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/C/gnucash-guide/stylesheet/gnucash-icon.png"
gnucash: [D] "gnc:find-file looking for
""gnucash-guide/stylesheet/gnucash-icon.png"" in
"("/home/schiffi/.gnucash/html")
gnucash: [D] "  checking for ""/home/schiffi/.gnucash/html/gnucash-guide/stylesheet/gnucash-icon.png"
gnucash: [D] "gnc:find-file looking for
""gnucash-guide/stylesheet/gnucash-icon.png"" in
"("/usr/share/gnome/help/gnucash/de_DE at euro"
"/usr/share/gnome/help/gnucash/de_DE"
"/usr/share/gnome/help/gnucash/de"
"/usr/share/gnome/help/gnucash/C")
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/de_DE at euro/gnucash-guide/stylesheet/gnucash-icon.png"
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/de_DE/gnucash-guide/stylesheet/gnucash-icon.png"
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/de/gnucash-guide/stylesheet/gnucash-icon.png"
gnucash: [D] "  checking for ""/usr/share/gnome/help/gnucash/C/gnucash-guide/stylesheet/gnucash-icon.png"
gnucash: [D] "found file ""/usr/share/gnome/help/gnucash/C/gnucash-guide/stylesheet/gnucash-icon.png"
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown).
schiffi at homer:~$                      




schiffi at homer:~$ strace -ff gnucash
[...]
read(5, "\6\0?F@\374\200\0{\0\0\0006\5\0\1\0\0\0\0\254\2\'\3K\1"..., 32) = 32
read(5, 0xbfffc2c0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(6, [5], NULL, NULL, NULL)
[...]

Those three line do appear very often (when i move the mouse pointer
over the frozen gnucash window.

any hints?

Gruss
-Marc
-- 
+------------------------------------------------------------------+
|              --> http://www.links2linux.de <--                   |
|                                                                  |
+---Registered-Linux-User-#136487------------http://counter.li.org +


More information about the gnucash-devel mailing list