I installed htdig on Fedora Core 6 running Apache 2.2.3



When I do a search on the webpage I get:



<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>500 Internal Server Error</title>

</head><body>

<h1>Internal Server Error</h1>

<p>The server encountered an internal error or

misconfiguration and was unable to complete

your request.</p>

<p>Please contact the server administrator,

[EMAIL PROTECTED] and inform them of the time the error occurred,

and anything you might have done that may have

caused the error.</p>

<p>More information about this error may be available

in the server error log.</p>

</body></html>





I tailed the httpd error log and saw:



[Fri Feb 23 12:22:44 2007] [error] [client ***.**.***.**] Premature end 
of script headers: htsearch, referer: http://***.**.***.***/search/



Then I tried to run 'htsearch -vvv' from the command line and got :

Segmentation fault (core dumped)



when I did gdb on this and a backtrace I got:



GNU gdb Red Hat Linux (6.5-15.fc6rh)

Copyright (C) 2006 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 "i386-redhat-linux-gnu"...

(no debugging symbols found)

Using host libthread_db library "/lib/libthread_db.so.1".





warning: Can't read pathname for load map: Input/output error.

Reading symbols from /usr/lib/htdig/libfuzzy-3.2.0.so...(no debugging 
symbols found)...done.

Loaded symbols for /usr/lib/htdig/libfuzzy-3.2.0.so

Reading symbols from /usr/lib/htdig/libhtnet-3.2.0.so...(no debugging 
symbols found)...done.

Loaded symbols for /usr/lib/htdig/libhtnet-3.2.0.so

Reading symbols from /usr/lib/htdig/libcommon-3.2.0.so...

(no debugging symbols found)...done.

Loaded symbols for /usr/lib/htdig/libcommon-3.2.0.so

Reading symbols from /usr/lib/htdig/libhtword-3.2.0.so...(no debugging 
symbols found)...done.

Loaded symbols for /usr/lib/htdig/libhtword-3.2.0.so

Reading symbols from /usr/lib/htdig_db/libhtdb-3.2.0.so...

(no debugging symbols found)...done.

Loaded symbols for /usr/lib/htdig_db/libhtdb-3.2.0.so

Reading symbols from /usr/lib/htdig/libht-3.2.0.so...(no debugging 
symbols found)...done.

Loaded symbols for /usr/lib/htdig/libht-3.2.0.so

Reading symbols from /usr/lib/libz.so.1...

(no debugging symbols found)...done.

Loaded symbols for /usr/lib/libz.so.1

Reading symbols from /lib/libssl.so.6...(no debugging symbols 
found)...done.

Loaded symbols for /lib/libssl.so.6

Reading symbols from /lib/libcrypto.so.6...

(no debugging symbols found)...done.

Loaded symbols for /lib/libcrypto.so.6

Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols 
found)...done.

Loaded symbols for /usr/lib/libstdc++.so.6

Reading symbols from /lib/libm.so.6...

(no debugging symbols found)...done.

Loaded symbols for /lib/libm.so.6

Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols 
found)...done.

Loaded symbols for /lib/libgcc_s.so.1

Reading symbols from /lib/libc.so.6...

(no debugging symbols found)...done.

Loaded symbols for /lib/libc.so.6

Reading symbols from /lib/libpthread.so.0...(no debugging symbols 
found)...done.Loaded symbols for /lib/libpthread.so.0

Reading symbols from /usr/lib/libgssapi_krb5.so.2...

(no debugging symbols found)...done.

Loaded symbols for /usr/lib/libgssapi_krb5.so.2

Reading symbols from /usr/lib/libkrb5.so.3...(no debugging symbols 
found)...done.

Loaded symbols for /usr/lib/libkrb5.so.3

Reading symbols from /lib/libcom_err.so.2...

(no debugging symbols found)...done.

Loaded symbols for /lib/libcom_err.so.2

Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols 
found)...done.

Loaded symbols for /usr/lib/libk5crypto.so.3

Reading symbols from /lib/libresolv.so.2...

(no debugging symbols found)...done.

Loaded symbols for /lib/libresolv.so.2

Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.

Loaded symbols for /lib/libdl.so.2

Reading symbols from /lib/ld-linux.so.2...

(no debugging symbols found)...done.

Loaded symbols for /lib/ld-linux.so.2

Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging 
symbols found)...done.

Loaded symbols for /usr/lib/libkrb5support.so.0

Failed to read a valid object file image from memory.



Core was generated by `htsearch -vvvv'.

Program terminated with signal 11, Segmentation fault.

#0  0x4a8212b1 in Fuzzy::~Fuzzy$base () from 
/usr/lib/htdig/libfuzzy-3.2.0.so

(gdb) bt

#0  0x4a8212b1 in Fuzzy::~Fuzzy$base () from 
/usr/lib/htdig/libfuzzy-3.2.0.so

#1  0x4a8210ed in Exact::~Exact$delete () from 
/usr/lib/htdig/libfuzzy-3.2.0.so

#2  0x4a7fd0d4 in List::Destroy () from /usr/lib/htdig/libht-3.2.0.so

#3  0x4a7fd25d in List::~List () from /usr/lib/htdig/libht-3.2.0.so

#4  0x080590bb in QuotedStringList::~QuotedStringList$delete ()

#5  0x08059b63 in QuotedStringList::~QuotedStringList$delete ()

#6  0x4b136f2c in __libc_start_main () from /lib/libc.so.6

#7  0x0804b671 in __cxa_pure_virtual ()



I have no idea where to go with this. I am not a very advanced 
troubleshooter when it comes to core dumps.  Any help would be great!!



-Justin




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ht://Dig general mailing list: <htdig-general@lists.sourceforge.net>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to