[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some gnustep-base tests are randomly failing
From: |
Richard Frith-Macdonald |
Subject: |
Re: some gnustep-base tests are randomly failing |
Date: |
Thu, 27 Oct 2011 09:19:25 +0100 |
On 26 Oct 2011, at 15:32, David Chisnall wrote:
> I was getting valgrind errors from something in the XML propertly list
> serialisation / user defaults stuff on program start a little while ago. It
> went away, so I assumed it was fixed, but it's possible that it just went
> away because the contents of my defaults changed...
>
> I now see a valgrind error in dlopen() form NSBundle. It seems to try
> reading 8 bytes past the end of the string returned by
> -fileSystemRepresentation. I didn't have time to check if it's a bug in
> GNUstep or in libc yet.
>
> David
>
> On 26 Oct 2011, at 15:24, Sebastian Reitenbach wrote:
>
>> Hi,
>>
>> attached are a couple of backtraces of kind of randomly failing gnustep-base
>> tests. I tested on OpenBSD 5.0 -current i386. I tested the following
>> combinations, whichever doesn't matter:
>>
>> gcc-4.2.1 with gcc system libobjc
>> gcc-4.2.1 with libobjc2 svn
>> clang-3.0rc1 with gcc system libobjc
>> clang-3.0rc1 with libobjc2 svn
>>
>> so the compiler doesn't seem to matter, nor which libobjc is used. For me it
>> seems that some buffers are read/written past its end.
I can't reproduce any problems here ... but I'd guess that the most likely
culprit for buffer overruns would be the changes I made recently to support
UTF-8 in string literals. It could be that there's a system or (more likely)
locale specific bug to do with converting to/from UTF-8 in some situation.
- some gnustep-base tests are randomly failing, Sebastian Reitenbach, 2011/10/26
- Re: some gnustep-base tests are randomly failing, David Chisnall, 2011/10/26
- Re: some gnustep-base tests are randomly failing,
Richard Frith-Macdonald <=
- Re: some gnustep-base tests are randomly failing, Sebastian Reitenbach, 2011/10/28
- Re: some gnustep-base tests are randomly failing, Fred Kiefer, 2011/10/28
- Re: some gnustep-base tests are randomly failing, Sebastian Reitenbach, 2011/10/28
- Re: some gnustep-base tests are randomly failing, Richard Frith-Macdonald, 2011/10/28
- Re: some gnustep-base tests are randomly failing, Fred Kiefer, 2011/10/28
- Re: some gnustep-base tests are randomly failing, Richard Frith-Macdonald, 2011/10/28
- Re: some gnustep-base tests are randomly failing, Fred Kiefer, 2011/10/29
- Re: some gnustep-base tests are randomly failing, Stefan Bidi, 2011/10/28
- Re: some gnustep-base tests are randomly failing, Richard Frith-Macdonald, 2011/10/28
- Re: some gnustep-base tests are randomly failing, Sebastian Reitenbach, 2011/10/28