Re: 2.2.0.Beta0: segfault, how to debug ?

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Sun, 5 Sep 2010 08:12:28 -0700 (PDT)

On Sun, 5 Sep 2010, Andreas Schulze wrote:
> I just compiled 2.2.0.Beta0 with the same settings as 2.1.3:
>
> --disable-shared \
> --enable-debug \
> --enable-dkim_reputation \
> --enable-identity_header \
> --enable-redirect \
> --enable-report_intervals \
> --enable-sender_macro \
> --enable-stats
>
> I had to patch dkim-rep.c (http://lists.opendkim.org/archive/opendkim/dev/2010/09/0635.html).
> Config is at http://andreasschulze.de/tmp/opendkim-2.2.0.Beta0.conf
>
> After an sign or verify opendkim segfaults. How can I debug this
> to get more informations ??
>
> 2.1.3 with same buildoptions an configfile works fine.

With --enable-debug, it should be leaving you with a core dump on a crash.
You may have to set "EnableCoredumps True" in your configuration file.
Once you have a core file, analyzing it with gdb should show you where it
crashed. Let me know if you need specific instructions in that case.

There have been a couple of crash fixes since Beta0. The configuration
file you have there might hit one of those, but I can't be sure.

Beta1 will be posted Tuedsay morning.

-MSK
Received on Sun Sep 05 2010 - 15:13:03 PST

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sun Sep 05 2010 - 20:50:01 PST