[Mono-dev] Non-sensical stack trace (possible issue with generic sharing?)
vargaz at gmail.com
Thu Aug 15 11:34:07 UTC 2013
We need testcases to be able to resolve problems like this.
On Thu, Aug 15, 2013 at 10:12 AM, Bassam Tabbara <bassam at symform.com> wrote:
> I don’t see this problem when running with –O=-gshared. The application
> seems to runs slower however. Is there any other information I can provide
> to help resolve this? It only seems to be happening on ARM for me.
> From: Zoltan Varga <vargaz at gmail.com>
> Date: Wednesday, August 14, 2013 4:54 PM
> To: Bassam Tabbara <bassam at symform.com>
> Cc: "mono-devel-list at lists.ximian.com" <mono-devel-list at lists.ximian.com>
> Subject: Re: [Mono-dev] Non-sensical stack trace (possible issue with
> generic sharing?)
> Try running with -O=-gshared to see whenever this is a generic sharing
> problem. The stack trace might be missing the List.Add () method for some
> On Thu, Aug 15, 2013 at 1:29 AM, Bassam Tabbara <bassam at symform.com>wrote:
>> On an armv5tel with latest mono from master I see the following
>> exception frequently in our automated test runs:
>> System.ArgumentOutOfRangeException: Value has to be >= 0.
>> Parameter name: destinationIndex
>> at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex,
>> System.Array destinationArray, Int32 destinationIndex, Int32 length)
>> [0x00207] in
>> (Symform.Control.Common.Placement.NodeEndPoint array, Int32 arrayIndex)
>> [0x00000] in
>> at Newtonsoft.Json.Utilities.CollectionWrapper`1[System.Object].Add
>> (System.Object item) [0x00000] in <filename unknown>:0
>> (System.Object value) [0x00000] in <filename unknown>:0
>> (IWrappedCollection wrappedList, Newtonsoft.Json.JsonReader reader,
>> Newtonsoft.Json.Serialization.JsonArrayContract contract,
>> Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String
>> id) [0x00000] in <filename unknown>:0
>> Whats odd about this stack trace is that
>> JsonSerializeInternalReader.PopulateList does not call
>> CollectionWrapper`1.Add, nor does Add call List`1.CopyTo. See
>> Is it possible that the stack trace is mangled, or is this a generic
>> sharing problem?
>> Note I do not see this issue on x86 or amd64, and did not see this with
>> mono-2-10 on all platforms.
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list