Windows: Throwing Exceptions from Fibers in D2.059: Access Violation

Sean Kelly sean at invisibleduck.org
Mon May 28 10:06:21 PDT 2012


On May 28, 2012, at 1:19 AM, Manu <turkeyman at gmail.com> wrote:

> On 24 May 2012 21:08, Sean Kelly <sean at invisibleduck.org> wrote:
> On May 22, 2012, at 9:17 AM, Manu wrote:
> 
> > On 21 May 2012 19:16, David Nadlinger <see at klickverbot.at> wrote:
> > On Monday, 21 May 2012 at 15:04:56 UTC, Manu wrote:
> > How far did you get using Fibers on Windows in the end?
> > I'm using GDC for x64 Windows, and it crashes in call(), but before it
> > enters the fibre function. I think it's just broken... :/
> > Anyone else had problems?
> >
> > Fiber support should be reasonably stable on pretty much all flavors of Windows when using DMD (i.e. compiling for 32 bit). Never tested GDC…
> >
> > Mmm, I just ran some tests with DMD, seems to work. GDC, not so much :(
> 
> Is GDC broken for both 32 and 64 bit, or just 64 bit?
> 
> I haven't tested x32, I work with x64 exclusively.

The x64 fiber code isn't very well tested. It's possible something got missed for setting up the stack properly. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120528/85fd2feb/attachment-0001.html>


More information about the Digitalmars-d mailing list