Access violation on version 3.2.1

33 views
Skip to first unread message

rgal...@gmail.com

unread,
Nov 7, 2016, 7:34:44 AM11/7/16
to AutoMapper-users
Good morning, need a little help on this one:

We have an application that is using automapper version 3.2.1 and we got some strange issues after installing NewRelic monitoring tool.

We get access violation on the following call:

00 2458e704 26abfaa0 0xc1b0cb4
01 2458e71c 26abf343 AutoMapper_Net4!AutoMapper.Mappers.DataReaderMapper.LoadDataReaderViaList(System.Data.IDataReader, AutoMapper.IMappingEngineRunner, Build, AutoMapper.ResolutionContext, System.Type)+0x30
02 2458e75c 26abeec2 AutoMapper_Net4!AutoMapper.Mappers.DataReaderMapper.MapDataReaderToEnumerable(AutoMapper.ResolutionContext, AutoMapper.IMappingEngineRunner, System.Type, Boolean)+0x10b
03 2458e778 26abeb76 AutoMapper_Net4!AutoMapper.Mappers.DataReaderMapper.Map(AutoMapper.ResolutionContext, AutoMapper.IMappingEngineRunner)+0x52
04 2458e7c4 26ab98f6 AutoMapper!AutoMapper.MappingEngine.AutoMapper.IMappingEngineRunner.Map(AutoMapper.ResolutionContext)+0x186
05 2458e7e0 26ab983b AutoMapper!AutoMapper.MappingEngine.DynamicMap(System.Object, System.Type, System.Type)+0x96
06 2458e804 26ab7627 AutoMapper!AutoMapper.MappingEngine.DynamicMap[[System.__Canon, mscorlib],[System.__Canon, mscorlib]](System.__Canon)+0x63
07 2458e820 26ab75c7 AutoMapper!AutoMapper.Mapper.DynamicMap[[System.__Canon, mscorlib],[System.__Canon, mscorlib]](System.__Canon)+0x3f

Instead of having a method call, we have an address on stack... which means something is corrupting the stack.

Have you faced this issue before? Is there any workaround on this? We dont want to move to latest version yet.

Thanks in advance.

Regards,

Jimmy Bogard

unread,
Nov 7, 2016, 12:30:22 PM11/7/16
to automapp...@googlegroups.com
You're seeing why I took the DataReader mapping out. I have no idea what that code does.
--
You received this message because you are subscribed to the Google Groups "AutoMapper-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automapper-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rgal...@gmail.com

unread,
Nov 8, 2016, 6:19:49 AM11/8/16
to AutoMapper-users
Hello Jimmy,

Just to clarify, do you recommend not using this datareader mapping?

Also, should we go to the most updated version?

Thanks in advance!

Regards,
Reply all
Reply to author
Forward
0 new messages