[Issue 10891] regression(2.063.2 => v2.064-devel-a3e447c): Error: function std.uni.TrieBuilder

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 25 16:07:29 PDT 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-08-25 16:07:28 PDT ---
Confirmed, with:

dscanner - 42cf96c6d24bb21ad076ac81d37211f2c389057a
dmd - 1399b1f7b94ef1c1b24f2ce842b6f247e2e1fc52
phobos - 153034ccf843cc00052ede6febc79a3d26bd1dff

Also, DMD crashes after the error. Stack trace:

0018f9c0 004e7dbd image00400000!FuncDeclaration::toObjFile+0x4a
[C:\dmd-git\dmd2\src\dmd\src\glue.c @ 553]
0018f9ec 004e86ea image00400000!StructDeclaration::toObjFile+0x14e
[C:\dmd-git\dmd2\src\dmd\src\toobj.c @ 988]
0018fa14 004e099c image00400000!TemplateInstance::toObjFile+0x9b
[C:\dmd-git\dmd2\src\dmd\src\toobj.c @ 1329]
0018fac4 00405823 image00400000!Module::genobjfile+0x28a
[C:\dmd-git\dmd2\src\dmd\src\glue.c @ 360]
0018ff0c 00405a53 image00400000!tryMain+0x32c5
[C:\dmd-git\dmd2\src\dmd\src\mars.c @ 1662]
0018ff48 0057aced image00400000!main+0x43 [C:\dmd-git\dmd2\src\dmd\src\mars.c @
1724]

windbg highlights this line (the if line):

// If errors occurred compiling it, such as bugzilla 6118
if (type && type->ty == Tfunction && ((TypeFunction *)type)->next->ty ==
Terror)
    return;

I'm assuming 'next' is probably null at this point (can't verify this yet,
maybe later).

-- 
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