Package: icedove
Version: 3.0.4-2
Severity: important
Tags: squeeze

Icedove gives a segmentation fault immediately after startup. Removing .icedove, .mozilla-thunderbird, .mozilla and some more dot-directories, I considered relevant does not help. Enigmail is deinstalled.

strace is attached (was not very helpful for me).

gdb gives:
Starting program: /usr/lib/icedove/icedove-bin
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1164a9b in strtok_r () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff1164a9b in strtok_r () from /lib/libc.so.6
#1 0x00007ffff2759be6 in ldap_str2charray (str=0x7fffed40bc0c "ldap://localhost/";, brkstr=0x7fffed40b561 ", ") at charray.c:218
#2  0x00007fffed3f749e in ?? () from /usr/lib/libldap_r-2.4.so.2
#3 0x00007fffed3f8e61 in ldap_int_initialize_global_options () from /usr/lib/libldap_r-2.4.so.2 #4 0x00007fffed3f8fa8 in ldap_int_initialize () from /usr/lib/libldap_r-2.4.so.2
#5  0x00007fffed3df626 in ldap_create () from /usr/lib/libldap_r-2.4.so.2
#6 0x00007fffed3dfbba in ldap_initialize () from /usr/lib/libldap_r-2.4.so.2
#7  0x00007fffed61e210 in ?? () from /lib/libnss_ldap.so.2
#8  0x00007fffed61f42c in ?? () from /lib/libnss_ldap.so.2
#9  0x00007fffed61f89d in ?? () from /lib/libnss_ldap.so.2
#10 0x00007fffed61ff67 in _nss_ldap_getpwnam_r () from /lib/libnss_ldap.so.2
#11 0x00007ffff1185cdd in getpwnam_r () from /lib/libc.so.6
#12 0x00007ffff43cded3 in ?? () from /lib/libglib-2.0.so.0
#13 0x00007ffff43cfca5 in g_get_home_dir () from /lib/libglib-2.0.so.0
#14 0x00007ffff676a977 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00007ffff676cfef in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007ffff671eec5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007ffff43a98c8 in g_option_context_parse () from /lib/libglib-2.0.so.0 #18 0x00007ffff671eb01 in gtk_parse_args () from /usr/lib/libgtk-x11-2.0.so.0 #19 0x000000000044768c in XRE_main (argc=<value optimized out>, argv=<value optimized out>, aAppData=<value optimized out>) at nsAppRunner.cpp:2919 #20 0x000000000044536b in main (argc=1, argv=0x7fffffffe4a8) at nsMailApp.cpp:103

Don't know where it takes "ldap://localhost/"; from. slapd is not installed.
/etc/nsswitch.conf points to LDAP for passwd, shadow & group. My /etc/ldap/ldap.conf contains

URI ldaps://ldap.XXX.XXX
TLS_CACERT /etc/ldap/ca.crt

and works correctly otherwise (e.g. id, automounter). Removing "ldap" from nsswitch.conf prevents icedove to crash, but gives kind of expected error messages:

getpwuid_r(): failed due to unknown user id (1001)

Removing the lines from /etc/ldap/ldap.conf (and ldap in nsswitch.conf) leads to the same crash.

The following up-to date squeeze packages are used:
libnss-ldap = 264-2.1
libldap-2.4-2 = 2.4.17-2.1

Icedove is essential for many users in the network! Problem occurs for both x86_64 and i686.

Please help!

Regards,

Timm Essigke

P.S.: Seems identical to Ubuntu bug #507089 & #532128 as well as mozilla bug #532601. You can work around using package nscd, but due to problems in the past I would prefer not to use nscd. If nscd can not be avoided, please set dependency for nscd!

-- System Information:
Debian Release: squeeze/sid
 APT prefers testing
APT policy: (1000, 'testing'), (500, 'stable'), (50, 'unstable'), (50, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages icedove depends on:
ii debianutils 3.2.2 Miscellaneous utilities specific t ii fontconfig 2.8.0-2 generic font configuration library ii libasound2 1.0.22-2 shared library for ALSA applicatio
ii  libatk1.0-0             1.30.0-1         The ATK accessibility toolkit
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra ii libdbus-1-3 1.2.24-1 simple interprocess messaging syst ii libdbus-glib-1-2 0.86-1 simple interprocess messaging syst ii libfontconfig1 2.8.0-2 generic font configuration library ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii  libgcc1                 1:4.4.2-9        GCC support library
ii  libglib2.0-0            2.24.0-1         The GLib library of C routines
ii libgtk2.0-0 2.20.0-2 The GTK+ graphical user interface ii libjpeg62 6b-16.1 The Independent JPEG Group's JPEG ii libnspr4-0d 4.8.4-1 NetScape Portable Runtime Library ii libnss3-1d 3.12.6-2 Network Security Service libraries ii libpango1.0-0 1.28.0-1 Layout and rendering of internatio
ii  libsqlite3-0            3.6.23.1-1       SQLite 3 shared library
ii libstartup-notification 0.10-1 library for program launch feedbac
ii  libstdc++6              4.4.2-9          The GNU Standard C++ Library v3
ii  libx11-6                2:1.3.3-2        X11 client-side library
ii libxrender1 1:0.9.5-2 X Rendering Extension client libra
ii  libxt6                  1:1.0.7-1        X11 toolkit intrinsics library
ii psmisc 22.11-1 utilities that use the proc file s
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages icedove recommends:
ii hunspell-en-us [hunspell-d 20070829-4 English_american dictionary for hu
ii  libbonobo2-0               2.24.3-1      Bonobo CORBA interfaces library
ii libgconf2-4 2.28.1-3 GNOME configuration database syste ii libgnome2-0 2.30.0-1 The GNOME library - runtime files ii libgnomevfs2-0 1:2.24.3-1 GNOME Virtual File System (runtime ii liborbit2 1:2.14.18-0.1 libraries for ORBit2 - a CORBA ORB ii libpopt0 1.15-1 lib for parsing cmdline parameters
ii  myspell-de-de [myspell-dic 20091006-4.1  German dictionary for myspell
ii myspell-en-gb [myspell-dic 1:3.2.0-2 English_british dictionary for mys
ii  myspell-es [myspell-dictio 1.10-9        Spanish dictionary for myspell
ii myspell-fr [myspell-dictio 1.4-25 The French dictionary for myspell
ii  myspell-it [myspell-dictio 1:3.2.0-2     Italian dictionary for myspell
ii myspell-pl [myspell-dictio 20100311-1 The Polish dictionary for myspell

Versions of packages icedove suggests:
ii ttf-lyx 1.6.5-1 TrueType versions of some TeX font

-- no debconf information
execve("/usr/bin/icedove", ["icedove"], [/* 44 vars */]) = 0
brk(0)                                  = 0x1acf000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f590fefc000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f590fefa000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/sw/sge/lib/glinux/tls/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such 
file or directory)
stat("/sw/sge/lib/glinux/tls/x86_64", 0x7fff00f270b0) = -1 ENOENT (No such file 
or directory)
open("/sw/sge/lib/glinux/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat("/sw/sge/lib/glinux/tls", 0x7fff00f270b0) = -1 ENOENT (No such file or 
directory)
open("/sw/sge/lib/glinux/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file 
or directory)
stat("/sw/sge/lib/glinux/x86_64", 0x7fff00f270b0) = -1 ENOENT (No such file or 
directory)
open("/sw/sge/lib/glinux/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat("/sw/sge/lib/glinux", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=145910, ...}) = 0
mmap(NULL, 145910, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f590fed6000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\353\1\0\0\0\0\0"..., 832) = 
832
fstat(3, {st_mode=S_IFREG|0755, st_size=1379752, ...}) = 0
mmap(NULL, 3487784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f590f98d000
mprotect(0x7f590fad7000, 2097152, PROT_NONE) = 0
mmap(0x7f590fcd7000, 20480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14a000) = 0x7f590fcd7000
mmap(0x7f590fcdc000, 18472, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f590fcdc000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f590fed5000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f590fed4000
arch_prctl(ARCH_SET_FS, 0x7f590fed46f0) = 0
mprotect(0x7f590fcd7000, 16384, PROT_READ) = 0
mprotect(0x7f590fefd000, 4096, PROT_READ) = 0
munmap(0x7f590fed6000, 145910)          = 0
getpid()                                = 23937
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 
0x7f590f9befc0}, {SIG_DFL, [], 0}, 8) = 0
geteuid()                               = 1001
brk(0)                                  = 0x1acf000
brk(0x1af0000)                          = 0x1af0000
getppid()                               = 23936
stat("/home/essigke", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
open("/usr/bin/icedove", O_RDONLY)      = 3
fcntl(3, F_DUPFD, 10)                   = 10
close(3)                                = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x40f250, ~[RTMIN RT_1], SA_RESTORER, 0x7f590f9befc0}, 
NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f590f9befc0}, 
NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f590f9befc0}, 
NULL, 8) = 0
read(10, "#!/bin/sh\n#\n# ***** BEGIN LICENS"..., 8192) = 4565
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23938
close(4)                                = 0
read(3, "/usr/bin\n", 128)              = 9
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23938
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23939
close(4)                                = 0
read(3, "icedove\n", 128)               = 8
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23939
stat("/usr/bin/run-mozilla.sh", 0x7fff00f27500) = -1 ENOENT (No such file or 
directory)
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23940
close(4)                                = 0
read(3, "/home/essigke\n", 128)         = 14
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23940
lstat("/usr/bin/icedove", {st_mode=S_IFLNK|0777, st_size=22, ...}) = 0
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23941
close(4)                                = 0
read(3, "icedove\n", 128)               = 8
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23941
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23942
close(4)                                = 0
read(3, "/usr/bin\n", 128)              = 9
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23942
chdir("/usr/bin")                       = 0
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23943
close(4)                                = 0
read(3, "../lib/icedove/icedove\n", 128) = 23
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23943
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23946
close(4)                                = 0
read(3, "icedove\n", 128)               = 8
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23946
stat("../lib/icedove/icedove", {st_mode=S_IFREG|0755, st_size=4565, ...}) = 0
geteuid()                               = 1001
getgid()                                = 1000
getegid()                               = 1000
getgroups(0, NULL)                      = 15
getgroups(15, [24, 29, 40, 44, 50, 110, 199, 1000, 1001, 1002, 1003, 1004, 
1006, 2000, 3000]) = 15
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23947
close(4)                                = 0
read(3, "../lib/icedove\n", 128)        = 15
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23947
stat("../lib/icedove/run-mozilla.sh", {st_mode=S_IFREG|0755, st_size=10450, 
...}) = 0
geteuid()                               = 1001
getgid()                                = 1000
getegid()                               = 1000
getgroups(0, NULL)                      = 15
getgroups(15, [24, 29, 40, 44, 50, 110, 199, 1000, 1001, 1002, 1003, 1004, 
1006, 2000, 3000]) = 15
chdir("/usr/lib/icedove")               = 0
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23948
close(4)                                = 0
read(3, "/usr/lib/icedove\n", 128)      = 17
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23948
chdir("/home/essigke")                  = 0
stat("/usr/lib/icedove/application.ini", {st_mode=S_IFREG|0644, st_size=2012, 
...}) = 0
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23949
close(4)                                = 0
read(3, "icedove\n", 128)               = 8
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23949
stat("/home/essigke/.icedove", 0x7fff00f27470) = -1 ENOENT (No such file or 
directory)
stat("/home/essigke/.icedove", 0x7fff00f27390) = -1 ENOENT (No such file or 
directory)
stat("/home/essigke/.mozilla-thunderbird", 0x7fff00f27470) = -1 ENOENT (No such 
file or directory)
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f590fed47c0) = 23953
wait4(-1, Segmentation fault
[{WIFEXITED(s) && WEXITSTATUS(s) == 139}], 0, NULL) = 23953
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(139)                         = ?

Reply via email to