[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash aborts when interrupting read from /dev/zero
From: |
klausf |
Subject: |
bash aborts when interrupting read from /dev/zero |
Date: |
Thu, 26 Oct 2000 14:55:52 +0200 (MET DST) |
Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.6
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
-DCONF_OSTYPE='solaris2.6' -DCONF_MACHTYPE='sparc-sun-solaris2.6'
-DCONF_VENDOR='sun' -DSHELL -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I. -I./include -I./lib
-I/usr/local/include -g -O2
uname output: SunOS jennifer 5.6 Generic_105181-13 sun4u sparc SUNW,Ultra-1
Machine Type: sparc-sun-solaris2.6
Bash Version: 2.04
Patch Level: 0
Release Status: release
Description:
The read builtin aborts when interrupted while reading from /dev/zero:
#0 0xef60820c in _end ()
#1 0xef5ba594 in _end ()
#2 0x3c8c0 in programming_error (
format=0x980c8 "free: called with already freed block argument")
at error.c:258
#3 0x84248 in free (mem=0xc5810) at malloc.c:691
#4 0x5c190 in xfree (string=0xc5810) at xmalloc.c:129
#5 0x4de84 in run_unwind_protects_internal () at unwind_prot.c:187
#6 0x4dccc in without_interrupts (
function=0x4de54 <run_unwind_protects_internal>, arg1=0x0, arg2=0x0)
at unwind_prot.c:82
#7 0x4ddc8 in run_unwind_protects () at unwind_prot.c:136
#8 0x4ebc4 in throw_to_top_level () at sig.c:373
#9 0x4ed9c in sigint_sighandler (sig=2) at sig.c:446
#10 0xef5b89dc in _end ()
#11 0x84b8c in zread (fd=0, buf=0xb1174 "", len=128) at zread.c:47
#12 0x84c40 in zreadc (fd=0, cp=0xeffff677 "") at zread.c:99
#13 0x64a14 in read_builtin (list=0x0) at ./read.def:335
Repeat-By:
Enter "read</dev/zero" and hit Control-C
- bash aborts when interrupting read from /dev/zero,
klausf <=