GNOME Bugzilla – Bug 253867
crasher on runtime exit: mono_get_lmf_addr should not be reached
Last modified: 2004-06-02 20:17:10 UTC
tried this with mono 0.29 and mono 0.29.99.20040114. it crashes on exit. it's the arraylist stuff that seems to be the problem. using System; using System.Collections; using Evolution; using Gtk; using Gnome; using GtkSharp; namespace Foafolution { public class Generator { static void Main (string [] args) { Program fe = new Program ("Foafolution", "0.1", Modules.UI, args); Evolution.Book addressbook = new Evolution.Book (); addressbook.LoadLocalAddressbook (); BookQuery q = BookQuery.AnyFieldContains ("Frood"); ArrayList a = new ArrayList (addressbook.GetContacts (q)); } } }
Oops, here's the actual error to stdout .... ** ERROR **: file mini.c: line 6276 (mono_get_lmf_addr): should not be reached aborting...
My guess is that would be a mono bug or class lib bug in the ArrayList ctor, although without a trace to see what's on top of the abort in the stack, it's hard to tell. I'll try to reproduce it with your sample app to see if I can get a trace. The good news is that in CVS, Book.GetContacts now returns a Contact[] instead of a GList, so that type of ArrayList creation isn't necessary anymore.
shouldn't be an issue with current cvs.