Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373851 - mail-client/thunderbird-5.0 segfaults without nscd
Summary: mail-client/thunderbird-5.0 segfaults without nscd
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-02 20:19 UTC by Jens Ott
Modified: 2011-07-10 09:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Ott 2011-07-02 20:19:44 UTC
Hi,

I just updated world and thunderbird-5.0 has been installed. After update thunderbird fails to start with segfault. Some strace shows that the segfault occures after reading /etc/hosts and freeing the buffer memory. I extended filesize to the tried 4096 Bytes by adding some spaces, but still the same problem:

open("/etc/resolv.conf", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=126, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca26620000
read(3, "# Generated by NetworkManager\ndo"..., 4096) = 126
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fca26620000, 4096)            = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=126, ...}) = 0
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=126, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca26620000
read(3, "# Generated by NetworkManager\ndo"..., 4096) = 126
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fca26620000, 4096)            = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/host.conf", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=936, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca26620000
read(3, "# /etc/host.conf:\n# $Header: /va"..., 4096) = 936
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fca26620000, 4096)            = 0
futex(0x7fca23d3a5a4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/etc/hosts", O_RDONLY|O_CLOEXEC)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca26620000
read(3, "# /etc/hosts: Local Host Databas"..., 4096) = 4096
close(3)                                = 0
munmap(0x7fca26620000, 4096)            = 0
--- {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x7fca15c4b2dd} (Segmentation fault) ---
+++ killed by SIGSEGV +++
Speicherzugriffsfehler


Installing unscd makes thunderbird startung again ...

BR 
Jens

Reproducible: Always

Steps to Reproduce:
1. Install thunderbird-5.0
2. Have no nscd running
3. start thunderbird
Actual Results:  
Segfault

Expected Results:  
Running thunderbird
Comment 1 SpanKY gentoo-dev 2011-07-03 16:25:07 UTC
always post `emerge --info` in your bug reports.  please post the full strace log as an attachment, as well as the thunderbird build log.
Comment 2 Pacho Ramos gentoo-dev 2011-07-10 09:53:25 UTC
(In reply to comment #1)
> always post `emerge --info` in your bug reports.  please post the full strace
> log as an attachment, as well as the thunderbird build log.

Once you provide this info, please reopen the bug