- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: pascal
Subject: Re: segfault on indexing

debian:/home/pascal/dpsearch-4.38-19022006# /usr/local/dp-test/sbin/indexer -T

  Internal memory debugger based on Electric Fence 2.2.0 Copyright (C) 
1987-1999 Bruce Perens
indexer[10285]: {00} indexer from dpsearch-4.38-19022006-mysql, config test OK 
with '/usr/local/dp-test/etc/indexer.conf'
Memory leaks checking
debian:/home/pascal/dpsearch-4.38-19022006# /usr/local/dp-test/sbin/indexer 

  Internal memory debugger based on Electric Fence 2.2.0 Copyright (C) 
1987-1999 Bruce Perens
idx: 1  List: 50e788  Conf.Servers: 50e760  sizeof(LIST):28
mservers: 0  List.Server: 0

MemDebug Aborting: Allocating 0 bytes, probably a bug at server.c:186.
Ungültiger Maschinenbefehl (core dumped)
debian:/home/pascal/dpsearch-4.38-19022006# gdb /usr/local/dp-test/sbin/indexer 
core
GNU gdb 6.3-debian
Copyright 2004 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 "x86_64-linux"...Using host libthread_db library 
"/lib/libthread_db.so.1".

Core was generated by `/usr/local/dp-test/sbin/indexer'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /usr/local/dp-test/lib/libdpsearch-4.so...done.
Loaded symbols for /usr/local/dp-test/lib/libdpsearch-4.so
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libmysqlclient.so.12...done.
Loaded symbols for /usr/lib/libmysqlclient.so.12
Reading symbols from /usr/local/dp-test/lib/libdpcharset-4.so...done.
Loaded symbols for /usr/local/dp-test/lib/libdpcharset-4.so
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x0000002a9600b979 in kill () from /lib/libc.so.6
(gdb) bt 
#0  0x0000002a9600b979 in kill () from /lib/libc.so.6
#1  0x0000002a956e0dd5 in do_abort () at ef_print.c:47
#2  0x0000002a956e111d in EF_Abort (pattern=0x282e <Address 0x282e out of 
bounds>)
    at ef_print.c:166
#3  0x0000002a956e0636 in _DpsMemalign (alignment=4, userSize=0, 
    filename=0x2a95709c78 "server.c", fileline=186) at efence.c:509
#4  0x0000002a956e092b in _DpsRealloc (oldBuffer=0x0, newSize=0, 
    filename=0x2a95709c78 "server.c", fileline=186) at efence.c:909
#5  0x0000002a956bac0d in DpsServerAdd (A=0x508120, srv=0x7fbfffddb0) at 
server.c:186
#6  0x0000002a9569dd08 in add_srv (Cfg=0x7fbffff630, ac=2, av=0x7fbfffcc60) at 
conf.c:286
#7  0x0000002a956a10da in DpsEnvAddLine (C=0x7fbffff630, 
    str=0x282e <Address 0x282e out of bounds>) at conf.c:1654
#8  0x0000002a956a1389 in EnvLoad (Cfg=0x7fbffff630, 
    cname=0x5072a0 "/usr/local/dp-test/etc/indexer.conf") at conf.c:1773
#9  0x0000002a956a1670 in DpsEnvLoad (Indexer=0x508120, 
    cname=0x5072a0 "/usr/local/dp-test/etc/indexer.conf", lflags=0) at 
conf.c:1832
#10 0x00000000004032a9 in DpsIndexerEnvLoad (Indexer=0x508120, 
    fname=0x5072a0 "/usr/local/dp-test/etc/indexer.conf", lflags=1) at 
main.c:562
#11 0x0000000000404c48 in main (argc=-1, argv=0x7fbffffc50) at main.c:1216  
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1137887033;page=3

Reply via email to