Subject: Re: [htdig3-dev] Segmentation fault in long run
From: loic@ceic.com
Date: Mon Feb 28 2000 - 23:23:09 PST
Geoff Hutchison writes:
> At 2:27 PM -0600 2/28/00, Gilles Detillieux wrote:
> >There's not a single _function_ listed in that backtrace that's in
> >ExternalParser.cc, so the external parser wasn't even being called
>
> Yeah, you're right--serves me right for skimming through a message *twice*.
>
> >-g, while the db package was not. I'm a bit unclear on the Db::put ()
>
> I think this may be in the C++ interface to the Berkeley code, but
> I'm not entirely sure.
Yes, DB::put is the C++ interface for put.
> Yes, this is a good point, we may want to put this in the FAQ on
> dev.htdig.org. I almost always recompile with --disable-shared when
> I'm debugging because it really complicates things.
That's a good idea. I do debugging with shared libraries using the following:
libtool gdb prog
set a breakpoint in main so that shared libraries are loaded.
set a breakpoint in the desired function (which is not possible when the
libraries are not loaded).
But if you compile with disable-shared you just use plain gdb and set the
breakpoint when you want.
Cheers,
-- Loic Dachary24 av Secretan 75019 Paris Tel: 33 1 42 45 09 16 e-mail: loic@dachary.org URL: http://www.senga.org/
------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Tue Feb 29 2000 - 00:27:32 PST