Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   elogd dies upon search, posted by Christian Ludwig on Fri Jun 3 08:16:31 2016 
    icon7.gif   solved: elogd dies upon search, posted by Christian Ludwig on Fri Jun 3 08:59:49 2016 
Message ID: 68325     Entry time: Fri Jun 3 08:59:49 2016     In reply to: 68324
Icon: Smile  Author: Christian Ludwig  Author Email: christiane_christian@mylife.lu 
Category: Bug report  OS: Linux  ELOG Version: ELOG V3.0.0-21d 
Subject: solved: elogd dies upon search 

I would like to share my findings about the solution of our problem:

One of my collegues used elog in a way it was not intended for, he put an endry with 8021 lines of text.

So I grabbed the corresponding 160517a.log file from logdir, renamed it to a text file and created a new entry with the large textfile as attachment.

Since then, no more crash of elogs.

 

May this contribution be useful to other elog users...

Christian

 

Christian Ludwig wrote:

Hi all,

ELOG V3.0.0-21dc563

Our elogd dies alwways when searching for full text:

elogd: src/elogd.c:465: xrealloc: Assertion `*((unsigned int *) (temp + old_size)) == 0xdeadc0de' failed.
elogd: src/elogd.c:465: xrealloc: Assertion `*((unsigned int *) (temp + old_size)) == 0xdeadc0de' failed.

The only change we did was adding/editing entries.

 

Does anyone else encounter the same issue ?

I did not find any hint in release notes that this issue would be fixed in a later version

 

Please don't get me wrong, I am not complaining. Elog does a great job for us since years.

 

Christian

 

ELOG V3.1.5-fe60aaf