Stefan Waldherr (swa@cs.cmu.edu)
24 Feb 1998 10:20:50 -0500
>>>>> "And" == Andrew Scherpbier <andrew@contigo.com> writes:
And> Without compiling with debug turned on, the core file is not going to
And> be helpful. Recompile with '-g' and try again.
Hm, I installed the thingie thru .rpm and don't have the sources handy.
And> Also, try to find out which of the fuzzy algorithms is causing the
And> problem by trying them one at the time.
Maybe this helps:
( strace /usr/sbin/htfuzzy -v endings > loga ) > & logb
A tail logb shows
lseek(4, 22551, SEEK_SET) = 22551
read(4, "flemishingflemish", 17) = 17
lseek(4, 22551, SEEK_SET) = 22551
write(4, "flemishing", 10) = 10
write(4, "flemish", 7) = 7
lseek(4, 313344, SEEK_SET) = 313344
write(4, "\3\0\0\0\f\0\0\0\235v\2\0J\1\0\0"..., 1024) = 1024
lseek(4, 22568, SEEK_SET) = 22568
read(4, "flemishesflemish", 16) = 16
lseek(4, 22568, SEEK_SET) = 22568
write(4, "flemishes", 9) = 9
write(4, "flemish", 7) = 7
lseek(4, 322560, SEEK_SET) = 322560
write(4, "\2\0\0\0]\3\0\0\243l\2\0\0\4\0\0"..., 1024) = 1024
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
And running it under gdb yields
swa@mind:~> gdb /usr/sbin/htfuzzy
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 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
(no debugging symbols found)...
(gdb) set args endings
(gdb) run
Starting program: /usr/sbin/htfuzzy endings
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint
Program received signal SIGSEGV, Segmentation fault.
0x400a62ce in ?? () from /lib/libc.so.5.3.12
Yuck. What version of libc are you using?
cu
Stefan
--
Stefan Waldherr office +1 (412) 268-3837
fax +1 (412) 268-5576
e-Mail swa@cs.cmu.edu
www http://www.waldherr.org/
This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:42 PST