On Sun, Nov 21, 2004 at 09:11:15PM +0100, Jan Lühr wrote:
> the bug appears in sarge right now. strace follows.
> 
> [...]
> read(0, "<", 1)                         = 1
> [...]
> read(0, "h", 1)                         = 1
> alarm(0)                                = 1
> ioctl(1, TIOCGWINSZ, {ws_row=38, ws_col=124, ws_xpixel=0, ws_ypixel=0}) = 0
> write(1, "h", 1)                        = 1
> fcntl64(0, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> read(0, 0x808f564, 1)                   = -1 EAGAIN (Resource temporarily 
> unavailable)
> fcntl64(0, F_SETFL, O_RDONLY)           = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++

I can't reproduce this. Here it does:

read(0, "h", 1)                         = 1
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(1, TIOCGWINSZ, {ws_row=24, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
write(1, "h", 1)                        = 1
fcntl64(0, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
read(0, 0x809c580, 1)                   = -1 EAGAIN (Resource temporarily unavai
fcntl64(0, F_SETFL, O_RDONLY)           = 0
rt_sigaction(SIGALRM, {0x8067940, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={1, 0}}, NULL) = 0
time(NULL)                              = 1144017301
fcntl64(0, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
read(0, 0x809c580, 1)                   = -1 EAGAIN (Resource temporarily unavai
fcntl64(0, F_SETFL, O_RDONLY)           = 0
ioctl(1, TIOCGWINSZ, {ws_row=24, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
fcntl64(0, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
read(0, 0x809c580, 1)                   = -1 EAGAIN (Resource temporarily unavai
fcntl64(0, F_SETFL, O_RDONLY)           = 0
time(NULL)                              = 1144017301
write(1, "\33[1;52H\33[7m3\r\n\33[2C", 18) = 18
fcntl64(0, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
[...]

Can you build it with debugging symbols and run it in gdb?

-- 
     2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to