Hi,
I am profiling performance issues we are having with our application and almost every time that the application just seems to be stalled, I pause the debugger and I am at the stack trace listed below. Just wondering if there is a potential deadlock or something that is going on and maybe someone has an idea.
Thanks,
Aaron
Hibernate version:
1.0.4
Mapping documents:
N/A
Full stack trace of any exception that occurs:
mscorlib.dll!System.Reflection.Emit.TypeBuilder.CreateTypeNoLock() + 0x429 bytes
mscorlib.dll!System.Reflection.Emit.TypeBuilder.CreateType() + 0x5f bytes
Castle.DynamicProxy.dll!Castle.DynamicProxy.Builder.CodeBuilder.AbstractEasyType.BuildType() + 0x56 bytes
Castle.DynamicProxy.dll!Castle.DynamicProxy.Builder.CodeBuilder.AbstractEasyType.BuildType() + 0xa2 bytes
Castle.DynamicProxy.dll!Castle.DynamicProxy.Builder.CodeGenerators.BaseCodeGenerator.CreateType() + 0x25 bytes
Castle.DynamicProxy.dll!Castle.DynamicProxy.Builder.CodeGenerators.ClassProxyGenerator.GenerateCode(System.Type baseClass = {Name = Cannot evaluate expression because the code of the current method is optimized. FullName = Cannot evaluate expression because the code of the current method is optimized.}, System.Type[] interfaces = {Dimensions:[2]}) + 0x1a1 bytes
Castle.DynamicProxy.dll!Castle.DynamicProxy.Builder.DefaultProxyBuilder.CreateClassProxy(System.Type theClass = {Name = Cannot evaluate expression because the code of the current method is optimized. FullName = Cannot evaluate expression because the code of the current method is optimized.}, System.Type[] interfaces = {Dimensions:[1]}) + 0x41 bytes
Castle.DynamicProxy.dll!Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type baseClass = {Name = Cannot evaluate expression because the code of the current method is optimized. FullName = Cannot evaluate expression because the code of the current method is optimized.}, System.Type[] interfaces = {Dimensions:[1]}, Castle.DynamicProxy.IInterceptor interceptor = {NHibernate.Proxy.CastleLazyInitializer}, bool checkAbstract = false, object[] argumentsForConstructor = {Dimensions:[0]}) + 0x65 bytes
NHibernate.dll!NHibernate.Proxy.CastleProxyFactory.GetProxy(object id = 6, NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}) + 0xa8 bytes
NHibernate.dll!NHibernate.Persister.AbstractEntityPersister.CreateProxy(object id = 6, NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}) + 0x29 bytes
NHibernate.dll!NHibernate.Impl.SessionImpl.DoLoadByClass(System.Type clazz = {Name = Cannot evaluate expression because the code of the current method is optimized. FullName = Cannot evaluate expression because the code of the current method is optimized.}, object id = 6, bool checkDeleted = false, bool allowProxyCreation = true) + 0x18a bytes
NHibernate.dll!NHibernate.Impl.SessionImpl.InternalLoad(System.Type clazz = {Name = Cannot evaluate expression because the code of the current method is optimized. FullName = Cannot evaluate expression because the code of the current method is optimized.}, object id = 6) + 0x30 bytes
NHibernate.dll!NHibernate.Type.ManyToOneType.ResolveIdentifier(object id = 6, NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}) + 0x34 bytes
NHibernate.dll!NHibernate.Type.EntityType.ResolveIdentifier(object id = 6, NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, object owner = {Tradewinds.Samms.Core.Domain.ProcurementHeader}) + 0x38 bytes
NHibernate.dll!NHibernate.Impl.SessionImpl.InitializeEntity(object obj = {Tradewinds.Samms.Core.Domain.ProcurementHeader}) + 0x188 bytes
NHibernate.dll!NHibernate.Loader.Loader.InitializeEntitiesAndCollections(System.Collections.IList hydratedObjects = Count = Cannot evaluate expression because the code of the current method is optimized., object resultSetId = {NHibernate.Driver.NHybridDataReader}, NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}) + 0xbb bytes
NHibernate.dll!NHibernate.Loader.Loader.DoQuery(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, NHibernate.Engine.QueryParameters queryParameters = {NHibernate.Engine.QueryParameters}, object optionalObject = null, object optionalId = 738, object[] optionalCollectionKeys = null, bool returnProxies = false) + 0x2aa bytes
NHibernate.dll!NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, NHibernate.Engine.QueryParameters queryParameters = {NHibernate.Engine.QueryParameters}, object optionalObject = null, object optionalId = 738, object[] optionalCollectionKeys = null, bool returnProxies = false) + 0x5a bytes
NHibernate.dll!NHibernate.Loader.Loader.LoadEntity(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, object[] values = {Dimensions:[1]}, NHibernate.Type.IType[] types = {Dimensions:[1]}, object optionalObject = null, object optionalID = 738) + 0x54 bytes
NHibernate.dll!NHibernate.Loader.Loader.LoadEntity(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, object id = 738, NHibernate.Type.IType identifierType = {NHibernate.Type.Int32Type}, object optionalObject = null, object optionalIdentifier = 738) + 0x76 bytes
NHibernate.dll!NHibernate.Loader.EntityLoader.Load(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, object id = 738, object optionalObject = null, object optionalId = 738) + 0x40 bytes
NHibernate.dll!NHibernate.Loader.EntityLoader.Load(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, object id = 738, object optionalObject = null) + 0x2e bytes
NHibernate.dll!NHibernate.Persister.NormalizedEntityPersister.Load(object id = 738, object optionalObject = null, NHibernate.LockMode lockMode = {NHibernate.LockMode}, NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}) + 0x8b bytes
NHibernate.dll!NHibernate.Impl.SessionImpl.DoLoad(System.Type theClass = {Name = Cannot evaluate expression because the code of the current method is optimized. FullName = Cannot evaluate expression because the code of the current method is optimized.}, object id = 738, object optionalObject = null, NHibernate.LockMode lockMode = {NHibernate.LockMode}, bool checkDeleted = false) + 0x2ca bytes
NHibernate.dll!NHibernate.Impl.SessionImpl.DoLoadByClass(System.Type clazz = {Name = Cannot evaluate expression because the code of the current method is optimized. FullName = Cannot evaluate expression because the code of the current method is optimized.}, object id = 738, bool checkDeleted = false, bool allowProxyCreation = true) + 0xb5 bytes
NHibernate.dll!NHibernate.Impl.SessionImpl.InternalLoad(System.Type clazz = {Name = Cannot evaluate expression because the code of the current method is optimized. FullName = Cannot evaluate expression because the code of the current method is optimized.}, object id = 738) + 0x30 bytes
NHibernate.dll!NHibernate.Type.ManyToOneType.ResolveIdentifier(object id = 738, NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}) + 0x34 bytes
NHibernate.dll!NHibernate.Type.EntityType.ResolveIdentifier(object id = 738, NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, object owner = {Tradewinds.Samms.Core.Domain.ProcurementDetail}) + 0x38 bytes
NHibernate.dll!NHibernate.Impl.SessionImpl.InitializeEntity(object obj = {Tradewinds.Samms.Core.Domain.ProcurementDetail}) + 0x188 bytes
NHibernate.dll!NHibernate.Loader.Loader.InitializeEntitiesAndCollections(System.Collections.IList hydratedObjects = Count = Cannot evaluate expression because the code of the current method is optimized., object resultSetId = {NHibernate.Driver.NHybridDataReader}, NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}) + 0xbb bytes
NHibernate.dll!NHibernate.Loader.Loader.DoQuery(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, NHibernate.Engine.QueryParameters queryParameters = {NHibernate.Engine.QueryParameters}, object optionalObject = null, object optionalId = null, object[] optionalCollectionKeys = null, bool returnProxies = true) + 0x2aa bytes
NHibernate.dll!NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, NHibernate.Engine.QueryParameters queryParameters = {NHibernate.Engine.QueryParameters}, object optionalObject = null, object optionalId = null, object[] optionalCollectionKeys = null, bool returnProxies = true) + 0x5a bytes
NHibernate.dll!NHibernate.Loader.Loader.DoList(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, NHibernate.Engine.QueryParameters queryParameters = {NHibernate.Engine.QueryParameters}) + 0x2e bytes
NHibernate.dll!NHibernate.Loader.Loader.List(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, NHibernate.Engine.QueryParameters queryParameters = {NHibernate.Engine.QueryParameters}, Iesi.Collections.ISet querySpaces = {Iesi.Collections.HashedSet}, NHibernate.Type.IType[] resultTypes = {Dimensions:[1]}) + 0x159 bytes
NHibernate.dll!NHibernate.Hql.QueryTranslator.List(NHibernate.Engine.ISessionImplementor session = {NHibernate.Impl.SessionImpl}, NHibernate.Engine.QueryParameters queryParameters = {NHibernate.Engine.QueryParameters}) + 0x71 bytes
NHibernate.dll!NHibernate.Impl.SessionImpl.Find(string query = "from ProcurementDetail as pdet where pdet.TdtProduct.PrdId = :ProdId order by pdet.TdtId desc", NHibernate.Engine.QueryParameters parameters = {NHibernate.Engine.QueryParameters}) + 0x109 bytes
NHibernate.dll!NHibernate.Impl.QueryImpl.List() + 0x63 bytes
Name and version of the database you are using:
SQL Server 2005
_________________ Thanks,
Aaron
|