On Wednesday 2015-05-06 05:46, long.wanglong wrote:
>
>int main(int argc, char** argv)
>{
>rlim.rlim_cur=20 MB;
>rlim.rlim_max=20 MB;
>ret = setrlimit(RLIMIT_AS, );
>[...]
>char tmp[20 MB];
>for (i = 0; i < 20 MB; i++)
>tmp[i]=1;
if tmp already takes 20 MB, where
On 2015/5/6 16:20, Hillf Danton wrote:
>>
>> Hi all:
>>
>> I meet a kernel problem about the random segmentation fault(x86_64). In my
>> testcase, the size of local variables exceeds 20MB.
>> when run the testcase, it will cause segmentation fault(because the default
>> stack size limit is
>
> Hi all:
>
> I meet a kernel problem about the random segmentation fault(x86_64). In my
> testcase, the size of local variables exceeds 20MB.
> when run the testcase, it will cause segmentation fault(because the default
> stack size limit is 8192KB).
> when I increase the stack size limit
On 2015/5/6 16:20, Hillf Danton wrote:
Hi all:
I meet a kernel problem about the random segmentation fault(x86_64). In my
testcase, the size of local variables exceeds 20MB.
when run the testcase, it will cause segmentation fault(because the default
stack size limit is 8192KB).
when I
Hi all:
I meet a kernel problem about the random segmentation fault(x86_64). In my
testcase, the size of local variables exceeds 20MB.
when run the testcase, it will cause segmentation fault(because the default
stack size limit is 8192KB).
when I increase the stack size limit to
On Wednesday 2015-05-06 05:46, long.wanglong wrote:
int main(int argc, char** argv)
{
rlim.rlim_cur=20 MB;
rlim.rlim_max=20 MB;
ret = setrlimit(RLIMIT_AS, rlim);
[...]
char tmp[20 MB];
for (i = 0; i 20 MB; i++)
tmp[i]=1;
if tmp already takes 20 MB, where will
Hi all:
I meet a kernel problem about the random segmentation fault(x86_64). In my
testcase, the size of local variables exceeds 20MB.
when run the testcase, it will cause segmentation fault(because the default
stack size limit is 8192KB).
when I increase the stack size limit to
Hi all:
I meet a kernel problem about the random segmentation fault(x86_64). In my
testcase, the size of local variables exceeds 20MB.
when run the testcase, it will cause segmentation fault(because the default
stack size limit is 8192KB).
when I increase the stack size limit to
8 matches
Mail list logo