[Dovecot] Segmentation fault with vpopmail auth
samuel at dameuntoque.com
Mon Apr 4 12:07:00 EEST 2011
I am new in the list.
First, excuse my english. I am not native speaker.
A few hours ago I had a problem with process dovecot-auth and vpopmail.
Versions I had using, working, were:
I tried to compile dovecot-1.2.16. Compilation was well but in
execution system said:
kernel: dovecot-auth: segfault at 645f20 ip 0000000000645f20 sp
00007fff69bd3708 error 15 in dovecot-auth[645000+1000]
Then, I tried to recompile dovecot-1.1.12 (original version I had
working) but system said the same.
After investigation, I saw I had mixed of vpopmail versions. Problem
was I had /home/vpopmail/lib/libvpopmail.so in my system. When this
file is present, compilation of dovecot link dovocot-auth to dynamic
library libvpopmail.so, but it is not necessary since I had my system
working using vpopmail without this .so.
What I recommend is to compile a fresh vpopmail. Now I am using
vpopmail-5.4.32 (at now, stable version) and dovecot-1.2.16. First,
compile vpopmail and make sure you purge /home/vpopmail/lib/ of
libvpopmail.so. Fresh installations of vpopmail, from tar.gz (not from
SVN) _doesn't_ build libvpopmail.so, so make sure this file doesn't
exist before you compile dovecot.
For me, library dependencies are:
mymachine:/usr/local/src/dovecot-1.2.16# ldd src/auth/dovecot-auth
linux-vdso.so.1 => (0x00007fff63df5000)
libpam.so.0 => /lib/libpam.so.0 (0x00007f9f925e1000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f9f923aa000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f9f921a5000)
librt.so.1 => /lib/librt.so.1 (0x00007f9f91f9d000)
libc.so.6 => /lib/libc.so.6 (0x00007f9f91c3c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f9f91a1f000)
I hope this helps. It was a strange "bug".
More information about the dovecot