Wietse Venema: > Summary: the Postfix SMTP server crashes with signal 11 on FreeBSD > 10.1-RELEASE when some library (below, the MySQL client) links zlib > at build time, and OpenSSL from ports tries to load zlib lazily at > runtime (zlib-dynamic is enabled by default). > > To reproduce: see the thread "Postfix / OpenSSL signal 11 on delivery > from ebay" on the postfix-users mailing list. > > The following matrix summarizes different Postfix and OpenSSL build > options, and their effect on this crash. > > smtpd Postfix ------OpenSSL------ > crash mysql+zlib zlib zlib-dynamic > ============================================================ > y y y y > n y y n <- see patch below > n y n n <- workaround (safe) > n n y y <- workaround (bad) > > Conclusion: building OpenSSL with zlib and no-zlib-dynamic may solve > the problem without losing the benefits of zlib compression.
Ignore the patch. The crashes are the result of a name conflict with the non-system zlib implementation that is bundled with MySQL. The fix is to build mysql with the system zlib implementation. Wietse