[mew-int 01692] Re: incm

Francesco Scaglioni fgs at example.com
Mon Dec 8 20:33:23 JST 2003


Hi,

> From: Francesco Scaglioni <fgs at example.com>
> Subject: Re: [mew-int 01684] incm
> Date: Fri, 05 Dec 2003 16:25:31 +0000 (GMT)
> 
> > I ran strace as you suggested and to my untutored eye the
> > following lines seem to be indicative of a problem:
> > 
> > open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file
> > or directory)
> > .
> > stat64("/home/fgs/Maildir", 0xbffff550) = -1 ENOENT (No such file or directory)
> > .
> > .
> > .
> > access("/var/run/utmpx", F_OK)          = -1 ENOENT (No such file or directory)
> > open("/var/run/utmp", O_RDWR)           = -1 EACCES (Permission
> > denied)
> > .
> > .
> > 
> > open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
> 
> These does not give any indication of problems. 
> 
> Do you see anything like this in the trace:
> 
>    stat("/home/fgs/Mail/inbox", {st_mode=S_IFDIR|0700, st_size=28672, ...}) 
>    = 0
>    
>    access("/home/fgs/Mail/inbox", W_OK) = 0
>    
>    open("/home/fgs/Mail/inbox", O_RDONLY|O_NONBLOCK|0x18000) = 3
>    
>    fstat(3, {st_mode=S_IFDIR|0700, st_size=28672, ...}) = 0
> 
>    open("/var/spool/mail/fgs.lock", O_WRONLY|O_CREAT|O_EXCL, 017777762134) = 3
> 

Here is a section of the strace output that seems to semi-match
the above in response to the command : 

strace /usr/local/bin/incm -d /var/spool/mail/fgs -i $HOME/Mail/inbox


(I reinstalled to default /usr/local in case that was an issue)

...

stat64("/var/mail/fgs", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
stat64("/home/fgs/Mail/inbox", {st_mode=S_IFDIR|0700, st_size=512, ...}) = 0
access("/home/fgs/Mail/inbox", W_OK)    = 0
stat64("/var/spool/mail/fgs", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/home/fgs/Mail/inbox", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0700, st_size=512, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
brk(0)                                  = 0x8091000
brk(0x8092000)                          = 0x8092000
getdents64(3, /* 20 entries */, 4096)   = 512
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
open("/var/spool/mail/fgs.lock", O_WRONLY|O_CREAT|O_EXCL, 027777763150) = 3
write(3, "0", 1)                        = 1
close(3)                                = 0
open("/var/spool/mail/fgs", O_RDWR)     = 3
flock(3, LOCK_EX)                       = 0
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
_llseek(3, 0, [0], SEEK_CUR)            = 0
brk(0)                                  = 0x8092000
brk(0x8093000)                          = 0x8093000
read(3, "", 4096)                       = 0
ftruncate(3, 0)                         = 0
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
unlink("/var/spool/mail/fgs.lock")      = 0
exit_group(0)



More information about the Mew-int mailing list