HBCI abort

Derek Atkins warlord@MIT.EDU
28 Nov 2002 11:37:23 -0500


Christian Stimming <stimming@tuhh.de> writes:

> Derek Atkins wrote:
> 
> > once you've got gnucash up and running, in particular when you've got
> > a crash screen, you can:
> > --> ps aux | grep gnucash
> > [prints stuff, including the "guile ... gnucash" process ]
> > --> gdb
> > [stuff]
> > gdb> attach <pid>       <-- <pid> is the ProcessID of the guile..gnucash process
> > [gdb spews a lot]
> > gdb> backtrace
> > [gdb spews a backtrace]
> 
> Does this also work for a failed g_assert assertion? Since that's what
> Eildert is talking about. IIRC you don't get a crash screen there, the
> program simply terminates.

Erm, umm, it might not..  But in that case, all you need to do is
start the gdb process _before_ it crashes, and instead of using
"backtrace" you use "continue".  Then when the g_assert hits you'll
get dropped into the gdb prompt and can hit the backtrace.

> Anyway, I'll have a look at that tonight (i.e. 2 or 6 hours from now).

-derek

> Christian

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