Timothy Timmons
2009-Sep-25 09:02 UTC
[Dovecot] Ubuntu 9.x segmentation fault with vpopmail auth
I've been trying for 24 hours now, to get an IMAP server which will autenticate off of vpopmail cdb database and the auth module always segfaults on login. I'm using vpopmail 5.5.0 only because it is the only version which seems to create a dynamically linked version of the library. I tried latest releases dovecot 1.0, 1.1, and 1.2. Also latest mercurial pulls of 1.1 and 1.2. Even old versions of courier-imap and courier-authlib do it, but with these I can try older versions of vpopmail cause they don't require the dynamically linked version of libvpopmail. So I'm thinking it is something with Ubuntu 9.04 and pretty much all third party vpopmail authentication code. Strangely qmail-pop3d works fine with vchkpwd, just I cannot find any IMAP server that will work no matter what combination of vpopmail and version of the IMAP server. If anyone can figure this out I'd greatly appreciate it. Sep 25 14:43:37 mail kernel: [41432.282133] dovecot-auth[14048]: segfault at 0 ip 00000000 sp bf88c8ec error 14 in dovecot-auth[8048000+40000] Sep 25 15:07:16 mail kernel: [42852.136667] dovecot-auth[21185]: segfault at 0 ip 00000000 sp bfdcce2c error 14 in dovecot-auth[8048000+40000] Sep 25 15:23:59 mail kernel: [43855.048512] dovecot-auth[6927]: segfault at 0 ip 00000000 sp bfd81ecc error 14 in dovecot-auth[8048000+40000] Sep 25 15:55:22 mail kernel: [45737.522566] dovecot-auth[12458]: segfault at 0 ip 00000000 sp bfcc8dfc error 14 in dovecot-auth[8048000+40000] Sep 25 16:14:15 mail kernel: [46870.968589] dovecot-auth[30127]: segfault at 0 ip 00000000 sp bff59f9c error 14 in dovecot-auth[8048000+3d000] Sep 25 16:23:26 mail kernel: [47421.947792] dovecot-auth[15832]: segfault at 0 ip 00000000 sp bf9121ec error 14 in dovecot-auth[8048000+31000] Sep 25 16:27:06 mail kernel: [47641.662788] authvchkpw[17265]: segfault at 0 ip 00000000 sp bf8f240c error 14 in authvchkpw[8048000+5000] etc.. Thanks, Tim P.S. I'm going nuts here, trying to get Squirrelmail back up for customers, but I'm absolutely stuck.
Eric Shubert
2009-Sep-25 13:55 UTC
[Dovecot] Ubuntu 9.x segmentation fault with vpopmail auth
Timothy Timmons wrote:> I've been trying for 24 hours now, to get an IMAP server which will > autenticate off of vpopmail cdb database and the auth module always > segfaults on login. > > I'm using vpopmail 5.5.0 only because it is the only version which seems > to create a dynamically linked version of the library. > > I tried latest releases dovecot 1.0, 1.1, and 1.2. Also latest mercurial > pulls of 1.1 and 1.2. > > Even old versions of courier-imap and courier-authlib do it, but with > these I can try older versions of vpopmail cause they don't require the > dynamically linked version of libvpopmail. So I'm thinking it is > something with Ubuntu 9.04 and pretty much all third party vpopmail > authentication code. > > Strangely qmail-pop3d works fine with vchkpwd, just I cannot find any > IMAP server that will work no matter what combination of vpopmail and > version of the IMAP server. > > If anyone can figure this out I'd greatly appreciate it. > > Sep 25 14:43:37 mail kernel: [41432.282133] dovecot-auth[14048]: > segfault at 0 ip 00000000 sp bf88c8ec error 14 in > dovecot-auth[8048000+40000] > > Sep 25 15:07:16 mail kernel: [42852.136667] dovecot-auth[21185]: > segfault at 0 ip 00000000 sp bfdcce2c error 14 in > dovecot-auth[8048000+40000] > > Sep 25 15:23:59 mail kernel: [43855.048512] dovecot-auth[6927]: segfault > at 0 ip 00000000 sp bfd81ecc error 14 in dovecot-auth[8048000+40000] > > Sep 25 15:55:22 mail kernel: [45737.522566] dovecot-auth[12458]: > segfault at 0 ip 00000000 sp bfcc8dfc error 14 in > dovecot-auth[8048000+40000] > > Sep 25 16:14:15 mail kernel: [46870.968589] dovecot-auth[30127]: > segfault at 0 ip 00000000 sp bff59f9c error 14 in > dovecot-auth[8048000+3d000] > Sep 25 16:23:26 mail kernel: [47421.947792] dovecot-auth[15832]: > segfault at 0 ip 00000000 sp bf9121ec error 14 in > dovecot-auth[8048000+31000] > Sep 25 16:27:06 mail kernel: [47641.662788] authvchkpw[17265]: segfault > at 0 ip 00000000 sp bf8f240c error 14 in authvchkpw[8048000+5000] > > etc.. > > Thanks, > Tim > > P.S. I'm going nuts here, trying to get Squirrelmail back up for > customers, but I'm absolutely stuck. >I'm using vpopmail 5.4.17 with dovecot 1.0.10. Have you tried rolling your own vpopmail? -- -Eric 'shubes'