Thread overview | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
December 26, 2012 8505 | ||||
---|---|---|---|---|
| ||||
Attachments:
| Issue 8505 remains a threads regression problem as far as I can see. Works fine with LDC2 and DMD 2.059, fails dismally with DMD 2.060. http://d.puremagic.com/issues/show_bug.cgi?id=8505 -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
December 26, 2012 Re: 8505 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On 12/26/2012 7:30 AM, Russel Winder wrote:
> Issue 8505 remains a threads regression problem as far as I can see.
> Works fine with LDC2 and DMD 2.059, fails dismally with DMD 2.060.
>
> http://d.puremagic.com/issues/show_bug.cgi?id=8505
>
I know this is asking a lot, but very few people understand threads well enough to investigate this. Would you be willing to?
|
December 26, 2012 Re: 8505 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 12/27/2012 2:12 AM, Walter Bright пишет: > On 12/26/2012 7:30 AM, Russel Winder wrote: >> Issue 8505 remains a threads regression problem as far as I can see. >> Works fine with LDC2 and DMD 2.059, fails dismally with DMD 2.060. >> >> http://d.puremagic.com/issues/show_bug.cgi?id=8505 >> > > I know this is asking a lot, but very few people understand threads well > enough to investigate this. Would you be willing to? By looking at the code I see it's almost the same as in issue 8774. http://d.puremagic.com/issues/show_bug.cgi?id=8774 I think the root case is exactly the same - stack corruption with a nested closure. So if you have some time I'd ask you to take a look at 8774 as there are no threads nor standard library involved in the latest reduced test-case that was derived from similar code. Anyway I'm going to investigate 8505 too. -- Dmitry Olshansky |
December 27, 2012 Re: 8505 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | On 12/26/2012 2:38 PM, Dmitry Olshansky wrote: > So if you have some time I'd ask you to take a look at 8774 as there are no > threads nor standard library involved in the latest reduced test-case that was > derived from similar code. Thank you for doing the reduction. I looked at it, though, and it is terrifyingly complex :-) > > Anyway I'm going to investigate 8505 too. > Thank you. |
December 27, 2012 Re: 8505 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright Attachments:
| On Wed, 2012-12-26 at 14:12 -0800, Walter Bright wrote: […] > I know this is asking a lot, but very few people understand threads well enough to investigate this. Would you be willing to? Willing, yes; caveat actually being able to build DMD, Druntime and Phobos from Git clones. Able, not so sure, apart from 2012-12-30 and 2013-01-01 I seem to have very few free hours between now and end of February. I'll see if I can get the Git clone / build bit working to lower the barrier to entry. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
December 27, 2012 Re: 8505 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On 12/27/2012 3:37 AM, Russel Winder wrote:
> On Wed, 2012-12-26 at 14:12 -0800, Walter Bright wrote:
> […]
>> I know this is asking a lot, but very few people understand threads well enough
>> to investigate this. Would you be willing to?
>
> Willing, yes; caveat actually being able to build DMD, Druntime and
> Phobos from Git clones. Able, not so sure, apart from 2012-12-30 and
> 2013-01-01 I seem to have very few free hours between now and end of
> February.
>
> I'll see if I can get the Git clone / build bit working to lower the
> barrier to entry.
>
Thank you for giving it a go. For this issue, I don't think you need to build the compiler (just download the latest beta), but you will need to be able to build the library.
|
December 27, 2012 Re: 8505 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On 12/27/2012 03:37 AM, Russel Winder wrote: > Willing, yes; caveat actually being able to build DMD, Druntime and > Phobos from Git clones. This project may be helpful: https://github.com/carlor/dlang-workspace It has been announced here: http://forum.dlang.org/thread/ygwzndxbwzrxzlhuooty@forum.dlang.org I had to do an additional step to get it working: $ chmod a+x posix/gen.sh Ali |
December 28, 2012 Re: 8505 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli Attachments:
| On Thu, 2012-12-27 at 11:34 -0800, Ali Çehreli wrote: > On 12/27/2012 03:37 AM, Russel Winder wrote: > > > Willing, yes; caveat actually being able to build DMD, Druntime and > > Phobos from Git clones. > > This project may be helpful: > > https://github.com/carlor/dlang-workspace Sadly this does not work with symbolic links due to use of .. within a shell script that uses cd. The script needs rewriting to set up absolute paths at the outset and then work with them rather than relative paths. I guess I should do the rewrite and submit a pull request. We'll see. > It has been announced here: > > http://forum.dlang.org/thread/ygwzndxbwzrxzlhuooty@forum.dlang.org > > I had to do an additional step to get it working: > > $ chmod a+x posix/gen.sh Only needed if you want to do: $ posix/gen.sh rather than $ bash posix/gen.sh -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
December 28, 2012 Re: 8505 | ||||
---|---|---|---|---|
| ||||
Attachments:
| On Fri, 2012-12-28 at 12:34 +0000, Russel Winder wrote: > On Thu, 2012-12-27 at 11:34 -0800, Ali Çehreli wrote: > > On 12/27/2012 03:37 AM, Russel Winder wrote: > > > > > Willing, yes; caveat actually being able to build DMD, Druntime and > > > Phobos from Git clones. > > > > This project may be helpful: > > > > https://github.com/carlor/dlang-workspace > > Sadly this does not work with symbolic links due to use of .. within a shell script that uses cd. The script needs rewriting to set up absolute paths at the outset and then work with them rather than relative paths. > > I guess I should do the rewrite and submit a pull request. We'll see. It also needs to have a clean as well as a generate. Looks like a sever rewrite is coming up! -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
December 28, 2012 Re: 8505 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli Attachments:
| On Thu, 2012-12-27 at 11:34 -0800, Ali Çehreli wrote: > On 12/27/2012 03:37 AM, Russel Winder wrote: > > > Willing, yes; caveat actually being able to build DMD, Druntime and > > Phobos from Git clones. > > This project may be helpful: > > https://github.com/carlor/dlang-workspace Also I think this needs to be made into a Git multi-module project so that the cloning and update pulling of the repositories is handled automatically by Git. I have rewritten the script to handle symbolic links and cleaning but this still leaves a problem with one of the components which insists on an exact relative position of components as real directories. This means there are too many assumptions in the DMD/Druntime/Phobos build for it to be considered stable. Whilst I think SCons can easily handle all this better than the Make scripts currently there, I have no intention of promoting that solution as I realize many want to promote a D-based build solution for C, C++, D systems. Also of course, I am a n00b to the build of DMD/Druntime/Phobos and so have no right to have strong opinions :-) What I can say is that the current system isn't really up to scratch for someone wading in to it from scratch. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
Copyright © 1999-2021 by the D Language Foundation