After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 253867 - crasher on runtime exit: mono_get_lmf_addr should not be reached
crasher on runtime exit: mono_get_lmf_addr should not be reached
Status: RESOLVED FIXED
Product: evolution-sharp
Classification: Deprecated
Component: bindings
0.1
Other All
: Normal major
: 2.0
Assigned To: Mike Kestner
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2004-02-04 15:31 UTC by Edd Dumbill
Modified: 2004-06-02 20:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edd Dumbill 2004-02-04 15:31:21 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));

		}
	}
}
Comment 1 Edd Dumbill 2004-02-04 15:32:42 UTC
Oops, here's the actual error to stdout ....

** ERROR **: file mini.c: line 6276 (mono_get_lmf_addr): should not be
reached
aborting...
Comment 2 Mike Kestner 2004-02-06 21:10:29 UTC
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.
Comment 3 Mike Kestner 2004-06-02 20:17:10 UTC
shouldn't be an issue with current cvs.