[Mono-dev] How do I avoid these assertions?
mono.user789 at gmail.com
Fri Sep 5 17:40:18 UTC 2014
Could somebody please tell me what might be triggering the assertions
below? They happen when I generate my own IL. While the same IL works fine
under .net, it could still be that I am doing something wrong because .net
tends to be more forgiving than the spec requires.
* Assertion at mini.c:4175, condition `code' not met
* Assertion at mini.c:4656, condition `cfg->code_size - cfg->epilog_begin <
0xffff' not met
On a related note, how do I run peverify please? I always seem to get the
following. The code runs fine (which seems to suggest the libraries are
available, which in turn seems to be the main reason for why it doesn't
work for others who ask about it in places Google can see). I think the
assertions might just go away if I fix whatever is reported by peverify.
Having said that, the .net version of peverify says everything is fine.
peverify /CLOCK /VERBOSE tmp.exe
Could not load class with token 2000002
* Assertion at class.c:5600, condition `!mono_loader_get_last_error ()' not
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list