[Issue 3808] Assertion Failure : Assertion failure: 'classinfo-structsize == CLASSINFO_SIZE' on line 870 in file 'toobj.c'

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3808

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|unspecified |D2

--


[Issue 3808] Assertion Failure : Assertion failure: 'classinfo-structsize == CLASSINFO_SIZE' on line 870 in file 'toobj.c'

2010-04-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3808


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #5 from Don clugd...@yahoo.com.au 2010-04-09 13:41:54 PDT ---
Fixed DMD1.058 and 2.043.

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


[Issue 3808] Assertion Failure : Assertion failure: 'classinfo-structsize == CLASSINFO_SIZE' on line 870 in file 'toobj.c'

2010-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3808


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #4 from Walter Bright bugzi...@digitalmars.com 2010-03-28 
14:13:34 PDT ---
changeset 425

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


[Issue 3808] Assertion Failure : Assertion failure: 'classinfo-structsize == CLASSINFO_SIZE' on line 870 in file 'toobj.c'

2010-03-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3808


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

   Keywords||patch


--- Comment #3 from Don clugd...@yahoo.com.au 2010-03-15 14:02:16 PDT ---
The error message should be improved. I suggest something like this:

toobj, line 995:

if (vtblInterfaces-dim)
{
-  if (classinfo)
-assert(classinfo-structsize == CLASSINFO_SIZE);
+if (classinfo  classinfo-structsize != CLASSINFO_SIZE)
+error(Incorrect installation. D compiler and phobos' typeinfo are
mismatched);
offset = CLASSINFO_SIZE;
dtxoff(dt, csym, offset, TYnptr);// (*)

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


[Issue 3808] Assertion Failure : Assertion failure: 'classinfo-structsize == CLASSINFO_SIZE' on line 870 in file 'toobj.c'

2010-03-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3808


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

   Keywords||ice-on-invalid-code
 CC||clugd...@yahoo.com.au


--- Comment #2 from Don clugd...@yahoo.com.au 2010-03-11 08:18:50 PST ---
This is caused by an incorrectly installed DMD (wrong phobos.lib). However, the
compiler should say that, instead of failing with an assert).

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


[Issue 3808] Assertion Failure : Assertion failure: 'classinfo-structsize == CLASSINFO_SIZE' on line 870 in file 'toobj.c'

2010-02-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3808



--- Comment #1 from Petit Vincent petitv.i...@gmail.com 2010-02-16 14:25:18 
PST ---
Well, I found this bug when I was trying to make the win32lib from the binding
available on Dsource.org.

I'll try to explain the environment with lot of details :

1. DMD Compiler : Version 1.033, 1.056 ; 2.040, dmd2beta have been tested.
Each one returned the bug. So, the version of the compiler don't play a role to
have this bug.

2. Libraries :

- Standard Library : tango 0.98 and tango 0.99.9 kai have been tried too. Same
result.

- Others : tried with and without these ones : tangobos (latest), DFL (latest),
INI (from dprogramming.com). Nothing changed the result.

3. Binding :

- Win32 from DSource - the latest one from trunk version (trunk-r337)


4. Attachement :

- The makefile for the binding (and the binding itself)
- A screen from my dmd\lib directory
- sc.ini file I'm using (there's lot of comments cause of tests I made for this
bug or other things ...)

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