Edward Capriolo | 5 Aug 2009 22:48
Picon

Segmentation fault: 11 with qmail-ldaplookup

My env is FreeBSD-7.2 x86-64

Any ideas. I believe the standard build options should be ok for me.

[root <at> nymail1 /usr/local/src]# /var/qmail/bin/qmail-ldaplookup
Segmentation fault: 11 (core dumped)

[root <at> nymail1 /usr/local/src]# ldd /var/qmail/bin/qmail-ldaplookup
/var/qmail/bin/qmail-ldaplookup:
       libldap-2.4.so.6 => /usr/local/lib/libldap-2.4.so.6 (0x800642000)
       liblber-2.4.so.6 => /usr/local/lib/liblber-2.4.so.6 (0x800782000)
       libcrypt.so.4 => /lib/libcrypt.so.4 (0x800890000)
       libc.so.7 => /lib/libc.so.7 (0x8009a9000)
       libgssapi.so.9 => /usr/lib/libgssapi.so.9 (0x800bcd000)
       libssl.so.5 => /usr/lib/libssl.so.5 (0x800cd5000)
       libcrypto.so.5 => /lib/libcrypto.so.5 (0x800e1f000)

[root <at> nymail1 /usr/local/src]# gdb qmail-ldaplookup qmail-ldaplookup.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging
symbols found)...
Core was generated by `qmail-ldaplookup'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libldap-2.4.so.6...(no debugging
symbols found)...done.
(Continue reading)

Edward Capriolo | 5 Aug 2009 21:48
Picon

qmail-ldaplookup seg fault

Any ideas. I believe the standard build options should be ok for me.

[root <at> nymail1 /usr/local/src]# /var/qmail/bin/qmail-ldaplookup
Segmentation fault: 11 (core dumped)

[root <at> nymail1 /usr/local/src]# ldd /var/qmail/bin/qmail-ldaplookup
/var/qmail/bin/qmail-ldaplookup:
        libldap-2.4.so.6 => /usr/local/lib/libldap-2.4.so.6 (0x800642000)
        liblber-2.4.so.6 => /usr/local/lib/liblber-2.4.so.6 (0x800782000)
        libcrypt.so.4 => /lib/libcrypt.so.4 (0x800890000)
        libc.so.7 => /lib/libc.so.7 (0x8009a9000)
        libgssapi.so.9 => /usr/lib/libgssapi.so.9 (0x800bcd000)
        libssl.so.5 => /usr/lib/libssl.so.5 (0x800cd5000)
        libcrypto.so.5 => /lib/libcrypto.so.5 (0x800e1f000)

[root <at> nymail1 /usr/local/src]# gdb qmail-ldaplookup qmail-ldaplookup.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging
symbols found)...
Core was generated by `qmail-ldaplookup'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libldap-2.4.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libldap-2.4.so.6
Reading symbols from /usr/local/lib/liblber-2.4.so.6...(no debugging
(Continue reading)

Claudio Jeker | 5 Aug 2009 23:05

Re: Segmentation fault: 11 with qmail-ldaplookup

On Wed, Aug 05, 2009 at 04:48:04PM -0400, Edward Capriolo wrote:
> My env is FreeBSD-7.2 x86-64
> 
> Any ideas. I believe the standard build options should be ok for me.
> 

Make sure you build with LDAP_DEPRECATED defined. Especially on 64bit
archs the removal of the prototypes results in wrong call arguments.

Try to add -DLDAP_DEPRECATED to the LDAPFLAGS or directly to conf-cc.

> [root <at> nymail1 /usr/local/src]# /var/qmail/bin/qmail-ldaplookup
> Segmentation fault: 11 (core dumped)
> 
> [root <at> nymail1 /usr/local/src]# ldd /var/qmail/bin/qmail-ldaplookup
> /var/qmail/bin/qmail-ldaplookup:
>        libldap-2.4.so.6 => /usr/local/lib/libldap-2.4.so.6 (0x800642000)
>        liblber-2.4.so.6 => /usr/local/lib/liblber-2.4.so.6 (0x800782000)
>        libcrypt.so.4 => /lib/libcrypt.so.4 (0x800890000)
>        libc.so.7 => /lib/libc.so.7 (0x8009a9000)
>        libgssapi.so.9 => /usr/lib/libgssapi.so.9 (0x800bcd000)
>        libssl.so.5 => /usr/lib/libssl.so.5 (0x800cd5000)
>        libcrypto.so.5 => /lib/libcrypto.so.5 (0x800e1f000)
> 
> [root <at> nymail1 /usr/local/src]# gdb qmail-ldaplookup qmail-ldaplookup.core
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
(Continue reading)

Edward Capriolo | 5 Aug 2009 21:14
Picon

Hey man I need you guys!

subscribe

Edward Capriolo | 6 Aug 2009 00:17
Picon

Re: Segmentation fault: 11 with qmail-ldaplookup

On Wed, Aug 5, 2009 at 5:05 PM, Claudio Jeker<jeker <at> n-r-g.com> wrote:
> On Wed, Aug 05, 2009 at 04:48:04PM -0400, Edward Capriolo wrote:
>> My env is FreeBSD-7.2 x86-64
>>
>> Any ideas. I believe the standard build options should be ok for me.
>>
>
> Make sure you build with LDAP_DEPRECATED defined. Especially on 64bit
> archs the removal of the prototypes results in wrong call arguments.
>
> Try to add -DLDAP_DEPRECATED to the LDAPFLAGS or directly to conf-cc.
>
>> [root <at> nymail1 /usr/local/src]# /var/qmail/bin/qmail-ldaplookup
>> Segmentation fault: 11 (core dumped)
>>
>> [root <at> nymail1 /usr/local/src]# ldd /var/qmail/bin/qmail-ldaplookup
>> /var/qmail/bin/qmail-ldaplookup:
>>        libldap-2.4.so.6 => /usr/local/lib/libldap-2.4.so.6 (0x800642000)
>>        liblber-2.4.so.6 => /usr/local/lib/liblber-2.4.so.6 (0x800782000)
>>        libcrypt.so.4 => /lib/libcrypt.so.4 (0x800890000)
>>        libc.so.7 => /lib/libc.so.7 (0x8009a9000)
>>        libgssapi.so.9 => /usr/lib/libgssapi.so.9 (0x800bcd000)
>>        libssl.so.5 => /usr/lib/libssl.so.5 (0x800cd5000)
>>        libcrypto.so.5 => /lib/libcrypto.so.5 (0x800e1f000)
>>
>> [root <at> nymail1 /usr/local/src]# gdb qmail-ldaplookup qmail-ldaplookup.core
>> GNU gdb 6.1.1 [FreeBSD]
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you are
>> welcome to change it and/or distribute copies of it under certain conditions.
(Continue reading)

Rony | 18 Aug 2009 11:26

duplicate mail

 

Dear All,

I have an issue My qmail-ldap users are added in many groups ,so when ever some one message to those groups user gets duplicate delivery in their mailbox. How can i stop that ...is maildrop is a tool for that  ? or procmail ?  what I change my configuration ?   please help me


Gmane