Jump to page: 1 2 3
Thread overview
[Issue 6296] New: Assertion failure: '0' on line 1121 in file 'glue.c'
Jul 12, 2011
Denis
Jul 15, 2011
Trass3r
Jul 15, 2011
Felix Hufnagel
Jul 15, 2011
Trass3r
Jul 15, 2011
Denis
Jul 15, 2011
Trass3r
Jul 15, 2011
Zoadian
Jul 15, 2011
Denis
Jul 15, 2011
Zoadian
Jul 15, 2011
Trass3r
Jul 15, 2011
Denis
Jul 15, 2011
Denis
Jul 15, 2011
Denis
[Issue 6296] Assertion failure: '0' on line 1114 in file 'glue.c'
Sep 09, 2011
Denis
Sep 10, 2011
Denis
[Issue 6296] ICE(glue.c): invalid template instantiated in is(typeof()).
Sep 14, 2011
Walter Bright
Sep 15, 2011
Denis
Sep 15, 2011
Walter Bright
Sep 15, 2011
Denis
Sep 16, 2011
Don
Nov 19, 2011
Denis
May 03, 2012
Don
Dec 10, 2012
Denis Shelomovskij
Dec 10, 2012
Walter Bright
July 12, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296

           Summary: Assertion failure: '0' on line 1121 in file 'glue.c'
           Product: D
           Version: D1
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: verylonglogin.reg@gmail.com


--- Comment #0 from Denis <verylonglogin.reg@gmail.com> 2011-07-12 10:03:46 PDT ---
Created an attachment (id=1006)
Bug testcase

Broken is(typeof(...)) is a realy blocker for me.

I didn't know where was a problem since dmd 1.067 where it was introduced.
And this bug report is the merit of DustMite:
702 КБ of my D sources -> few hours with DustMite (looks like it finally
crashed) -> 63.2 КБ -> some time with DustMite -> 2.33 КБ -> some time by hands
-> 96 bytes.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296


Trass3r <mrmocool@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrmocool@gmx.de


--- Comment #1 from Trass3r <mrmocool@gmx.de> 2011-07-15 05:27:29 PDT ---
Seems to be D1-specific indeed, compiles fine with 2.054 on Linux x64.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296


Felix Hufnagel <suicidenet@xited.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |suicidenet@xited.de
            Version|D1                          |D1 & D2


--- Comment #2 from Felix Hufnagel <suicidenet@xited.de> 2011-07-15 06:45:28 PDT ---
nope probably same error on D2 here:

Assertion failure: '0' on line 1123 in file 'glue.c'

Windows x64 - VisualStudio2010 - VisualD, D2, DMD.2.054

http://pastebin.com/p3K8CMXF

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296



--- Comment #3 from Trass3r <mrmocool@gmx.de> 2011-07-15 07:11:15 PDT ---
(In reply to comment #2)

What about Denis' test case?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296



--- Comment #4 from Denis <verylonglogin.reg@gmail.com> 2011-07-15 07:24:06 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> 
> What about Denis' test case?

If works with dmd 2.054. And I originally marked this issue as D1 only.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296



--- Comment #5 from Trass3r <mrmocool@gmx.de> 2011-07-15 07:39:34 PDT ---
Zoadian, your test case is incomplete.
Error: undefined identifier Modifier

Also could you try reducing it with DustMite?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296



--- Comment #6 from Zoadian <suicidenet@xited.de> 2011-07-15 07:45:55 PDT ---
Reduced source code: http://pastebin.com/p3K8CMXF
never worked with dustmite, and no time to get into it now. sry.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296



--- Comment #7 from Denis <verylonglogin.reg@gmail.com> 2011-07-15 07:56:29 PDT ---
And where are the guys:
import util.math;
import util.array;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296



--- Comment #8 from Zoadian <suicidenet@xited.de> 2011-07-15 08:01:30 PDT ---
they are not needed, sry, forgot to remove them. : http://pastebin.com/e7HazwDF math.d is empty; this is array.d http://pastebin.com/guBWs4h6

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6296



--- Comment #9 from Trass3r <mrmocool@gmx.de> 2011-07-15 08:06:25 PDT ---
My dmd yields
bug6296b.d(16): Error: cannot implicitly convert expression (this) of type
ModifiableInt to typeof(this)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
« First   ‹ Prev
1 2 3