> -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Radu Gheorghe > Sent: Monday, December 17, 2012 3:28 PM > To: rsyslog-users > Subject: [rsyslog] Segfault on UNIX socket message (was: Ubuntuv7-devel > packages) > > Aha! Nice catch, Rainer! It happens with the manually compiled rsyslog > as > well.
Could you do me one extra favor and run it under valgrind? Best as such: valgrind --log-fd=1 rsyslogd -dn ... > logfile Rainer > > Attached you can find my debug log, while the config is as easy as: > # cat /etc/rsyslog.conf > module(load="imuxsock") > *.* /var/log/syslog > > I got a clean VirtualBox machine running Ubuntu 12.04 server - always > reverting to snapshot when testing. This time I got the rsyslog tar.gz > from > the website and installed only the bare minimum to compile it with the > default options. This included manually compiling libestr and libee. > Then > started it with the config above (with -d -n), sent a `logger test` and > got > the segmentation fault. > > Thanks for looking into this! > > Best regards, > Radu > > 2012/12/17 Rainer Gerhards <[email protected]> > > > > Hi again :) > > > > > > Another follow-up to this tiny thread: I've done the dh-autoreconf > and > > > rebuilt the packages, as Michael suggested. Now omelasticsearch is > > > loading > > > up fine. Thanks again! > > > > > > Still, the issues previously reported are the same: > > > - segfault when receiving a message from UNIX socket > > > - stopping rsyslog usually takes ~5 minutes > > > > > > But really, it's the segfault which prevents further testing. Can I > > > provide > > > any more info about what's happening there? > > > > Let's see i fit is related to the package or the code itself: can you > > build from source and see if the same happens? > > > > If not, can you provide a debug log, so that we can see where it > aborts? > > > > Thanks, > > Rainer > > > > > > Best regards, > > > Radu > > > > > > 2012/12/15 Radu Gheorghe <[email protected]> > > > > > > > Aha! Thanks a log for the clarification, Michael! > > > > > > > > > > > > > > > > 2012/12/14 Michael Biebl <[email protected]> > > > > > > > >> 2012/12/14 Radu Gheorghe <[email protected]>: > > > >> > - omelasticsearch doesn't load because of the undefined symbol > > > "pow" > > > >> > > > >> The adiscon package (7.3.4-1adiscon3) does apply my patch but > does > > > >> *not* run autoreconf, so the changes have no effect. > > > >> > > > >> If you patch the configure.ac and Makefile.am files you need to > run > > > >> autoreconf. > > > >> The simplest way to achieve that, is to use dh-autoreconf: > > > >> 1/ Add a Build-Depends on dh-autoreconf > > > >> 2/ Update debian/rules, change "dh $@ --with autotools_dev" to > "dh > > > $@ > > > >> --with autoreconf" > > > >> > > > >> Or simply wait until there is a 7.3.5 release tarball :-) > > > >> > > > >> Michael > > > >> -- > > > >> Why is it that all of the instruments seeking intelligent life > in > > > the > > > >> universe are pointed away from Earth? > > > >> _______________________________________________ > > > >> rsyslog mailing list > > > >> http://lists.adiscon.net/mailman/listinfo/rsyslog > > > >> http://www.rsyslog.com/professional-services/ > > > >> What's up with rsyslog? Follow https://twitter.com/rgerhards > > > >> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by > a > > > myriad > > > >> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST > if > > > you > > > >> DON'T LIKE THAT. > > > >> > > > > > > > > > > > _______________________________________________ > > > rsyslog mailing list > > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > > http://www.rsyslog.com/professional-services/ > > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > > > myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT > POST > > > if you DON'T LIKE THAT. > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > myriad > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if > you > > DON'T LIKE THAT. > > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

