Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 23:58:08 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Dmitry Sivachenko <trtrmitya@gmail.com>
Cc:        stable@freebsd.org
Subject:   Re: fsck dumps core
Message-ID:  <530B7A20.7010504@grosbein.net>
In-Reply-To: <417919B7-C4D7-4003-9A71-64C4C9E73678@gmail.com>
References:  <417919B7-C4D7-4003-9A71-64C4C9E73678@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?530B7A20.7010504>