www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11182] New: dmd crashes on compiling regex

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11182

           Summary: dmd crashes on compiling regex
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: pycerl qq.com


--- Comment #0 from Zhouxuan <pycerl qq.com> 2013-10-06 08:29:49 PDT ---
import std.regex;

void main()
{
    enum r = ctRegex!(`*`);    //crash
    enum r = ctRegex!(`[^]`);  //crash
    enum r = ctRegex!(`[/]`);  //link error only with -debug
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 06 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11182



--- Comment #1 from Zhouxuan <pycerl qq.com> 2013-10-06 11:21:28 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2635

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 06 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11182



--- Comment #2 from Zhouxuan <pycerl qq.com> 2013-10-06 11:24:22 PDT ---
link error still exists, I've no idea how to debug phobos, is there a guidance
on this topic?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 06 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11182



--- Comment #3 from github-bugzilla puremagic.com 2013-10-11 11:42:57 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/9f30e94d7d1f02090f85639c080ed3bedfedb7b3
Fix issue 11182 - dmd crashes on compiling regex

https://github.com/D-Programming-Language/dmd/commit/e68fac3ce94c8fd64fdc21554bfcc933bdc9b169
Merge pull request #2635 from elvisxzhou/bug11182

Fix bug 11182 - dmd crashes on compiling regex

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 11 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11182


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 11 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11182


kekeniro2 yahoo.co.jp changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kekeniro2 yahoo.co.jp


--- Comment #4 from kekeniro2 yahoo.co.jp 2013-10-12 21:03:34 PDT ---
(In reply to comment #2)
 link error still exists, I've no idea how to debug phobos, is there a guidance
 on this topic?
I posted Issue 11239. It should be the same. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 12 2013