gnucash won't open

Harold hh6199 at yahoo.com
Fri Oct 30 13:17:59 EDT 2009


Took this from the stack trace link.

Starting GnuCash under gdb 
Sometimes GnuCash might crash too early in the startup sequence such
that you cannot attach gdb to the running process. In that case you can
run gnucash under gdb. This is much easier as of GnuCash 2.0. To run
GnuCash under gdb from the beginning: 
	1. run "gnucash-env gdb gnucash-bin" 
	2. at the gdb prompt, type: "run". Also add your parameters here, like "run --nofile" 
	3. Provoke the crash; type "backtrace" or shorthand "bt" at the
gdb prompt to obtain the backtrace ("bt full" might provide additional
info about local variables). 
 Typed in the line 'gnucash-env gdb gnucash-bin' and got this for output "gnucash-env gdb gnucash-bin
/usr/lib/gnucash/overrides/gnucash-env: line 26: exec: gdb: not found"

I have no idea what the output means. I mostly use the gui and the command line only when I have to.

Harold





________________________________
From: Derek Atkins <warlord at MIT.EDU>
To: houndhen <hh6199 at yahoo.com>
Cc: gnucash-user at gnucash.org
Sent: Fri, October 30, 2009 11:44:39 AM
Subject: Re: gnucash won't open

Quoting houndhen <hh6199 at yahoo.com>:

> 
> Did a search but didn't see anything that solved my problem.
> 
> I got the message about it could not get a lock on the database and I told
> it to open anyway and that didn't help. Then I went to my home page where
> the database is kept and deleted the LCK and LNK files that are zero bites.
> Now it acts like it is going to open but it doesn't. I can see the activity
> in the bar at the bottom before it opens but then it goes away. Now it is
> back to not gettting a lock on the file. I clicked on "open anyway" but
> nothing happens. I just tried to open it from the console and after clicking
> on "open anyway" I get the message 'Segmentation fault'.
> 
> I am running Mepis 8 and Gnucash 2.2.6-2 version. I was just using it last
> night with no problems. How do I get it to open?

A SEGV means the app is crashing.  Run it under GDB and get a Stack Trace.
See http://wiki.gnucash.org/wiki/Stack_Trace

> Thanks
> Harold

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-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
      warlord at MIT.EDU                        PGP key available


      


More information about the gnucash-user mailing list