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 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.
Over to maintainer (via the GNATS Auto Assign Tool)
garga 2007-12-26 16:43:55 UTC
FreeBSD ports repository
mail/qmail Makefile pkg-plist
mail/qmail/files extra-patch-amd64 qmail-smtpd.rcNG
- Fix a segfault on amd64 (except on qmail-spamcontrol and qmail-ldap) 
- Add an rcNG startup example file to QMAIL_PREFIX/boot 
- Bump PORTREVISION due to rcNG add (except for qmail-ldap)
- Fix make certificate to add ciphers file to QMAIL_PREFIX/control 
PR: ports/118117 , ports/117422 , ports/118198 
Submitted by: Andrew Reilly <firstname.lastname@example.org>  
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
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"