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

Attempt to free invalid pointer #14

Open cipy opened 6 years ago

cipy commented 6 years ago

compiled with: ./configure --enable-googlegrp --enable-pophops --enable-reltrack --enable-boehmgc --enable-idn --with-debug --with-optimise --with-openssl --with-aspell --with-readline --with-mysql

ran with: ./sbin/indexer -o -r -b -q -U -v 5

output:

GC Warning: Repeated allocation of very large block (appr. size 5578752):
    May lead to memory leak and poor performance.
Wed 07 21:48:15 [28969] Can't create '/usr/local/dpsearch/var/indexer.pid' - (17) File exists
Wed 07 21:48:15 [28969] Process 28883
 seems to be dead. Flushing '/usr/local/dpsearch/var/indexer.pid' - (3) No such process
indexer[28969]: {00} DpsOpenCache:
indexer[28969]: {00} i:0  cached_sd:0  sin_port:0
GC Warning: Repeated allocation of very large block (appr. size 144732160):
    May lead to memory leak and poor performance.
indexer[28969]: {00} wrd_buf: 127ce020
indexer[28969]: {00} Done.
indexer[28969]: {00} indexer from dpsearch-4.54-2017-09-05-mysql started with '/usr/local/dpsearch/etc/indexer.conf'
indexer[28969]: {00} Chinese dictionary with 0 entries
indexer[28969]: {00} Korean dictionary with 0 entries
indexer[28969]: {00} Thai dictionary with 0 entries
indexer[28969]: {00} LogsOnly: no
indexer[28969]: {00} mutexes used: 4105
indexer[28969]: {00} The following sections are defined
indexer[28969]: {00} Sections.body [1,256:00]: <NULL>
indexer[28969]: {00} Sections.Charset [12,32:00]: <NULL>
indexer[28969]: {00} Sections.Content-Language [14,16:00]: <NULL>
indexer[28969]: {00} Sections.Content-Type [13,64:00]: <NULL>
indexer[28969]: {00} Sections.crosswords [11,0:00]: <NULL>
indexer[28969]: {00} Sections.meta.description [4,128:00]: <NULL>
indexer[28969]: {00} Sections.meta.keywords [3,128:00]: <NULL>
indexer[28969]: {00} Sections.title [2,128:00]: <NULL>
indexer[28969]: {00} Sections.url [6,0:01]: <NULL>
indexer[28969]: {00} URL: http://www.tria-alfa.ro
indexer[28969]: {00} Server Allow 'www.surse.ro'
indexer[28969]: {00} Allow by default
indexer[28969]: {00} IDN: www.tria-alfa.ro [ISO-8859-1] -> www.tria-alfa.ro
Attempt to free invalid pointer 0x1b71ba0
Invalid pointer passed to free()
cipy commented 6 years ago

Hmm,

building with: ./configure --enable-googlegrp --enable-pophops --enable-reltrack --enable-idn --with-optimise --with-openssl --with-aspell --with-readline --with-mysql

creates a healthy indexer so far 👍