On Sat, Aug 02, 2008 at 11:46:09PM +0200, Francesco P. Lovergine wrote: > > > > > > My default Debian distribution is testing. Newer version does not > > > exist in sid, I think. > > > > > > I found this: > > > > > > https://bugs.launchpad.net/ubuntu/+source/proftpd/+bug/67622 > > > > > > maybe similar problem? My system is 32b. > > > > > > > Ok I can reproduce the issue by using a lenny client (just upgraded > > from etch with a already working configuration) against an etch > > ldap server. It coredumps soon just at fork when > > mod_ldap is loaded. This renders proftp-mod-ldap unusable. > > > > There are a couple of different issues, first of all a breakage > is expected because mod_ldap.c uses obsolete functions without > defining LDAP_DEPRECATED, before including ldap.h (see #3046 on > bugzilla). > But that still does not explain why it fails on 32 bit archs: indeed > that patch does not solve the problem. Someone suggested that > ldap_init() is now accepting a uri instead of a list of hosts, > That's need to be verified (?). > > I'm not sure I will have time this month to fix this problem, helpers > are welcome. >
Just for reference: (gdb) catch fork Catchpoint 1 (fork) (gdb) set follow-fork-mode child (gdb) show follow-fork-mode Debugger response to a program call of fork or vfork is "child". (gdb) cont Continuing. [Switching to Thread 0xb7dc86b0 (LWP 2266)] Catchpoint 1 (forked process 2333), 0xb7f6f424 in __kernel_vsyscall () (gdb) cont Continuing. [Thread debugging using libthread_db enabled] [New Thread 0xb7dc86b0 (LWP 2333)] (no debugging symbols found) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7dc86b0 (LWP 2333)] 0xb7e3bb98 in strcmp () from /lib/i686/cmov/libc.so.6 (gdb) where #0 0xb7e3bb98 in strcmp () from /lib/i686/cmov/libc.so.6 #1 0xb7baa959 in ?? () from /usr/lib/proftpd/mod_ldap.so #2 0x00000000 in ?? () (gdb) The module segfaults whenever a url-based LDAPServer is used (both ldap:// or ldaps://) but works if a simple host is used. -- Francesco P. Lovergine -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]