At 05:54 PM 3/27/2001 -0600, Gilles Detillieux wrote:
>According to Patrick:
> > Hi all -- I'm having problems with v3.2.0b3.  Compiles just fine, but
> > and I can even do an htdig -h (and get the help) but as soon as htdig
> > tries to crawl, or if I run it with no parameters (just './htdig')
> > it segfaults.
> >
> > Surely, one of you fellow professionals will see my gdb output and
> > say, "You big dummy, you can fix that by doing this..." (crossing
> > fingers)
> >
> > Here's the info:
> >
> > Linux ponybox 2.2.18 #1 SMP Thu Dec 21 20:19:55 EST 2000 i686 unknown
> >
> > Reading specs from 
> /usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/2.95.2/specs
> > gcc version 2.95.2 19991024 (release)
> >
> > Slackware
>
>I find it rather astounding that Slackware is still using gnulibc1 (libc5),
>when most are using glibc 2.1 or 2.2 now.  Just a hunch, but maybe htdig's
>shared library support fails on libc5.  You may want to try --disable-shared
>on your ./configure command.

Astounding, indeed; however, even with --disable-shared it failed to work.
It compiled without errors or noticeable warnings, which is odd.  =

I went to another computer on the LAN and tried to compile the 3.2.0b4
snapshot from March 18 and also had it seg fault.  Chose this one per
Geoff's advice.  gdb said something different though:

tubit:/home/patrick/bin# ./htdig
Segmentation fault
tubit:/home/patrick/bin# gdb htdig
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /home/patrick/bin/htdig
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

Program received signal SIGSEGV, Segmentation fault.
0x808e11f in HtRegex::set (this=0x0, str=0x8152ce0 
"http:/www\\.htdig\\.org/", case_sensitive=0) at HtRegex.cc:48
48              compiled = 0;
(gdb)


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to