lkml.org 
[lkml]   [2009]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [LTP] Char Limit issue on 2.6.29 kernels
naresh kamboju wrote:
> Hi Mike,
>
> On Fri, Jul 24, 2009 at 11:19 PM, Mike Frysinger<vapier@gentoo.org> wrote:
>> On Friday 24 July 2009 11:31:59 naresh kamboju wrote:
>>> I have come across with char Limit issue on 2.6.29 kernels.
>>>
>>>
>>> SIGFAULT:
>>>
>>> #define SIZE � � � � � �8053759
>>> char buf1[SIZE] ;
>>>
>>> NO SIGFAULT:
>>>
>>> #define SIZE � � � � � �8053758
>>> char buf1[SIZE] ;
>>>
>>> This SIGFAULT not observed on 2.6.23 kernels.
>> -ENOINFO
>>
>> post some actual code rather than saying "i declared a large buffer and things
>> crashed".
>
> currently i am debugging this issue.
> i'll come up with more details.

Some more feedback...

It's SEGFAULT - short for "Segmentation Fault", not SIGFAULT.

Please include in your details at least the following:
* what software this is in (is this declaration in the kernel?, a library, a
user space program, etc.)
* what operation is being performed when the SEGFAULT occurs.
* what compiler you are using.
* the code surrounding the operation when the fault occurs

If you can, make the smallest possible program that reproduces this error,
and send the complete source for that.
-- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-07-24 20:29    [W:0.064 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site