System SunOS ligetti.cc.ic.ac.uk 5.7 Generic_106541-08 sun4u sparc
SUNW,Ultra-5_10
Compiler gcc version 2.95.1 19990816 (release)
Snapshot htdig-3.2.0b1-dev-010900
During execution I get an arithmetic exception
Have I got something funny in my configuration file?
ligetti$ 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 "sparc-sun-solaris2.7"...
(gdb) run -vvvvv
Starting program: /home/ppp/htdig-test/bin/htdig -vvvvv
ht://dig Start Time: Mon Jan 10 12:25:18 2000
Program received signal SIGFPE, Arithmetic exception.
0xff0b877c in .urem () from /usr/lib/libc.so.1
(gdb) where
#0 0xff0b877c in .urem () from /usr/lib/libc.so.1
#1 0xff1754e0 in Dictionary::Add (this=0xc2754, name=@0xffbee628,
obj=0xc3d10) at Dictionary.cc:192
#2 0xff173dd8 in Configuration::Add (this=0xc2750, name=@0xffbee628,
value=@0xffbee5e8) at Configuration.cc:180
#3 0xff174a70 in Configuration::Defaults (this=0xc2750, array=0xc1730) at
Configuration.cc:360
#4 0x3b860 in main (ac=2, av=0xffbefaa4) at htdig.cc:122
(gdb) up
#1 0xff1754e0 in Dictionary::Add (this=0xc2754, name=@0xffbee628,
obj=0xc3d10) at Dictionary.cc:192
192 int index = hash % tableLength;
(gdb) print name
$1 = (String &) @0xffbee628: {<Object> = {_vptr. = 0xc2820}, Length = 22,
Allocated = 23, Data = 0xc3cf0 "add_anchors_to_excerpt"}
(gdb) print hash
$2 = 905117887
(gdb) print index
$3 = 0
(gdb)
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.