[phobos] [D-Programming-Language/phobos] 601c75: Improve parsing error handling

Brad Roberts braddr at puremagic.com
Sun Sep 4 22:49:00 PDT 2011


On 9/4/2011 10:31 PM, Jonathan M Davis wrote:
> On Sunday, September 04, 2011 22:12:35 Walter Bright wrote:
>> On 9/4/2011 10:03 PM, Walter Bright wrote:
>>> This causes the std.conv unittests to fail on linux with a seg fault.
>>
>> Please fix as this is blocking the beta.
> 
> A fix has been merged in. It looks like std.conv.parse (which takes a string by 
> ref) was accepting string literals and then segfaulting on them.
> 
> - Jonathan M Davis

This doesn't feel like a fix so much as a workaround.  It doesn't segfault, which is good, but it leaves the underlying
problem ready to recur pretty easily.  Is there a problem with spec, the compiler implementation, phobos, ...?



More information about the phobos mailing list