On Tue, 27 Jul 1999, Geoff Hutchison wrote:

> Date: Tue, 27 Jul 1999 15:00:06 -0400
> From: Geoff Hutchison <[EMAIL PROTECTED]>
> To: "Joe R. Jah" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [htdig] Memory fault (core dumped)
> 
> "Joe R. Jah" wrote:
> 
> > I haven't changed anything in the OS or gcc; I can't see any reason for
> > the memory fault.  I appreciate any pointers?
> 
> If you can run it through gdb and give a backtrace, this would be
> extremely helpful. I can't think of a place that htsearch could dump
> core, but information from the core would let us know where the
> offending code was.
_________________________________________________________________________
$ gdb htsearch.3.1.2
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-bsdi4.0), Copyright 1996 Free Software Foundation,
Inc...
(gdb)  run
Starting program: /www/httpd/cgi-bin/htsearch.3.1.2

Program received signal SIGSEGV, Segmentation fault.
0x80a4b98 in bzero ()
(gdb) bt
#0  0x80a4b98 in bzero ()
#1  0x80bc000 in ?? ()
#2  0x180dcf29 in Regex::Regex ()
#3  0x180dd138 in global constructors keyed to Regex::Regex ()
#4  0x180ee030 in __do_global_ctors_aux ()
#5  0x180c407c in _init ()
#6  0x80001cf8 in _dl_boot ()
#7  0x1 in ?? ()
#8  0x8047ab4 in ?? ()
Error accessing memory address 0x1: Cannot allocate memory.
(gdb) step
Single stepping until exit from function bzero,
which has no line number information.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) q
$
_________________________________________________________________________

> Also, did it just dump core from the command line or as a CGI or both?

Both.  As CGI I did not find any core, but I got the following message:

        Premature end of script headers

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.

Reply via email to