On 2023/06/19 17:07:46 +0200, Petr <[email protected]> wrote:
> I tried to compile opensmtpd with libressl 3.7.3 (without 
> --with-bundled-libtls). Crashes are back again.
> 
> There is a ktrace dump in attachment but I don't know if it is useful.
> 
> I would like to know if anybody has 7.3.0p0 version functional with 
> libressl?

this is strange, I'm running my main mx on freebsd.  I've compiled
with openssl in base, but I've just rebuilt now using libressl and
it's running fine.

I've compiled with

        $ ./configure --sysconfdir=/usr/local/etc/mail \
                --with-libevent=/usr/local \
                --with-path-mbox=/var/mair \
                --with-user-smtpd=_smtpd \
                --with-user-queue=_smtpq \
                --with-group-queue=_smtpq

and verified that it links to /usr/local/lib/lib{tls,crypto,ssl}

I think that the important bit is compile with --with-bundled-libasr
or uninstall libasr entirerly.

The ktrace dump is not particularly useful in this case, the output of
the compilation and the stacktrace instead are invaluable.

for the stacktrace, run `smtpd -dv -f /usr/local/etc/mail/smtpd.conf'
(or the correct path), wait for the crash, then `gdb smtpd smtpd.core'
and at the gdb prompt type "bt" (without the quotes.)

Provided that you built the port with the WITH_DEBUG_PORTS as you
showed in the previous mail, the smtpd binary has the needed debug
symbols.
        

Thanks,

Omar Polo

Reply via email to