fsck dumps core

Dmitry Sivachenko trtrmitya at gmail.com
Mon Feb 24 17:19:13 UTC 2014


On 24 февр. 2014 г., at 20:58, Eugene Grosbein <eugen at grosbein.net> wrote:

> On 24.02.2014 20:54, Dmitry Sivachenko wrote:
>> Hello!
>> 
>> FreeBSD 10.0-STABLE #0 r262016M
>> 
>> # fsck /dev/mfid0p1
>> ** /dev/mfid0p1
>> Segmentation fault
>> #
>> 
>> truss shows:
>> lseek(3,0x2b0000,SEEK_SET)                       = 2818048 (0x2b0000)
>> read(3,"\0\0\0\0lo\0\0\0\^N\0\0\0\0\0\0"...,32768) = 32768 (0x8000)
>> lseek(3,0x2b8000,SEEK_SET)                       = 2850816 (0x2b8000)
>> read(3,"\0\0\0\0lo\0\0\0\^N\0\0\0\0\0\0"...,12288) = 12288 (0x3000)
>> mmap(0x0,-1119879168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) ERR#12 'Cannot allocate memory'
>> SIGNAL 11 (SIGSEGV)
>> process exit, rval = 0
> 
> ERR#12 may point to some memory limits.
> Show output of 'limits' command and try to raise memory limits, if any.
> 


# limits -a
Resource limits (current):
  cputime              infinity secs
  filesize             infinity kB
  datasize             33554432 kB
  stacksize              524288 kB
  coredumpsize         infinity kB
  memoryuse            infinity kB
  memorylocked         infinity kB
  maxprocesses            26946
  openfiles              140000
  sbsize               infinity bytes
  vmemoryuse           infinity kB
  pseudo-terminals     infinity
  swapuse              infinity kB



More information about the freebsd-stable mailing list