qmail built from ports (both plain qmail and qmail-tls) died on startup with log message: alert: oh no! lost spawn connection! dying... Investigation showed that qmail-lspawn was dumping core in /var/qmail/queue/mess. Tweaked conf-cc and conf-load to not over-optimize or strip, and got a core with debug symbols intact. Found that first access to d[0] was segfaulting. d was not zero, but didn't look like a pointer either. Found that alloc() defn not in scope, and on amd64 the assumed int is *not* a useful substitute for a char*. Fix: Applied the following changes after make configure. Mostly just brings alloc() defn in scope in spawn.c, but also does the non-strip compile and avoids some complaints about malloc() not matching system def. There are clearly other compile warnings that could be bugs, but it seems to be working again, at least... How-To-Repeat: Build qmail from ports on a 64-bit system.
Responsible Changed From-To: freebsd-ports-bugs->garga Over to maintainer (via the GNATS Auto Assign Tool)
garga 2007-12-26 16:43:55 UTC FreeBSD ports repository Modified files: mail/qmail Makefile pkg-plist mail/qmail-mysql Makefile mail/qmail-spamcontrol Makefile mail/qmail-tls Makefile Added files: mail/qmail/files extra-patch-amd64 qmail-smtpd.rcNG Log: - Fix a segfault on amd64 (except on qmail-spamcontrol and qmail-ldap) [1] - Add an rcNG startup example file to QMAIL_PREFIX/boot [2] - Bump PORTREVISION due to rcNG add (except for qmail-ldap) - Fix make certificate to add ciphers file to QMAIL_PREFIX/control [3] PR: ports/118117 [1], ports/117422 [2], ports/118198 [3] Submitted by: Andrew Reilly <areilly@bigpond.net.au> [1] [3] Nick@van-laarhoven.org [2] Revision Changes Path 1.20 +1 -1 ports/mail/qmail-mysql/Makefile 1.23 +1 -1 ports/mail/qmail-spamcontrol/Makefile 1.22 +1 -1 ports/mail/qmail-tls/Makefile 1.126 +10 -1 ports/mail/qmail/Makefile 1.1 +20 -0 ports/mail/qmail/files/extra-patch-amd64 (new) 1.1 +52 -0 ports/mail/qmail/files/qmail-smtpd.rcNG (new) 1.17 +2 -1 ports/mail/qmail/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!