ports/92817: ksh93: history does not work

trasz trasz at pin.if.uz.zgora.pl
Sat Feb 4 18:40:05 UTC 2006


>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 at traszkan.ds7:/usr/obj/usr/src/sys/TRASHCAN  i386
>Description:
in ksh93 installed from ports (ksh93-20060124), 'history'
command fails:

[trasz at traszkan:~]$ ksh93
[u at 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:



More information about the freebsd-ports-bugs mailing list