Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   Crashes when editing entries, posted by T. Ribbrock on Wed Jul 22 12:12:37 2009 
    icon2.gif   Re: Crashes when editing entries, posted by T. Ribbrock on Wed Jul 22 12:15:56 2009 
    icon2.gif   Re: Crashes when editing entries, posted by Stefan Ritt on Wed Jul 22 12:46:36 2009 
       icon2.gif   Re: Crashes when editing entries, posted by T. Ribbrock on Wed Jul 22 15:35:57 2009 
          icon2.gif   Re: Crashes when editing entries, posted by Stefan Ritt on Wed Jul 22 16:30:48 2009 
             icon2.gif   Re: Crashes when editing entries, posted by T. Ribbrock on Wed Jul 22 16:52:13 2009 
                icon14.gif   Re: Crashes when editing entries, posted by T. Ribbrock on Wed Jul 29 14:48:34 2009 
Message ID: 66455     Entry time: Wed Jul 22 12:12:37 2009     Reply to this: 66456   66457
Icon: Warning  Author: T. Ribbrock  Author Email: emgaron+elog@ribbrock.org 
Category: Bug report  OS: Linux  ELOG Version: 2.7.6r2233 
Subject: Crashes when editing entries 

For some odd reasons, we are experiencing frequent crashes of elogd over the past few days. It has been working fine so far, but more or less out of the blue it became rather unreliable. The current configuration is installed on two servers, one running 2.7.5.-r2174 on ClarkConnect 4 and one running 2.7.6-r2233 on Debian 4.0 - both show the same problem. Each of them has an "active" group with four logbooks and an "archive" group with three logbooks. In the "active" group, there are two logbooks that share the same index (using Subdir=...) and it looks like the crashes occur most of the time in these, though that's just a hunch so far. Also, most of the crashes seem to happen when submitting an entry that has been edited. Actually, submitting a modified entry has always been strange in our logbooks: When we hit submit, we get a pop-up window asking "Submit modified entry?". When choosing "OK", the entry that has been edited is duplicated. When choosing "Cancel", it is submitted correctly.

I've been running elogd like this (to get more info)

elogd -v > elog-2233-2.log 2>&1

The last entry I get in the log when elogd crashes is:

  Same index as logbook Machine Log
elogd: src/elogd.c:727: xfree: Assertion `*((unsigned int *) (temp - 4)) == 0xdeadc0de' failed.
Received unknown cookie "wikidb_mw__session"
Received unknown cookie "wikidb_mw__session"

I did actually make a few changes to the configuration before we noticed the crashes: I added one extra attribute and a few more conditionals.

 

Any additional information you need: Just let me know.

Regards,

Thomas

ELOG V3.1.5-fe60aaf