Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2016 19:22:12 -0800
From:      Manfred Antar <null@pozo.com>
To:        freebsd-current@freebsd.org, Baptiste Daroussin <bapt@freebsd.org>
Subject:   syslogd dumps core on amd64 cuurent
Message-ID:  <66A941B1-CB9E-4022-B966-52C7EB662E89@pozo.com>

next in thread | raw e-mail | index | archive | help
Todays change to syslogd.c causes it to dump core on starting:

(syslogd)5014}/etc/rc.d/syslogd stop
Stopping syslogd.
Waiting for PIDS: 731.
(syslogd)5015}make install
install  -s -o root -g wheel -m 555   syslogd /usr/sbin/syslogd
install  -o root -g wheel -m 444 syslog.conf.5.gz  /usr/share/man/man5/
install  -o root -g wheel -m 444 syslogd.8.gz  /usr/share/man/man8/
(syslogd)5016}/etc/rc.d/syslogd start
Starting syslogd.
syslogd: child pid 21052 exited on signal 4 (core dumped)
/etc/rc.d/syslogd: WARNING: failed to start syslogd
(syslogd)5017}

the change was to the file syslogd.c :

--- syslogd.c	2016-11-26 19:14:55.086134000 -0800
+++ syslogd.c.new	2016-11-26 07:58:53.382705000 -0800
@@ -1835,6 +1835,7 @@
 		free((char *)f);
 	}
 	Files = NULL;
+	*nextp = NULL;
 
 	/* open the configuration file */
 	if ((cf = fopen(ConfFile, "r")) == NULL) {





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66A941B1-CB9E-4022-B966-52C7EB662E89>