Hello,
I have a rather perplexing problem. From the unix command line, htsearch
seg faults on one system and runs fine on a nearly identical one.
Compiled using a prebuilt GCC 2.95.2 from sunfreeware.com (which includes
stdlibc++).
Both systems share /usr/local.
It appears to me that the problem is in the libio portion of libstdc++ but
how can this work on only one machine?
Any thoughts?
Thanks,
Jon.
Here are some particulars:
System 1: SunOS sys1 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10
%./htsearch
Enter value for words: ^C
________________________
System 2: SunOS sys2 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10
%./htsearch
Segmentation fault (core dumped)
%gdb ./htsearch core
Core was generated by `./htsearch'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/local/lib/libstdc++.so.2.10.0...done.
Reading symbols from /opt/SUNWspro/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
#0 0x242a9c in ?? ()
(gdb) bt
#0 0x242a9c in ?? ()
#1 0xff23a99c in _IO_getline_info (fp=0xffbee194, buf=0xffbe1e10 "",n=49999,
delim=10, extract_delim=-1, eof=0xffbe1d74)
at ../../../libio/iogetline.c:66
#2 0xff241304 in istream::getline (this=0xffbee1e0, buf=0xffbe1e10 "",
len=50000, delim=10 '\n') at ../../../libio/isgetline.cc:43
#3 0x32884 in Configuration::Read (this=0x9b274,
filename=0x9ee08 "/conf/htdig.conf")
at Configuration.cc:303
#4 0x27358 in main (ac=508048, av=0x9b274) at htsearch.cc:155
(gdb) q
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.