bug-cvs
[Top][All Lists]
Advanced

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

[bug #24268] echo is off in terminal after interrupting the password ent


From: Johannes Dewender
Subject: [bug #24268] echo is off in terminal after interrupting the password entry using :ext and ssh
Date: Thu, 18 Sep 2008 21:40:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072612 GranParadiso/3.0.1

Follow-up Comment #7, bug #24268 (project cvs):

I was told about a tool called "strace", so I was playing around with this a
bit and found something interesting.

There was this other system I tested with:
Ubuntu Linux, 2.6.24-19 kernel
cvs 1.12.13 and openssh 4.7p1

I could not reproduce the bug on that system before BUT:

When the machine is on high load (like compiling cvs), the bug also occurs at
this machine.
I did a strace while idle (strace_ubuntu_idle)
and one with load, when the bug occurs (strace_ubuntu_load)

characteristic lines in idle:
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
--- SIGINT (Interrupt) @ 0 (0) ---
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [INT], 8) = 0
write(2, "cvs [update aborted]: received i"..., 48) = 48
close(1)                                = 0
exit_group(1)                           = ?

while the first mention line has an "ERESTARTNOHAND" error befor the sigint:
select(6, [5], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [INT], 8) = 0
write(2, "cvs [update aborted]: received i"..., 48) = 48
close(1)                                = 0
exit_group(1)                           = ?


I also did a strace of my system, which is still:
Arch Linux, kernel 2.26.5, on a PIII800Mhz
cvs 1.11.23
last part of strace_arch_piii800:
read(5, 0xb7f6e000, 4096)               = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) @ 0 (0) ---
write(2, "cvs", 3)                      = 3
write(2, " ", 1)                        = 1
write(2, "[", 1)                        = 1
write(2, "update", 6)                   = 6
write(2, " aborted]", 9)                = 9
write(2, ": ", 2)                       = 2
write(2, "received ", 9)                = 9
write(2, "interrupt", 9)                = 9
write(2, " signal", 7)                  = 7
write(2, "n", 1)                       = 1
exit_group(1)                           = ?


So I don't see much in the strace, but I suspect that this is a timeout
issue, which occurs when not much computing power is available. Like it is the
case while on 100% usage or just having an PIII 800 MHz?

I attached the 2 mentioned straces.

(file #16521, file #16522, file #16523)
    _______________________________________________________

Additional Item Attachment:

File name: strace_ubuntu_idle             Size:16 KB
File name: strace_ubuntu_load             Size:16 KB
File name: strace_arch_piii800            Size:12 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?24268>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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