stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: status of thread safety tests
Date Wed, 27 Jun 2007 15:21:41 GMT
Farid Zaripov wrote:
>> -----Original Message-----
>> From: Mark Brown [mailto:mbrown@inbox.com] 
>> Sent: Tuesday, June 26, 2007 5:06 PM
>> To: stdcxx-dev@incubator.apache.org
>> Subject: RE: status of thread safety tests
>>
>> 22.locale.num.put.mt gets a SIGSEGV on my system (Fedora 6) 
>> even with a single thread. Here's the output of gdb:
> 
>   The same trouble on MSVC. And I found the problem.
> 
>     struct Ios: std::ios {
>     } io;
> 
>   Here should be defined ctor invoking ios_base::init() according to
> 27.4.2.7 p1: Ios () { this->init (0); }

Good catch! I'll need to look into why it didn't fail before (it should
so we don't miss it in the future).

> 
>   The same bug present in 22.locale.money.put.mt and
> 22.locale.time.put.mt tests.
> 
>   Fixed thus: http://svn.apache.org/viewvc?view=rev&rev=550833

Thanks!

> 
>   I'm not sure if this patch resolves the STDCXX-450 issue.

We'll know more after we've run it through the thread checker. Btw.,
it seems like it could be a useful tool. You might want to download
it and experiment with it.

Martin

Mime
View raw message