Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 18:35:31 +0200
From:      Henri Hennebert <hlh@restart.be>
To:        freebsd-current@freebsd.org
Subject:   8.0-BETA2r195818M  - tar: Out of memory: Cannot allocate memory
Message-ID:  <4A673FD3.3020701@restart.be>

next in thread | raw e-mail | index | archive | help
Trying to `portupgrade -fu` all my ports I encounter a strange problem:

tar: Out of memory: Cannot allocate memory


to dig a little:

[root@morzine ~]# truss /usr/bin/bsdtar cvf /tmp/etc.tar /etc
__sysctl(0x9fbfe604,0x2,0x9fbfe60c,0x9fbfe610,0x0,0x0) = 0 (0x0)
mmap(0x0,320,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 671682560 (0x28091000)
munmap(0x28091000,320)				 = 0 (0x0)

<clip>

__acl_get_file(0x2841a100,0x2,0x28474000,0x280c9440,0x2846013c,0x2841a100)
ERR#45 'Operation not supported'
__acl_get_file(0x2841a100,0x3,0x28474000,0x280c9440,0x0,0x2841a100)
ERR#45 'Operation not supported'
extattr_list_link(0x2841a100,0x1,0x0,0x0,0x3,0x0) = -1492922980 (0xa703cd9c)
mmap(0x0,-1492123648,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0)
ERR#12 'Cannot allocate memory'
bsdtar: write(2,"bsdtar: ",8)				 = 8 (0x8)
Out of memorywrite(2,"Out of memory",13)			 = 13 (0xd)

Strange this negative arg in mmap!

I boot from zfs and my root is on zfs.

Thanks for any clue

Henri

PS. I rebuild and reinstall world and kernel to no avail.




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