www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 376] New: assertion in template.c:2141 and wrong return value

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

           Summary: assertion in template.c:2141 and wrong return value
           Product: D
           Version: 0.166
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: benoit tionex.de


In my actual Project, everytime I have a compile error, after the message an
assertion fails:

dmd: template.c:2141: void TemplateInstance::semanticTiargs(Scope*): Assertion
`ea' failed.

then, dmd exits, and I think it exits with 0, because build tries to start gcc
and this complains about all missing object files.

Please exit dmd with != 0 if an assertion comes up.

Sorry, no executable sample code available.


-- 
Sep 27 2006
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=376


smjg iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg iname.com
           Keywords|                            |ice-on-invalid-code





Then we cannot possible diagnose the bug.  Is this just in one of your projects
that this is happening?  You'll have to do what you can to cut down your code
to something that still shows the bug, and then post it somewhere.


-- 
Sep 27 2006
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=376








1. To detect why the assertion fails, this is right. But at the moment I have
no time.

2. To let dmd exit with != 0 in case of this or any failing assertion, is
perhaps possible without example.


-- 
Sep 27 2006
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=376






What you are describing are two completely separate issues.  As such, they
should be separate bug reports.


-- 
Sep 28 2006
prev sibling next sibling parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail puremagic.com schrieb am 2006-09-27:
 http://d.puremagic.com/issues/show_bug.cgi?id=376
 In my actual Project, everytime I have a compile error, after the message an
 assertion fails:

 dmd: template.c:2141: void TemplateInstance::semanticTiargs(Scope*): Assertion
 `ea' failed.

 then, dmd exits, and I think it exits with 0, because build tries to start gcc
 and this complains about all missing object files.

 Please exit dmd with != 0 if an assertion comes up.

 Sorry, no executable sample code available.
If possible, please send me the code via email so that Fejagd can reduce it to a reasonable sized test case. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFHNlHLK5blCcjpWoRAvpRAJ91+ClHjQuWNHwYH7Qn+usoHXGlcgCgnUsk aXn0Cf4D99vghDFhaxdaVq0= =tkpg -----END PGP SIGNATURE-----
Sep 29 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=376


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX





dmd exits with 1 on assert.

I cannot do anything else with this without an example file.


-- 
Jun 25 2008