<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Filed: <a class="moz-txt-link-freetext" href="https://bugzilla.xamarin.com/show_bug.cgi?id=10911">https://bugzilla.xamarin.com/show_bug.cgi?id=10911</a><br>
    <br>
    <div class="moz-cite-prefix">On 5.3.2013 г. 17:00 ч., Vladimir
      Dimitrov wrote:<br>
    </div>
    <blockquote cite="mid:513608AB.40705@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      The problem is I cannot reproduce this any more. I ran the same
      code on a Windows machine and it changed the information stored in
      the database which was causing the problematic situation. But even
      if I don't see such a bug report causing big attention I will add
      it. Should I file it here: <a moz-do-not-send="true"
        class="moz-txt-link-freetext"
        href="https://bugzilla.xamarin.com/">https://bugzilla.xamarin.com/</a>
      ?<br>
      <br>
      <div class="moz-cite-prefix">On 5.3.2013 г. 16:04 ч., Rodrigo
        Kumpera wrote:<br>
      </div>
      <blockquote
cite="mid:CACmR+BCOOKJ8cutH1epdhzwf5R6u4WcFE7dg23W9eDq45PFz7A@mail.gmail.com"
        type="cite">
        <div dir="ltr">Could you please file a bug report?</div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Sat, Mar 2, 2013 at 2:37 PM,
            Vladimir Dimitrov <span dir="ltr"><<a
                moz-do-not-send="true"
                href="mailto:vlad.dimitrov@gmail.com" target="_blank">vlad.dimitrov@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Recently
              I received a strange error on one of our servers which run
              mono 2.10.8.1 on Ubuntu 12.4:<br>
              <br>
              System.AggregateException: One or more errors occured
              ---> System.StackOverflowException: The requested
              operation caused a stack overflow.<br>
                at
              System.Collections.Concurrent.SplitOrderedList`2[System.String,System.Collections.Generic.KeyValuePair`2[System.String,System.Collections.Generic.IEnumerable`1[Warehouse.Sync.Common.ChangeItem]]].GetParent

              (UInt32 v) [0x00000] in <filename unknown>:0<br>
                at
              System.Collections.Concurrent.SplitOrderedList`2[System.String,System.Collections.Generic.KeyValuePair`2[System.String,System.Collections.Generic.IEnumerable`1[Warehouse.Sync.Common.ChangeItem]]].InitializeBucket

              (UInt32 b) [0x00000] in <filename unknown>:0<br>
                at
              System.Collections.Concurrent.SplitOrderedList`2[System.String,System.Collections.Generic.KeyValuePair`2[System.String,System.Collections.Generic.IEnumerable`1[Warehouse.Sync.Common.ChangeItem]]].InitializeBucket

              (UInt32 b) [0x00000] in <filename unknown>:0<br>
                at
              System.Collections.Concurrent.SplitOrderedList`2[System.String,System.Collections.Generic.KeyValuePair`2[System.String,System.Collections.Generic.IEnumerable`1[Warehouse.Sync.Common.ChangeItem]]].InitializeBucket

              (UInt32 b) [0x00000] in <filename unknown>:0<br>
              <br>
              This continued in the logs for several megabytes. Looking
              at the code (<a moz-do-not-send="true"
href="https://github.com/mosa/Mono-Class-Libraries/blob/master/mcs/class/corlib/System.Collections.Concurrent/SplitOrderedList.cs"
                target="_blank">https://github.com/mosa/Mono-Class-Libraries/blob/master/mcs/class/corlib/System.Collections.Concurrent/SplitOrderedList.cs</a>)
              it looks perfectly normal to happen.<br>
              <br>
              Looks like if InitializeBucket receives 0 then GetParrent
              will return 0. GetBucket can return null too if list it
              checks in is empty and then the whole thing gets into
              infinite recursion... Any idea on how this situation
              happens/can be avoided and if anybody else encountered a
              similar problem?<br>
              <br>
              Thanks,<br>
               Vladimir Dimitrov<br>
              _______________________________________________<br>
              Mono-devel-list mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Mono-devel-list@lists.ximian.com"
                target="_blank">Mono-devel-list@lists.ximian.com</a><br>
              <a moz-do-not-send="true"
                href="http://lists.ximian.com/mailman/listinfo/mono-devel-list"
                target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>