Bug 180777 - Bash crashes with "time" as first command
Bash crashes with "time" as first command
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: bash (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2006-02-10 04:29 EST by Göran Uddeborg
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-10 04:41:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Göran Uddeborg 2006-02-10 04:29:48 EST
Description of problem:
When "time" is given as the first command of a fresh invocation of bash, it
crashes with a segmentation fault

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:
1. env - bash
2. time
Actual results:
Segmentation violation of the bash process.

Expected results:
Zero times

Additional info:
I have only seen it if "time" is the very first command of the new shell.
Comment 1 Tim Waugh 2006-02-10 04:41:11 EST
This is fixed in newer versions of the bash package.  Thanks for the report.

Note You need to log in before you can comment on or make changes to this bug.