digitalmars.D.bugs - [Issue 248] New: Assertion failure: attrib.c 913 - version without (...) in imported module
- d-bugmail puremagic.com (31/31) Jul 10 2006 http://d.puremagic.com/issues/show_bug.cgi?id=248
- Thomas Kuehne (16/33) Jul 12 2006 -----BEGIN PGP SIGNED MESSAGE-----
- d-bugmail puremagic.com (9/9) Jul 18 2006 http://d.puremagic.com/issues/show_bug.cgi?id=248
http://d.puremagic.com/issues/show_bug.cgi?id=248
           Summary: Assertion failure: attrib.c 913 - version without (...)
                    in imported module
           Product: D
           Version: 0.162
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: smjg iname.com
----- version_unspec1.d -----
import version_unspec2;
----- version_unspec2.d -----
version {}
----------
D:\My Documents\Programming\D\Tests\bugs>dmd version_unspec1
version_unspec2.d(1): (condition) expected following version
Assertion failure: 'condition' on line 913 in file 'attrib.c'
abnormal program termination
----------
For some reason, the line "abnormal program termination" appears only if I run
DMD from the command line - if I run it from TextPad, DMD hangs instead.  It
doesn't seem to matter what follows the word "version" in the code - the
assertion failure and APT are the same whatever else I try.
The import is necessary to show the bug - compiling version_unspec_2.d directly
correctly diagnoses the error without an ICE.
-- 
 Jul 10 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail puremagic.com schrieb am 2006-07-10:http://d.puremagic.com/issues/show_bug.cgi?id=248----- version_unspec1.d ----- import version_unspec2; ----- version_unspec2.d ----- version {} ---------- D:\My Documents\Programming\D\Tests\bugs>dmd version_unspec1 version_unspec2.d(1): (condition) expected following version Assertion failure: 'condition' on line 913 in file 'attrib.c' abnormal program termination ---------- For some reason, the line "abnormal program termination" appears only if I run DMD from the command line - if I run it from TextPad, DMD hangs instead. It doesn't seem to matter what follows the word "version" in the code - the assertion failure and APT are the same whatever else I try. The import is necessary to show the bug - compiling version_unspec_2.d directly correctly diagnoses the error without an ICE.Added to DStress as http://dstress.kuehne.cn/nocompile/v/version_37_A.d http://dstress.kuehne.cn/nocompile/v/version_37_B.d http://dstress.kuehne.cn/nocompile/v/version_37_C.d http://dstress.kuehne.cn/nocompile/v/version_37_D.d http://dstress.kuehne.cn/nocompile/v/version_37_E.d http://dstress.kuehne.cn/nocompile/v/version_37_F.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFEtNoFLK5blCcjpWoRAglHAKCm9oWmfRbqxNCgdKbURXe/K7h2/wCfcqXI V/HQhQ+Nt30glkFSBgNx9so= =BlAV -----END PGP SIGNATURE-----
 Jul 12 2006
http://d.puremagic.com/issues/show_bug.cgi?id=248
jpelcis gmail.com changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
Fixed DMD 0.163.
-- 
 Jul 18 2006








 
  
  
 
 Thomas Kuehne <thomas-dloop kuehne.cn>
 Thomas Kuehne <thomas-dloop kuehne.cn> 