> -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Lorenzo M. Catucci > Sent: Friday, January 16, 2009 4:23 PM > To: rsyslog-users > Subject: Re: [rsyslog] rsyslog still crashes > > On Fri, 16 Jan 2009, Rainer Gerhards wrote: > > RG> Lorenzo, > RG> > RG> I have created a new branch "raceDebug" and done a first commit to > it. > RG> The change is very lightweight. Please pull, compile as usual and > give > RG> it a try. It spits out some info to stdout from time to time > RG> (hopefully). I am not sure if it aborts, depending on the output it > RG> may or may not. Even if we get messages, they are probably not > enough > RG> to pinpoint the bug, but I wanted to do something very light to see > if > RG> the bug stays. > RG> > RG> Feedback appreciated. > RG> > > Rainer, I've just checked-out the branch; I've run configure with the > following command line: > > ./configure --prefix=/usr --enable-mysql --enable-pgsql --enable-mail > --enable-imfile --enable-debug --enable-rtinst --enable-valgrind > --no-create --no-recursion > > From "git diff -r HEAD^ HEAD" I've seen an #if 0 section in the > commit. > Let me know if you'd prefer if I change it to #if 1.
Mmmhh... you can use debug. Yes, please then change it to 1. > > I've just started rsyslogd with rsyslogd -c4 -n on a screen session, > with > the same configuration files I'm using since september. > > Since both the "rsyslogd -c4 -n" and the later "rsyslogd -c4 -d" > invocation crashed very quickly, I've restarted it once more with > stdout > redirected to a a logfile, and now it's running. Will let you know if > it > crashes once more. That sounds good. Do you happen to have the output from those crashes? Anyway, I will be interested in what it now comes up with. As a side-note, I have introduced another race by calling the library functions. There is always some good and bad. The regular debugging system prevents this problem by protecting the writes with mutexes. That, however, affects the timing and thus we do not see the real issue. So what I have done is bad, but may be useful. I forgot to mention that with my last post... Rainer > > Yours, > > lorenzo > > > +-------------------------+-------------------------------------------- > --+ > | Lorenzo M. Catucci | Centro di Calcolo e Documentazione > | > | [email protected] | Università degli Studi di Roma "Tor > Vergata" | > | | Via O. Raimondo 18 ** I-00173 ROMA ** > ITALY | > | Tel. +39 06 7259 2255 | Fax. +39 06 7259 2125 > | > +-------------------------+-------------------------------------------- > --+ _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

