[Issue 7293] dmd 2.057 segfault/crash - std.regex.match(string, string)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 27 08:44:39 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7293


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com


--- Comment #3 from yebblies <yebblies at gmail.com> 2012-01-28 03:44:29 EST ---
On win32 I get the following:

DMD v2.058 DEBUG
..\..\phobos\std\regex.d(6278): Error: malloc cannot be interpreted at compile
t
ime, because it has no available source code
..\..\phobos\std\regex.d(6278):        called from here:
enforce(malloc(size),de
legate pure nothrow @safe const(char)[]()
{
return null;
}
)
..\..\phobos\std\regex.d(6449):        called from here:
(RegexMatch!(string,Tho
mpsonMatcher) __ctmp919 =
_D3std5regex50__T10RegexMatchTAyaS273std5regex15Thomps
onMatcherZ10RegexMatch6__initZ;
 , __ctmp919).this(regex(re,""),input)
testx.d(4):        called from here: match("","")

So it might actually be ice_on_invalid code... and also a phobos bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list