[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Possible bug? (again)

> On Mon, 17 Jul 2000, Randy Kunkee wrote:
> > What's your operating system again?  Opening a ticket on this sounds
> > appropriate to me.  Do you have a debugger available?  Last I recall
> > you were talking about using truss to view the system calls.  With
> > a debugger you can attach to the process running in the background,
> > set a breakpoint on the time() call and then back yourself up the
> > stack until you get to some OpenLDAP slapd code.  You ought to be
> > able to do a "where" from there.
> > 
> > With gdb, it would be "gdb /usr/local/libexec/slapd pid"
> > where pid is the process id # of slapd.
> I'm on Solaris 7 SPARC...
> I'll see what I can get out of adb and post back before opening a ticket.
> Thanks!
> `-
> William Yodlowsky
> <wyodlows@nj.devry.edu>

Well, you got guts, I gotta hand it to anyone that would go after program
with adb.  Unless adb has been dramatically enhanced in the last 12 years
since I seriously used it, you really need to download a gdb package from
some sunsite mirror and use it.  I also doubt that adb and connect to a
process in the background, though I realize you could run slapd from adb
(shivers).  No, try ftp'ing to something like sunsite.unc.edu and see if
you can find a pre-built package there with gdb for Solaris 7 and install
it and use that.