Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
i'm using a ip works v8.0 in application and a runing project error message : System.InvalidProgramException : jit compiler encountered an internal limitation.
Posted 11-Apr-13 21:54pm
Edited 12-Apr-13 2:54am
RyanDev106.2K
v4
Comments
ryanb31 at 12-Apr-13 8:54am
   
Need a lot more details. When does it happen? What line of code causes it? Etc.
Sergey Alexandrovich Kryukov at 12-Apr-13 11:31am
   
Very interesting, but without a code sample there is nothing to discuss. This is certainly a very unusual situation. Please try to develop a code sample to reproduce this problem.
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I believe this is one of the problems that can occur in the linking phase, when the JIT compiler finds multiple identical methods in the same namespace and cannot decide which one to actually link. This can happen if, say, a DLL is updated to include a method with the same fully qualified name as in another DLL used by the same assembly.
 
In the absence of any code, however, this is only a rough guess.
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 17-Apr-13 0:40am
   
It sounds very interesting, I never could imagine it before. Did you face it? Do you know how to reproduce such case. A DLL cannot be updated, for sure, but can an an assembly be updated during runtime? I don't think so. System.Reflection.Emit allows you to create and load new assembly or dynamic methods. In both cases, I cannot see the clear case.
 
I'm thinking... Are you saying that I can load an extra assembly with System.Reflection.Emit (or even load from disk) successfully, and, if it has the same fully qualified type name with some matching members as some previously existing type, it can create such problem? I could try it out...
 
Thank you,
—SA
sistsrajan at 18-Apr-13 3:17am
   
Is this error occur while using a usercontrol in a form

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 420
1 DamithSL 253
2 Sergey Alexandrovich Kryukov 210
3 Peter Leow 205
4 Maciej Los 195


Advertise | Privacy | Mobile
Web04 | 2.8.140709.1 | Last Updated 12 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid