Bug#347695: bash: segfault in "while read" loop

2006-01-12 Thread Justin Pryzby
tag 347695 confirmed thanks You can get the 'segmentation fault' message with the command: seq 0 1 | while read line; do /bin/echo $line; done >tmpout And here is the stack trace for Debian's bash3.1-2: #0 0x0807b851 in kill_pid () #1 0x0807bdf7 in wait_for () #2 0x0806dcaf in execute_

Bug#347695: bash: segfault in "while read" loop

2006-01-11 Thread Laird Breyer
Package: bash Version: 3.1-1 Severity: normal The following command segfaults at line 4097: % seq 0 1 | while read line; do /bin/echo $line ; done | tail -2 4095 4096 The seq, echo and tail commands are for illustration only, they are not related to the bug. I originally discovered the bug w