[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
read -t 0 causes segfault on SIGINT
From: |
hcz |
Subject: |
read -t 0 causes segfault on SIGINT |
Date: |
Tue, 20 Sep 2005 20:24:25 +0200 |
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2
uname output: Linux tazzelwurm 2.6.13hcz1h #9 Sun Sep 18 13:23:52 CEST 2005
i686 GNU/Linux
Machine Type: i486-pc-linux-gnu
Bash Version: 3.0
Patch Level: 16
Release Status: release
Description:
While looking for a non-blocking read: See below.
Repeat-By:
hcz@tazzelwurm:~$ bash
hcz@tazzelwurm[2]:~$ while sleep 1; do read -t 0; done
... type ^C ...
Segmentation fault
hcz@tazzelwurm:~$
Fix:
I don't think that anybody really needs an urgent fix.
Greetings,
Heike
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- read -t 0 causes segfault on SIGINT,
hcz <=