[Mono-bugs] [Bug 644908] Crash with "fatal error in GC too many root sets" when sending messages to RabbitMQ

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 12 00:20:15 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=644908

https://bugzilla.novell.com/show_bug.cgi?id=644908#c2


--- Comment #2 from Baurzhan Taishinov <baurzhan at gmail.com> 2010-10-12 04:20:15 UTC ---
// for each packet received System.Messaging.MessageQueue.Send method is called
in // transaction
// this works perfectly in .Net framework
// but in Mono each method call starts new Thread and application crashes with 
 // error "fatal error in GC too many root sets"
using (System.Messaging.MessageQueueTransaction transaction = new
System.Messaging.MessageQueueTransaction())
{
     transaction.Begin();
     this.MSMQMessages.Send(this.CreateMessage(message), transaction);
     transaction.Commit();
     transaction.Dispose();
}

-- 
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