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

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

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


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

  Internal memory debugger based on Electric Fence 2.2.0 Copyright (C) 
1987-1999 Bruce Perens

MemDebug Aborting: Allocating 0 bytes, probably a bug at server.c:184.
Ungültiger Maschinenbefehl (core dumped)
debian:/home/pascal/dpsearch-4.38-15022006# 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  0x0000002a96009979 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x0000002a96009979 in kill () from /lib/libc.so.6
#1  0x0000002a956dfb15 in do_abort () at ef_print.c:47
#2  0x0000002a956dfe5d in EF_Abort (pattern=0x3402 <Address 0x3402 out of 
bounds>)
    at ef_print.c:166
#3  0x0000002a956df376 in _DpsMemalign (alignment=4, userSize=0, 
    filename=0x2a957089b8 "server.c", fileline=184) at efence.c:509
#4  0x0000002a95e337d6 in _DpsXmalloc (size=0, filename=0x4 <Address 0x4 out of 
bounds>, 
    fileline=1) at xmalloc.c:34
#5  0x0000002a95e33827 in _DpsXrealloc (ptr=0x3402, 
newsize=18374403900871474943, 
    filename=0x0, fileline=18446744073709551615) at xmalloc.c:44
#6  0x0000002a956b995d in DpsServerAdd (A=0x5080e0, srv=0x7fbfffddb0) at 
server.c:184
#7  0x0000002a9569dc3e in add_srv (Cfg=0x7fbffff630, ac=2, av=0x7fbfffcc60) at 
conf.c:286
#8  0x0000002a956a101a in DpsEnvAddLine (C=0x7fbffff630, 
    str=0x3402 <Address 0x3402 out of bounds>) at conf.c:1656
#9  0x0000002a956a12c9 in EnvLoad (Cfg=0x7fbffff630, 
    cname=0x507260 "/usr/local/dp-test/etc/indexer.conf") at conf.c:1775
#10 0x0000002a956a15b0 in DpsEnvLoad (Indexer=0x5080e0, 
    cname=0x507260 "/usr/local/dp-test/etc/indexer.conf", lflags=0) at 
conf.c:1834
#11 0x00000000004032a9 in DpsIndexerEnvLoad (Indexer=0x5080e0, 
    fname=0x507260 "/usr/local/dp-test/etc/indexer.conf", lflags=1) at 
main.c:562
#12 0x00000000
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

Reply via email to