Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Problem with "libspf2"

2009-06-10 by Matthias Scheler

On Wed, Jun 10, 2009 at 08:19:29AM +0100, Matthias Scheler wrote:
> > Could you collect a backtrace?
> 
> I'm trying to.

Here it is:

spf_expand.c:219     Error: Failed to allocate enough memory to expand string.

Program received signal SIGABRT, Aborted.
0x00007f7ffd5dbb1a in _lwp_kill () from /usr/lib/libc.so.12
(gdb) where
#0  0x00007f7ffd5dbb1a in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007f7ffd5db3f2 in abort () from /usr/lib/libc.so.12
#2  0x00007f7ffda0ef3c in SPF_error_stdio () from /usr/pkg/lib/libspf2.so.2
#3  0x00007f7ffda0eda2 in SPF_errorx () from /usr/pkg/lib/libspf2.so.2
#4  0x00007f7ffda0b191 in SPF_record_expand_data ()
   from /usr/pkg/lib/libspf2.so.2
#5  0x00007f7ffda0d732 in SPF_record_interpret ()
   from /usr/pkg/lib/libspf2.so.2
#6  0x00007f7ffda0d5f9 in SPF_record_interpret ()
   from /usr/pkg/lib/libspf2.so.2
#7  0x00007f7ffda0d5f9 in SPF_record_interpret ()
   from /usr/pkg/lib/libspf2.so.2
#8  0x00007f7ffda0f745 in SPF_request_query_record ()
   from /usr/pkg/lib/libspf2.so.2
#9  0x00007f7ffda0fa8c in SPF_request_query_mailfrom ()
   from /usr/pkg/lib/libspf2.so.2
#10 0x0000000000414530 in spf_check (ad=0x0, as=<value optimized out>,
    ap=<value optimized out>, priv=<value optimized out>) at spf.c:388
#11 0x0000000000406ecb in mlfi_envfrom (ctx=0x7f7ffce03260,
    envfrom=0x7f7ffc40f080) at milter-greylist.c:495
#12 0x000000000041ce39 in st_sender ()
#13 0x000000000041d935 in mi_engine ()
#14 0x000000000041ade8 in mi_handle_session ()
#15 0x0000000000419cc9 in mi_thread_handle_wrapper ()
#16 0x00007f7ffdc0b6a2 in pthread_create () from /usr/lib/libpthread.so.0
#17 0x00007f7ffd5541d0 in swapcontext () from /usr/lib/libc.so.12
#18 0x00007f7ffba00000 in ?? ()
#19 0x0000000611110001 in ?? ()
#20 0x0000000033330003 in ?? ()
#21 0x0000000000000000 in ?? ()

Unfortunately "gdb" refuses to print out any local variables of
spf_check(). I'll try to build without optimization.

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.