8.0-BETA2r195818M - tar: Out of memory: Cannot allocate memory

From: Henri Hennebert <hlh_at_restart.be>
Date: Wed, 22 Jul 2009 18:35:31 +0200
Trying to `portupgrade -fu` all my ports I encounter a strange problem:

tar: Out of memory: Cannot allocate memory


to dig a little:

[root_at_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.
Received on Wed Jul 22 2009 - 14:35:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC