Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 130291

Summary: smtptools usmtpd and /etc/localtime
Product: Gentoo Linux Reporter: Stefan de Konink <stefan>
Component: [OLD] ServerAssignee: Andrej Kacian (RETIRED) <ticho>
Status: RESOLVED NEEDINFO    
Severity: normal CC: net-mail+disabled
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan de Konink 2006-04-17 13:06:39 UTC
I'm tryingout usmtpd which is not pretty usefull without tcpserver (part of ucspi-tcp). Now the part that actually wonders me. The program just don't seem to work. For me it ends with a segmentation fault while parsing /etc/localtime.

open("/etc/localtime", O_RDONLY)        = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab2d6bc7000
read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0\0"..., 4096) = 2917
close(5)                                = 0
munmap(0x2ab2d6bc7000, 4096)            = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2007-01-02 18:39:41 UTC
Hm, can you provide a gdb backtrace? (Sorry for not responding sooner)
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2007-09-30 15:17:37 UTC
Please provide a gdb backtrace, preferably to upstream - it's a bug in their code.