Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2006 18:37:20 GMT
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/92817: ksh93: history does not work
Message-ID:  <200602041837.k14IbK9L096814@www.freebsd.org>
Resent-Message-ID: <200602041840.k14Ie3S9040105@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92817
>Category:       ports
>Synopsis:       ksh93: history does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 04 18:40:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        6.0
>Organization:
>Environment:
FreeBSD traszkan.ds7 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Fri Feb  3 08:40:38 CET 2006     trasz@traszkan.ds7:/usr/obj/usr/src/sys/TRASHCAN  i386
>Description:
in ksh93 installed from ports (ksh93-20060124), 'history'
command fails:

[trasz@traszkan:~]$ ksh93
[u@h:w]$ hist
ksh93: hist: history file cannot open [Cannot allocate memory]

truss shows this:

[..]

open(".bash_history",0x20a,0600)                 = 3 (0x3)
lseek(3,0x0,SEEK_END)                            = 0 (0x0)
fcntl(3,F_SETFD,0x1)                             = 0 (0x0)
break(0x48159bc8)                                ERR#12 'Cannot allocate memory'
break(0x48159bc8)                                ERR#12 'Cannot allocate memory'
mmap(0x0,1073758208,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) ERR#12 'Cannot allocate memory
'
close(3)                                         = 0 (0x0)

my ~/.bash_history is empty.

>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602041837.k14IbK9L096814>