I get this randomly since update on 2439:
VS 2015 Professional
Elements 2439
I get this randomly since update on 2439:
VS 2015 Professional
Elements 2439
asp.net.
It is randomly, when I changed code somewhere. I cannot see any rule it follows.
Regions do not work anymore either:
Regions should already be fixed yes.
For the stack overflow exception, do you happen to have a callstack?
unfortunately not, it has not appeared again yet. It happens one or two times a day. Never looked at the callstack, sorry.
If you do see it again, can you make sure you copy./paste the callstack?
hrmm. from that callstack it thinks there’s a huge recursive list of IF’s in the current file somehow. I take it you don’t have 100+ level deep ifs.
So this is a bit tricky, as I can’t actually see the code.
When this occurs, can you walk the stack in the debugger, check the locals and if you have a node, check the position (Fragment property)? See if there’s anything curious about the the code it is resolving here.
max. 4 level deep ifs.
It became a huge project over the years.
With last version of elements the error did nor appear.
So:
- | $exception | {“Eine Ausnahme vom Typ “System.StackOverflowException” wurde ausgelöst.”} | System.StackOverflowException | |
---|---|---|---|---|
+ | Data | {System.Collections.ListDictionaryInternal} | System.Collections.IDictionary {System.Collections.ListDictionaryInternal} | |
HResult | -2147023895 | int | ||
HelpLink | null | string | ||
+ | IPForWatsonBuckets | {0} | System.UIntPtr | |
+ | InnerException | null | System.Exception | |
IsTransient | false | bool | ||
Message | “Eine Ausnahme vom Typ “System.StackOverflowException” wurde ausgelöst.” | string | ||
RemoteStackTrace | null | string | ||
Source | Laufzeit hat die Evaluierung des Ausdrucks verweigert. | string | ||
StackTrace | null | string | ||
TargetSite | null | System.Reflection.MethodBase | ||
WatsonBuckets | null | object | ||
_HResult | -2147023895 | int | ||
_className | “System.StackOverflowException” | string | ||
+ | _data | {System.Collections.ListDictionaryInternal} | System.Collections.IDictionary {System.Collections.ListDictionaryInternal} | |
_dynamicMethods | null | object | ||
_exceptionMethod | null | System.Reflection.MethodBase | ||
_exceptionMethodString | null | string | ||
_helpURL | null | string | ||
+ | _innerException | null | System.Exception | |
+ | _ipForWatsonBuckets | {0} | System.UIntPtr | |
_message | null | string | ||
_remoteStackIndex | 0 | int | ||
_remoteStackTraceString | null | string | ||
+ | _safeSerializationManager | null | System.Runtime.Serialization.SafeSerializationManager | |
_source | null | string | ||
_stackTrace | null | object | ||
_stackTraceString | null | string | ||
_watsonBuckets | null | object | ||
_xcode | -532462766 | int | ||
+ | _xptrs | {0} | System.IntPtr | |
+ | Static members | |||
this | Der Wert der lokalen Variablen oder des Arguments kann nicht abgerufen werden, weil er an diesem Anweisungszeiger nicht verfĂĽgbar ist, eventuell wurde er beim Optimieren entfernt. | System.CodeDom.Compiler.CodeCompiler | ||
+ | options | {System.CodeDom.Compiler.CompilerParameters} | System.CodeDom.Compiler.CompilerParameters | |
fileNames | Der Wert der lokalen Variablen oder des Arguments kann nicht abgerufen werden, weil er an diesem Anweisungszeiger nicht verfĂĽgbar ist, eventuell wurde er beim Optimieren entfernt. | string[] |
Thats all I have got
Any chance I can TeamView in when this happens?
I never know when it happens
Sometimes I can work hours without that problem, sometimes it happens 3 times within 15 min
Again:
- | $exception | {“Eine Ausnahme vom Typ “System.StackOverflowException” wurde ausgelöst.”} | System.StackOverflowException | |
---|---|---|---|---|
- | Data | {System.Collections.ListDictionaryInternal} | System.Collections.IDictionary {System.Collections.ListDictionaryInternal} | |
Count | 0 | int | ||
IsFixedSize | false | bool | ||
IsReadOnly | false | bool | ||
IsSynchronized | false | bool | ||
- | Keys | {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | System.Collections.ICollection {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | |
System.Collections.ICollection.Count | 0 | int | ||
System.Collections.ICollection.IsSynchronized | false | bool | ||
System.Collections.ICollection.SyncRoot | {object} | object | ||
isKeys | true | bool | ||
- | list | {System.Collections.ListDictionaryInternal} | System.Collections.ListDictionaryInternal | |
Count | 0 | int | ||
IsFixedSize | false | bool | ||
IsReadOnly | false | bool | ||
IsSynchronized | false | bool | ||
+ | Keys | {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | System.Collections.ICollection {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | |
SyncRoot | {object} | object | ||
+ | Values | {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | System.Collections.ICollection {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | |
_syncRoot | {object} | object | ||
count | 0 | int | ||
head | null | System.Collections.ListDictionaryInternal.DictionaryNode | ||
version | 0 | int | ||
- | Results View | Expanding the Results View will enumerate the IEnumerable | ||
+ | Results View | Expanding the Results View will enumerate the IEnumerable | ||
SyncRoot | {object} | object | ||
+ | Values | {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | System.Collections.ICollection {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | |
_syncRoot | {object} | object | ||
count | 0 | int | ||
head | null | System.Collections.ListDictionaryInternal.DictionaryNode | ||
version | 0 | int | ||
- | Results View | Expanding the Results View will enumerate the IEnumerable | ||
HResult | -2147023895 | int | ||
HelpLink | null | string | ||
- | IPForWatsonBuckets | {0} | System.UIntPtr | |
m_value | 0x0000000000000000 | void* | ||
+ | Static members | |||
- | InnerException | null | System.Exception | |
- | Static members | |||
_COMPlusExceptionCode | -532462766 | int | ||
s_EDILock | {object} | object | ||
IsTransient | false | bool | ||
Message | “Eine Ausnahme vom Typ “System.StackOverflowException” wurde ausgelöst.” | string | ||
RemoteStackTrace | null | string | ||
Source | Laufzeit hat die Evaluierung des Ausdrucks verweigert. | string | ||
StackTrace | null | string | ||
TargetSite | null | System.Reflection.MethodBase | ||
WatsonBuckets | null | object | ||
_HResult | -2147023895 | int | ||
_className | “System.StackOverflowException” | string | ||
- | _data | {System.Collections.ListDictionaryInternal} | System.Collections.IDictionary {System.Collections.ListDictionaryInternal} | |
Count | 0 | int | ||
IsFixedSize | false | bool | ||
IsReadOnly | false | bool | ||
IsSynchronized | false | bool | ||
+ | Keys | {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | System.Collections.ICollection {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | |
SyncRoot | {object} | object | ||
+ | Values | {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | System.Collections.ICollection {System.Collections.ListDictionaryInternal.NodeKeyValueCollection} | |
_syncRoot | {object} | object | ||
count | 0 | int | ||
head | null | System.Collections.ListDictionaryInternal.DictionaryNode | ||
version | 0 | int | ||
+ | Results View | Expanding the Results View will enumerate the IEnumerable | ||
_dynamicMethods | null | object | ||
_exceptionMethod | null | System.Reflection.MethodBase | ||
_exceptionMethodString | null | string | ||
_helpURL | null | string | ||
+ | _innerException | null | System.Exception | |
- | _ipForWatsonBuckets | {0} | System.UIntPtr | |
m_value | 0x0000000000000000 | void* | ||
+ | Static members | |||
_message | null | string | ||
_remoteStackIndex | 0 | int | ||
_remoteStackTraceString | null | string | ||
- | _safeSerializationManager | null | System.Runtime.Serialization.SafeSerializationManager | |
+ | Static members | |||
_source | null | string | ||
_stackTrace | null | object | ||
_stackTraceString | null | string | ||
_watsonBuckets | null | object | ||
_xcode | -532462766 | int | ||
+ | _xptrs | {0} | System.IntPtr | |
+ | Static members | |||
this | Der Wert der lokalen Variablen oder des Arguments kann nicht abgerufen werden, weil er an diesem Anweisungszeiger nicht verfĂĽgbar ist, eventuell wurde er beim Optimieren entfernt. | System.CodeDom.Compiler.CodeCompiler | ||
- | options | {System.CodeDom.Compiler.CompilerParameters} | System.CodeDom.Compiler.CompilerParameters | |
CompilerOptions | null | string | ||
CoreAssemblyFileName | “” | string | ||
+ | EmbeddedResources | {System.Collections.Specialized.StringCollection} | System.Collections.Specialized.StringCollection | |
+ | Evidence | null | System.Security.Policy.Evidence | |
GenerateExecutable | false | bool | ||
GenerateInMemory | false | bool | ||
IncludeDebugInformation | true | bool | ||
- | LinkedResources | {System.Collections.Specialized.StringCollection} | System.Collections.Specialized.StringCollection | |
Count | 0 | int | ||
IsReadOnly | false | bool | ||
IsSynchronized | false | bool | ||
SyncRoot | {object} | object | ||
System.Collections.IList.IsFixedSize | false | bool | ||
System.Collections.IList.IsReadOnly | false | bool | ||
+ | data | Count = 0 | System.Collections.ArrayList | |
+ | Results View | Expanding the Results View will enumerate the IEnumerable | ||
MainClass | null | string | ||
OutputAssembly | “C:\Users\vdb\AppData\Local\Temp\Temporary ASP.NET Files\vs\4574fca4\847ee092\App_Code.dzmdzbxg.dll” | string | ||
+ | ReferencedAssemblies | {System.Collections.Specialized.StringCollection} | System.Collections.Specialized.StringCollection | |
SafeUserToken | null | Microsoft.Win32.SafeHandles.SafeUserTokenHandle | ||
+ | TempFiles | {System.CodeDom.Compiler.TempFileCollection} | System.CodeDom.Compiler.TempFileCollection | |
TreatWarningsAsErrors | false | bool | ||
+ | UserToken | {0} | System.IntPtr | |
WarningLevel | -1 | int | ||
Win32Resource | null | string | ||
+ | assemblyNames | {System.Collections.Specialized.StringCollection} | System.Collections.Specialized.StringCollection | |
compilerOptions | null | string | ||
coreAssemblyFileName | “” | string | ||
+ | embeddedResources | {System.Collections.Specialized.StringCollection} | System.Collections.Specialized.StringCollection | |
+ | evidence | null | System.Security.Policy.Evidence | |
generateExecutable | false | bool | ||
generateInMemory | false | bool | ||
includeDebugInformation | true | bool | ||
+ | linkedResources | {System.Collections.Specialized.StringCollection} | System.Collections.Specialized.StringCollection | |
mainClass | null | string | ||
outputName | “C:\Users\vdb\AppData\Local\Temp\Temporary ASP.NET Files\vs\4574fca4\847ee092\App_Code.dzmdzbxg.dll” | string | ||
+ | tempFiles | {System.CodeDom.Compiler.TempFileCollection} | System.CodeDom.Compiler.TempFileCollection | |
treatWarningsAsErrors | false | bool | ||
userToken | null | Microsoft.Win32.SafeHandles.SafeUserTokenHandle | ||
warningLevel | -1 | int | ||
win32Resource | null | string | ||
fileNames | Der Wert der lokalen Variablen oder des Arguments kann nicht abgerufen werden, weil er an diesem Anweisungszeiger nicht verfĂĽgbar ist, eventuell wurde er beim Optimieren entfernt. | string[] |
Hrmm. Have you discovered any pattern or file this always happens in? Maybe I can just try your project.
Unfortunately not. The project is very huge and I cannot give it away.
I think I will downgrade to previous version
Maybe we can do a quick teamview session when you do have it? If you send me a private message here i see it pretty much instantly.
Hi Carlo,
good news. Problem seems to be gone with latest beta
That’s very good to hear!
I applaused to early, error still there
hrmm. Makes me wonder though why it doesn’t show for a day and then does.
Any chance you can send me the files in the fileNames collection (when it fails above)? They’re the code behind files in the asp.net project. You can send me them privately, I’ll keep them secret and throw then away when I’m done, but there might be something in there that could let me find a cause.
I did not work a lot in past two days, might be the reason.
There is on global codebehind-file I use, I will send you that on your Mail next days