Nevermind, there was a clue to find where the issue is coming from.
Lars, try this in modules/sortsieve.c, as the trace in sort_getheader:
trace(TRACE_INFO, "%s, %s: Getting header [%s] returning value [%s]",
__FILE__, __func__, header, bodylist[0] ? bodylist[0] : "(null)" );
I wonder if there's a more portable way to handle this in trace?
Aaron
On Fri, 2006-05-19 at 08:33 -0700, Aaron Stone wrote:
> On Fri, 2006-05-19 at 13:40 +0200, Paul J Stevens wrote:
>
> > printf and friends on solaris do not like it very much when the argument
> > for %s NULL.
> >
> > so on solaris
> >
> > printf("%s", NULL) will segfault, whereas on glibc this will return
> > "(null)".
> >
> > Aaron, any ideas.
>
> Longer backtrace so that we can see from where in DBMail or libSieve the
> printf is being called. I'm also building on Solaris right now, but have
> a bunch of deps to work through.
>
> Aaron
>
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev