[Mono-bugs] [Bug 346136] Error MSB6006: "Gmcs.exe" exited with code -1073741819.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 11 10:34:56 EST 2007


User rolandasr at gmail.com added comment

--- Comment #7 from Rolandas Rudomanskis <rolandasr at gmail.com>  2007-12-11 08:34:56 MST ---
The sample code to get a crash. Uncomment the line (variable not used).

using System;
using System.Collections;
using C5;
using SCG = System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Threading;

namespace GenericsTest
        abstract class MapperBase<T> where T:class, new()
                protected ArrayList<T> collection = new ArrayList<T>();
                private   SCG.Queue<SCG.KeyValuePair<T,int>> mapQueue;
                // Uncomment the next line and get a crash
                // private   object syncRoot = new object();

                protected abstract T Map(DataRow row, int query, ref T
                                         out int queryNext);

                public C5.IList<T> Append(ref DataTable table, int query, T
                        bool isNewObject = attachTo == null;

                        foreach (DataRow row in table.Rows) {
                                try {
                                        int q;
                                        T o = Map(row, query, ref attachTo, out
                                        if (q != null) {
SCG.KeyValuePair<T, int>(o, q));
                                        if (o != null && isNewObject) {
                                } catch {
                        return collection;

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list