groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Re: valgrind again


From: Ralph Corderoy
Subject: Re: [Groff] Re: valgrind again
Date: Tue, 25 Feb 2003 14:34:47 +0000

Hi Colin,

> > Just to say that I, like someone else recently on the list, have
> > just experienced problems with updating from CVS.  This is on Red
> > Hat 7.2 with cvs RPM cvs-1.11.1p1-8.7 -- I updated to this recently
> > following a security fix.
> > 
> > >From what I could see with strace the client was reading EOF from
> > >the
> > server but then forgot about that and tried to read again, blocking
> > (forever?).
> 
> I noticed it being very slow to close the connection after updating
> tmac/www.tmac, but it did eventually manage to finish - I think it
> took 30 seconds or so.

Some of my `hangs' stopped at this point too.

    $ cvs -f -z 3 up -dP
    ...
    cvs server: Updating src/utils/tfmtodit
    cvs server: Updating src/xditview
    cvs server: Updating tmac

strace leading up to this is

    open(".", O_RDONLY)                 = 6
    chdir("arch/djgpp")                 = 0
    open("CVS/Tag", O_RDONLY)           = -1 ENOENT (No such file or directory)
    open("CVS/Entries", O_RDONLY)       = 7
    fstat64(7, {st_mode=S_IFREG|0644, st_size=223, ...}) = 0
    old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
        = 0x4001a000
    read(7, "/README/1.6/Mon Nov 13 16:51:27 "..., 4096) = 223
    read(7, "", 4096)                   = 0
    close(7)                            = 0
    munmap(0x4001a000, 4096)            = 0
    open("CVS/Entries.Log", O_RDONLY)   = -1 ENOENT (No such file or directory)
    access("CVS/Entries.Log", F_OK)     = -1 ENOENT (No such file or directory)
    fchdir(6)                           = 0
    close(6)                            = 0
    close(5)                            = 0
    open("arch", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
    fstat64(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    fcntl64(0x5, 0x2, 0x1, 0x812d320)   = 0
    getdents64(0x5, 0x81a9040, 0x1000, 0)   = 104
    open(".", O_RDONLY)                 = 6
    chdir("arch")                       = 0
    open("CVS/Tag", O_RDONLY)           = -1 ENOENT (No such file or directory)
    open("CVS/Entries", O_RDONLY)       = 7
    fstat64(7, {st_mode=S_IFREG|0664, st_size=12, ...}) = 0
    old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
        = 0x4001a000
    read(7, "D/djgpp////\n", 4096)      = 12
    read(7, "", 4096)                   = 0
    close(7)                            = 0
    munmap(0x4001a000, 4096)            = 0
    open("CVS/Entries.Log", O_RDONLY)   = -1 ENOENT (No such file or directory)
    access("CVS/Entries.Log", F_OK)     = -1 ENOENT (No such file or directory)
    fchdir(6)                           = 0
    close(6)                            = 0
    close(5)                            = 0
    write(3, "\3\0\202g\256\335", 6)    = 6
    read(4, 

And then it stops.  I've let it sit there for 40+ minutes.

I've tried a checkout from scratch instead of an update.  Similiar
behaviour.

    ...
    U groff/tmac/tty-char.tmac
    U groff/tmac/tty.tmac
    U groff/tmac/www.tmac

    write(5, "/.cvsignore/1.3/Wed Sep 18 14:03"..., 2527) = 2527
    close(5)                                = 0
    munmap(0x4001a000, 4096)                = 0
    rename("CVS/Entries.Backup", "CVS/Entries") = 0
    unlink("CVS/Entries.Log")               = 0
    chdir("/home/ralph/code/groff/x")       = 0
    write(3, "\3\0Q\213#\213", 6)           = 6
    read(4, 

Cheers,


Ralph.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]