www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3283] New: glue.c assertion with no info

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

           Summary: glue.c assertion with no info
           Product: D
           Version: 2.032
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: alvcastro yahoo.es


I got this error when trying to port Hybrid library to D2:


 dmd2.bin: glue.c:626: virtual void FuncDeclaration::toObjFile(int): Assertion
`!vthis->csym' failed. 


I got it with 2.031, and now also with 2.032.

Is virtually impossible to figure out which part of my code/the old library
code is failing to assert, it could be anywhere. That is the only info output
by the compiler.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 03 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3283


Lars T. Kyllingstad <bugzilla kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla kyllingen.net





03:27:57 PDT ---
I had a very similar problem porting some of my old code from D1 to D2. You
should check out bug 2962. It's probably related, if not the same. Perhaps some
of the comments in there will help you narrow it down.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 03 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3283


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug yahoo.com.au





Compile with -v, to get an idea of where it is happening.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 03 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3283






Ok thanks for your tips! The task doesn't seem obvious, as I get a huge list of
functions, but at least I get something to work with.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 03 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3283


Don <clugdbug yahoo.com.au> changed:

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



Closing this as a duplicate of bug 2962, since it has no test case and
otherwise appears to be the same. Reopen if you are able to establish that it
is different. (BTW, the patch in 2962 will help in tracking down the bug).

*** This issue has been marked as a duplicate of issue 2962 ***

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