segfault cyrus imapd 2.17 when upgrading to glibc >2.16

Dan White dwhite at olp.net
Mon Nov 3 10:35:23 EST 2014


On 11/03/14 15:56 +0100, Andreas Nyback wrote:
>Cant get this working.
>Running gentoo 64 bit. Access from some users work, some/one always
>segfault. Tried to find if any dependency needed recompile with upgraded
>glibc, no luck. Tried fresh install of gentoo. Same same.
>
>When on glibc 2.16 all works fine.

>strace of segfault session:

>4447 18:03:30.928204   strlen("sasl_")           = 5
>4447 18:03:30.928319   __snprintf_chk(0x7fff1e5108b0, 256, 1, 256) = 24
>4447 18:03:30.928438   strcmp("imap_sasl_auxprop_plugin",
>"partition-default") = -7
>4447 18:03:30.928576   strcmp("sasl_auxprop_plugin",
>"partition-default") = 3
>4447 18:03:30.928706   strcmp("sasl_auxprop_plugin",
>"sasl_auxprop_plugin") = 0
>4447 18:03:30.928865   malloc(16)                = 0x18a0f20
>4447 18:03:30.928966   malloc(250)               = 0x18a0b50
>4447 18:03:30.929147   free(0x18a0b50)           = <void>
>4447 18:03:30.929252   malloc(19)                = 0x18a0e10
>4447 18:03:30.929352   malloc(11)                = 0x18a0f40
>4447 18:03:30.929452   malloc(8)                 = 0x18a0f60
>4447 18:03:30.929551   malloc(15)                = 0x18a0f80
>4447 18:03:30.929650   malloc(21)                = 0x18a0fa0
>4447 18:03:30.929756   malloc(250)               = 0x18a0940
>4447 18:03:30.929921   free(0x18a0940)           = <void>
>4447 18:03:30.930026   malloc(10)                = 0x18a0fc0
>4447 18:03:30.930125   malloc(250)               = 0x18a0940
>*4447 18:03:30.930292   free(0x18a0940)           = <void>**
>**4447 18:03:30.932631   free(0x18a0fc0)           = <void>**
>**4447 18:03:30.932795   free(0x18a0f80)           = <void>**
>**4447 18:03:30.932899   free(0x18a0fa0)           = <void>**
>**4447 18:03:30.933133   free(0x18a0f60)           = <void>**
>**4447 18:03:30.933238   free(0x18a0f40)           = <void>**
>**4447 18:03:30.933336   free(0x18a0e10)           = <void>**
>**4447 18:03:30.933438   free(0x18a0f20)           = <void>**
>**4447 18:03:30.933842 --- SIGSEGV (Segmentation fault) ---**
>**4447 18:03:30.934298 +++ killed by SIGSEGV +++**

Verify both the cyrus sasl glue library and all plugins
(auxprop/mechanisms) are compiled against the same version of glibc as
cyrus imap, as well as any libraries your auxprop plugin uses i.e. libldap
or sql).

-- 
Dan White


More information about the Info-cyrus mailing list