Hi,

We've recently switched to VS2013 and for some reason debugging hangs on a SqlDecimal routine called MultByULong (see stacktrace). Effectively this stops debugging all together for us. Any ideas what this might be?

Regards Paul Sinnema

System.Data.dll!System.Data.SqlTypes.SqlDecimal.MultByULong(uint uiMultiplier) + 0x1b4 bytes
System.Data.dll!System.Data.SqlTypes.SqlDecimal.AdjustScale(int digits, bool fRound = true) + 0xe7 bytes
System.Data.dll!System.Data.SqlTypes.SqlDecimal.CompareNm(System.Data.SqlTypes.SqlDecimal snumOp) + 0xc2 bytes
System.Data.dll!System.Data.SqlTypes.SqlDecimal.operator

(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y) + 0x3e bytes
Xtensive.Orm.dll!Xtensive.Sql.Drivers.SqlServer.v09.TypeMapper.ReadDecimal(System.Data.Common.DbDataReader reader = {System.Data.SqlClient.SqlDataReader}, int index = 35) + 0xf7 bytes
Xtensive.Orm.dll!Xtensive.Sql.TypeMapping.ReadValue(System.Data.Common.DbDataReader reader = {System.Data.SqlClient.SqlDataReader}, int index = 35) + 0x3c bytes
Xtensive.Orm.dll!Xtensive.Orm.Providers.DbDataReaderAccessor.Read(System.Data.Common.DbDataReader source = {System.Data.SqlClient.SqlDataReader}) + 0xa9 bytes Xtensive.Orm.dll!Xtensive.Orm.Providers.Command.ReadTupleWith(Xtensive.Orm.Providers.DbDataReaderAccessor accessor = {Xtensive.Orm.Providers.DbDataReaderAccessor}) + 0x30 bytes Xtensive.Orm.dll!Xtensive.Orm.Providers.BatchingCommandProcessor.ExecuteBatch(int numberOfTasks = 0, Xtensive.Orm.Providers.QueryRequest lastRequest = null) + 0x1e2 bytes
Xtensive.Orm.dll!Xtensive.Orm.Providers.BatchingCommandProcessor.ExecuteTasks(bool allowPartialExecution = false) + 0x8a bytes
Xtensive.Orm.dll!Xtensive.Orm.Providers.SqlSessionHandler.ExecuteQueryTasks(System.Collections.Generic.IEnumerable<xtensive.orm.internals.querytask> queryTasks = Count = Implicit function evaluation is turned off by user., bool allowPartialExecution = false) + 0x18d bytes
Xtensive.Orm.dll!Xtensive.Orm.Session.ProcessDelayedQueries(bool allowPartialExecution = false) + 0x92 bytes
Xtensive.Orm.dll!Xtensive.Orm.Session.ExecuteDelayedQueries(bool skipPersist = false) + 0x39 bytes
Xtensive.Orm.dll!Xtensive.Orm.Internals.Prefetch.Fetcher.ExecuteTasks(System.Collections.Generic.IEnumerable<xtensive.orm.internals.prefetch.graphcontainer> containers = Count = Implicit function evaluation is turned off by user., bool skipPersist = false) + 0x214 bytes
Xtensive.Orm.dll!Xtensive.Orm.Internals.Prefetch.PrefetchManager.ExecuteTasks(bool skipPersist = false) + 0x8c bytes
Xtensive.Orm.dll!Xtensive.Orm.Providers.SqlSessionHandler.ExecutePrefetchTasks(bool skipPersist = false) + 0x49 bytes
Xtensive.Orm.dll!Xtensive.Orm.Providers.SessionHandler.ExecutePrefetchTasks() + 0x29 bytes Xtensive.Orm.dll!Xtensive.Orm.Providers.SqlSessionHandler.FetchEntitySet(Xtensive.Orm.Key ownerKey = {Xtensive.Orm.Internals.Key<long>}, Xtensive.Orm.Model.FieldInfo field = Implicit function evaluation is turned off by user.; Attributes = Implicit function evaluation is turned off by user., int? itemCountLimit = null) + 0x12a bytes
Xtensive.Orm.dll!Xtensive.Orm.EntitySetBase.EnsureIsLoaded(int? maxItemCount = null) + 0x15a bytes
Xtensive.Orm.dll!Xtensive.Orm.EntitySetBase.Prefetch(int? maxItemCount = null) + 0x7c bytes
Xtensive.Orm.dll!Xtensive.Orm.EntitySetBase.Prefetch() + 0x7f bytes Xtensive.Orm.dll!Xtensive.Orm.EntitySetBase.InnerGetEntities() + 0x92 bytes Xtensive.Orm.dll!Xtensive.Orm.TransactionalExtensions.ToTransactional<xtensive.orm.ientity>() + 0x1d0 bytes Xtensive.Orm.dll!Xtensive.Orm.EntitySet<projecten.model.entities.activiteitentity>.GetEnumerator() + 0x12e bytes System.Core.dll!System.Linq.Enumerable.FirstOrDefault<projecten.model.entities.activiteitentity>(System.Collections.Generic.IEnumerable<projecten.model.entities.activiteitentity> source) + 0xa5 bytes
Projecten.Model.dll!Projecten.Model.MethodExtensions.PreFetchAll<projecten.model.entities.activiteitentity>(System.Collections.Generic.IEnumerable<projecten.model.entities.activiteitentity> list = {Xtensive.Orm.EntitySet<projecten.model.entities.activiteitentity>}) Line 41 + 0x38 bytes C# Projecten.Model.dll!Projecten.Model.Entities.FolderEntity.GetActiviteitList<projecten.viewmodel.vmactiviteitentity>(System.Reflection.Assembly assembly = {System.Reflection.RuntimeAssembly}, out int count = 0, Common.Library.DataSourceParameters dsp = {Common.Library.DataSourceParameters}) Line 846 + 0x18 bytes C# Projecten.Viewmodel.dll!Projecten.Viewmodel.VMFolderEntity.LoadActiviteitList(out int count = 0, Common.Library.DataSourceParameters dsp = {Common.Library.DataSourceParameters}) Line 416 + 0x36 bytes C# Projecten.WebApplication.dll!Projecten.WebApplication.Controllers.ProjectEntityController.GetActiviteitList(string data = "{\"take\":30,\"skip\":0,\"page\":1,\"pageSize\":30,\"parentId\":2386,\"load\":{\"PadActiviteitEntity\":[\"PadStatusMomentList\",\"PadStatusPeriodeList\"]}}") Line 479 + 0x10 bytes C#

asked Nov 24 '13 at 09:11

Paul%20Sinnema's gravatar image

Paul Sinnema
261888896


2 Answers:

I'm still having this problem at my home PC (Windows 8.1). Any ideas?

answered Dec 15 '13 at 07:57

Paul%20Sinnema's gravatar image

Paul Sinnema
261888896

Paul, I doubt that DataObjects.Net has any connection to what's happening there as the code that hangs is inside System.Data assembly. I suspect you'll get the same behavior while trying to use plain Sql DataReader instead.

(Dec 15 '13 at 10:02) Dmitri Maximov Dmitri%20Maximov's gravatar image

This problem went away after installing Visual Studio 2013 Update 1 RC

(Dec 19 '13 at 03:13) Paul Sinnema Paul%20Sinnema's gravatar image

OK, perfect

(Dec 19 '13 at 13:41) Dmitri Maximov Dmitri%20Maximov's gravatar image

Just discovered that is does not hang but take an extremely long time to return. The statement that was executed at that time was

T first = list.FirstOrDefault();

answered Nov 24 '13 at 09:21

Paul%20Sinnema's gravatar image

Paul Sinnema
261888896

It has become awfully quite here!

(Dec 05 '13 at 04:16) Paul Sinnema Paul%20Sinnema's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×4

Asked: Nov 24 '13 at 09:11

Seen: 3,872 times

Last updated: Dec 19 '13 at 13:41

powered by OSQA