fsck dumps core

Eugene Grosbein eugen at grosbein.net
Mon Feb 24 17:18:52 UTC 2014


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.

Eugene Grosbein




More information about the freebsd-stable mailing list