Maxime2 / dataparksearch

An open source, feature rich search engine.
http://www.dataparksearch.org/
GNU General Public License v2.0
95 stars 45 forks source link

indexer fails due to "Floating point exception (core dumped)" #12

Open krichter722 opened 8 years ago

krichter722 commented 8 years ago

gdb backtrace:

(gdb) set args -W
(gdb) run
Starting program: /usr/local/dpsearch/sbin/indexer -W
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGFPE, Arithmetic exception.
0x00007ffff7985efb in DpsURLAction (A=A@entry=0x638160 <Main>, D=D@entry=0x7fffffff8090, cmd=cmd@entry=2) at db.c:858
858           dbfrom = dbto = D->id % A->Conf->dbl.nitems;
(gdb) bt
#0  0x00007ffff7985efb in DpsURLAction (A=A@entry=0x638160 <Main>, D=D@entry=0x7fffffff8090, cmd=cmd@entry=2) at db.c:858
#1  0x00007ffff791a70e in DpsStoreHrefs (Indexer=Indexer@entry=0x638160 <Main>) at indexer.c:444
#2  0x00007ffff795333f in DpsEnvLoad (Indexer=Indexer@entry=0x638160 <Main>, cname=cname@entry=0x644660 <cname> "/usr/local/dpsearch/etc/indexer.conf", lflags=<optimized out>)
    at conf.c:2387
#3  0x00007ffff7920bb7 in DpsIndexerEnvLoad (Indexer=Indexer@entry=0x638160 <Main>, fname=fname@entry=0x644660 <cname> "/usr/local/dpsearch/etc/indexer.conf", lflags=<optimized out>)
    at indexer.c:2896
#4  0x000000000040307c in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at main.c:1503
(gdb)

I put

Server http://www.spiegel.de/

into /usr/local/dpsearch/etc/indexer.conf.

experienced with 9257ced