On May 31, 2006, at 7:16 PM, Tore André Klock wrote:
Timo Sirainen wrote:
On May 31, 2006, at 6:26 PM, Tore André Klock wrote: The one
strange thing here is that there seem to be two different poll() calls somewhere
doing different things. If this is the case, the only place where this
could happen is in PostgreSQL code. You haven't configured and enabled that
also, right? :) No, I only added --with-ldap. I don't believe I have any SQL
enabled. I don't even think PostgresSQL is even installed.
Actually I think it's probably some of LDAP's internal code.
0.0012 pollsys(0x00467DC0, 10, 0xFFFFFD7FFFDFFAE0, 0x00000000) = 1 fd=5 ev=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL rev=0 fd=1 ev=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL rev=POLLIN| POLLPRI
fd=1 gives input? That really shouldn't be happening. fd 1 should be / dev/null. It shouldn't even be polling it..
lrwxrwxrwx 1 root root 0 May 31 12:06 1 -> /devices/ pseudo/mm@0:null
So it is /dev/null.. What if you add the attached patch, does it
crash then instead? If yes, it looks like a bug in the LDAP library..
Or is it possible that you have the same problem as this other guy
who compiled Dovecot with one LDAP's header files but actually used
another LDAP's library? Looking at your original mail you seemed to
have given correct flags, but maybe it still was using Solaris LDAP's
header file?