Evolution MAPI crashes with SIGSEGV in several places
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evolution-mapi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: evolution-mapi
When configuring the MAPI bridge for Evolution on a machine that uses Kerberos 5, everything works if I use the server's IP address, but it crashes if I use the server's name. This seems to be due to the process linking both libkrb5.so.3 and libgensec.so.0, which have identically named exports with different ABIs.
For example, the first place it crashes is due to libgensec.so.0 calling libkrb5.so.3's krb5_appdefault
#0 __strlen_sse2 () at ../sysdeps/
#1 0x00007fffef973b76 in __strdup (s=0x0) at strdup.c:42
#2 0x00007fffeded8d38 in krb5_appdefault
realm=<value optimized out>, option=<value optimized out>, default_value=0x0, ret_value=
at ../../.
#3 0x00007fffdd9ae23e in krb5_appdefault
#4 0x00007fffdd9cde63 in krb5_get_
#5 0x00007fffdd90ba9d in kerberos_
#6 0x00007fffdd915253 in kinit_to_ccache () from /usr/lib/
#7 0x00007fffdd913c15 in cli_credentials
This first crash can be worked around by adding ticket_lifetime and renew_lifetime values to the [appdefaults] section of /etc/krb5.conf. The second place it crashes is a short while later, and does not appear amenable to a workaround:
#0 0x00007fffdd9ce26c in krb5_get_
#1 0x00007fffdd9cdf63 in krb5_get_
#2 0x00007fffdd90ba9d in kerberos_
#3 0x00007fffdd915253 in kinit_to_ccache () from /usr/lib/
#4 0x00007fffdd913c15 in cli_credentials
Judging from the assembly code, the line that faults is this one from samba4/
opt->
where the "opt" struct appears to use the definition and layout from libkrb5.so.3, which is missing several fields that the Samba library expects (opt_private being one of them).
Ubuntu: 10.10
libgensec0: 4.0.0~alpha13+
libkrb5-3: 1.8.1+dfsg-
evolution-mapi: 0.30.3-1ubuntu1
evolution: 2.30.3-1ubuntu7.3
(other package versions available upon request)