Scotty Seg V in kvm_open

Michael Askew (mta@fmrco.com)
Tue, 6 Feb 96 13:25:24 EST

Hello,

Has anybody seen this before?

>
> Core file is from "scotty".
> Program terminated with signal 11, Segmentation fault.
> (gdb) where
> #0 kvm_setproc ()
> #1 getProcStatus (...) (...) (0x31c28)
> #2 snmp_get_procinfo (...) (...) (0x30618)
> #3 Tcl_Eval (...) (...) (0x69e2c)
> #4 InterpProc (...) (...) (0x7b694)
> #5 Tcl_Eval (...) (...) (0x69e2c)
> #6 Tcl_GlobalEval (...) (...) (0x6a614)
> #7 Schedule (...) (...) (0xf22c)
> #8 ScheduleProc (...) (...) (0xeee4)
> #9 Tk_DoOneEvent (...) (...) (0x39004)
> #10 EventLoop (...) (...) (0x22ac)
> #11 main (...) (...) (0x2bfc)
> (gdb) up
> Reading symbols from snmpAgent.c... and snmpTcl.c... and ./init.c... and scotty.c... and http.c... and clock.c...done.
> #1 getProcStatus (interp=(struct Tcl_Interp *) 0x404960, callback=(char *) 0xf7fff04a "procinfo_callback") (snmpAgent.c:812)
> 812 "na.daemon");
> (gdb) list
> 807 char** orgArg;
> 808 char** orgEnv;
> 809 char cmd[512];
> 810
> 811 kd = kvm_open((char *) NULL, (char *) NULL, (char *) NULL, O_RDONLY,
> 812 "na.daemon");
> 813
> 814 retval = kvm_setproc(kd);
> 815
> 816 while( (procp = kvm_nextproc(kd)) ){
> (gdb) p kd
> $1 = (struct _kvmd *) 0x0
>
>
>

<mta@fmrco.com>

===========================
Michael T. Askew
Director
Equity Trading Technology
FMR Corp.
82 Devonshire St F4C
Boston MA 02109-3614
Tel: (617) 563-7986
Fax: (617) 476-3131
===========================