[phobos] State of std.parallelism unit tests
Martin Nowak
dawg at dawgfoto.de
Wed Jun 1 11:30:47 PDT 2011
On Wed, 01 Jun 2011 07:19:29 +0200, SK <sk at metrokings.com> wrote:
> On Sat, May 28, 2011 at 6:41 PM, David Simcha <dsimcha at gmail.com> wrote:
>
>> Thanks for letting me know. I have no idea why this is happening. I
>> was
>> seeing some weirdness on FreeBSD only, but I gave up trying to solve
>> that
>> until the FreeBSD port is more stable or I can reproduce it on some
>> other
>> OS.
>>
>
> I have test case that reliably segfaults on 64-bit Fedora 14. I can
> trim it
> down to the minimal failing case if you're interested. The particular
> problem I observe occurs when trying to spread many fibers over more than
> one thread.
>
> Regards,
> -steve
Fiber multiplexing is actually broken on POSIX. It uses a global shared
ucontext_t.
You may want to have a look at
https://github.com/dawgfoto/druntime/commits/FiberFixes
martin
More information about the phobos
mailing list