This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ubsan and Dejagnu not having a big enough buffer in some cases
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Segher Boessenkool <segher at kernel dot crashing dot org>, Senthil Kumar Selvaraj <senthil_kumar dot selvaraj at atmel dot com>, Richard Biener <richard dot guenther at gmail dot com>, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Wed, 20 Jul 2016 14:09:48 -0700
- Subject: Re: ubsan and Dejagnu not having a big enough buffer in some cases
- Authentication-results: sourceware.org; auth=none
- References: <CA+=Sn1ksu8xZ_tRrUNuYrqCgtKbnrveE9BYv+Pmv4SOVoxNb0w@mail.gmail.com> <54A452E1-068D-4AB3-A3AE-6D73E5E96FB8@gmail.com> <87inw0ixqm.fsf@atmel.com> <20160720202105.GA32053@gate.crashing.org> <1f6dc6d4-7f60-58fd-8db9-fadd1b90716b@redhat.com> <CA+=Sn1kUg7Q+pKCcWYANYXa+FETtQ0MYWefGU6yuuytVn8okwA@mail.gmail.com>
On Wed, Jul 20, 2016 at 2:02 PM, Andrew Pinski <pinskia@gmail.com> wrote:
> On Wed, Jul 20, 2016 at 1:32 PM, Jeff Law <law@redhat.com> wrote:
>> On 07/20/2016 02:21 PM, Segher Boessenkool wrote:
>>>
>>> On Wed, Jul 20, 2016 at 12:48:09PM +0530, Senthil Kumar Selvaraj wrote:
>>>>>
>>>>> I see this for some of the larger C frontend tests with lots of expected
>>>>> errors/warnings as well.
>>>
>>>
>>> I also see this for tests with small output, but it happens more
>>> often for tests with big output.
>>>
>>>> Are you guys getting this everytime or is it sporadic?
>>>
>>>
>>> Not always, but usually. It seems related to how busy the system is,
>>> but that could be my imagination.
>>>
>>> It usually happens for a bunch of tests at the same time.
>>>
>>> Not always is the output just cut short: some random characters
>>> are inserted sometimes (in the individual log files, the consolidated
>>> log file does not have those; it looks like pointers).
>>
>> Hmm, there was a kernel bug a while back which had similar behavior. What
>> kernel version are you running?
>
> I am running with 4.2. Let me find the old email and see I should
> include it in our tree (I thought we did).
Found it. It looks like it was not put in yet:
https://bugzilla.kernel.org/show_bug.cgi?id=96311
I know Jakub asked about a year ago saying it was not 4.1-rc1 yet.
Can someone look to see if it even made it into newer kernels?
Thanks,
Andrew Pinski
>
> Thanks,
> Andrew
>
>>
>> jeff