Bug 10758 - pdksh-5.2.14-1 breaks with -x and long '>' file
Summary: pdksh-5.2.14-1 breaks with -x and long '>' file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pdksh
Version: 6.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-04-12 16:42 UTC by Pete
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-05-08 13:43:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Pete 2000-04-12 16:42:51 UTC
Running the following script:

###############################################################################
#!/bin/ksh -x

mkdir -p /tmp/.cs.wisc.edu/common/afs/partitions/
echo boo > /tmp/.cs.wisc.edu/common/afs/partitions/volinfo-biggs-vicepag
###############################################################################

dies on my Red Hat 6.1 box, with the error:

/tmp/yada[4]: internal error: alloc: freeing memory outside of block
(corrupted?)

However, if you shorten the filename of the redirect by one letter
(i.e., s/vicepag/vicepa/), or remove the -x in the invocation, it runs
fine.

I figure someone with knowledge of the code can find the fix much
faster than I can.

Thanks!!

--
Dave Thompson  <thomas.edu>

Associate Researcher                    Department of Computer Science
University of Wisconsin-Madison         http://www.cs.wisc.edu/~thomas
1210 West Dayton Street                 Phone:    (608)-262-1017
Madison, WI 53706-1685                  Fax:      (608)-262-6626
--

Comment 1 Trond Eivind Glomsrxd 2000-05-08 13:43:59 UTC
The author of pdksh is aware of the problem, and says he has a fix.

Comment 2 Trond Eivind Glomsrxd 2000-07-25 13:56:17 UTC
Fixed. Thanks for your report.

Comment 3 Bill Goodrich 2003-10-28 22:16:42 UTC
Subject: [Bug 5047]  - RH 107589 zFCP module not found on s390x
Importance: normal
References: <5047.bugzilla.com>
In-Reply-To: <5047.bugzilla.com>
X-Bugzilla-Reason: AssignedTo Reporter QAcontact
X-Bugzilla-Family: zSeries Development
Message-Id: <20031021170759.D159293B67.ibm.com>
Date: Tue, 21 Oct 2003 13:07:59 -0400 (EDT)

Do not reply to this note.  It was sent by a machine.  Instead append your
comments to the bug at the URL below.

https://bugzilla.linux.ibm.com/show_bug.cgi?id=5047


billgo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|zFCP module not found on    |RH 107589 zFCP module not
                   |s390x                       |found on s390x 


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