Deal of the Day

Home » Main » Manning Forums » 2007 » IronPython in Action

Thread: Mono crashing on Macosx

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Pages: 1 - Last Post: Jun 9, 2009 7:25 AM by: mfoord Threads: [ Previous | Next ]
zenzee

Posts: 2
Registered: 3/30/09
Mono crashing on Macosx
Posted: Mar 30, 2009 5:31 PM
  Click to reply to this thread Reply

Hi,

I'm currently at chapter 4 and trying out the code examples on my macboopro running the latest mono. Everytime I close the Multidoc application Mono crashes. Is this a feature or a bug and can it be avoided?

with regards,

/\
Vincent

mfoord

Posts: 129
From: UK
Registered: 9/9/07
Re: Mono crashing on Macosx
Posted: Mar 30, 2009 5:37 PM   in response to: zenzee in response to: zenzee
  Click to reply to this thread Reply

I'll try it out on my Mac and see if I get the same thing. It might be a few days though as I'm still at PyCon (until the weekend).

Michael

zenzee

Posts: 2
Registered: 3/30/09
Re: Mono crashing on Macosx
Posted: Mar 31, 2009 2:42 AM   in response to: mfoord in response to: mfoord
  Click to reply to this thread Reply

Hi Michael,

thanks for the quick reply.
Enjoy pycon, wish I could be there.

No rush.

/\
Vincent

mfoord

Posts: 129
From: UK
Registered: 9/9/07
Re: Mono crashing on Macosx
Posted: Jun 6, 2009 5:44 PM   in response to: zenzee in response to: zenzee
  Click to reply to this thread Reply

When I run MultiDoc with IronPython 2 which is included with Mono I get the following error on exit:
**
ERROR:generic-sharing.c:301:move_subclasses_not_in_image_foreach_func: assertion failed: (subclass->image == image)
Abort trap

I don't get this if I use IronPython 1 or the binary distribution of IronPython 2.0.1 downloaded from Codeplex.

The version of IronPython 2 which comes with Mono is IP 2 alpha 5, so its pretty old. Looks like it has some problem which the latest versions don't have.

Michael

mfoord

Posts: 129
From: UK
Registered: 9/9/07
Re: Mono crashing on Macosx
Posted: Jun 9, 2009 7:25 AM   in response to: mfoord in response to: mfoord
  Click to reply to this thread Reply

The best solution is to use a more recent version of IronPython 2 (which will require Mono 2.4 or later).

I've written it up here:

http://www.ironpythoninaction.com/news/2009/6/9/ironpython-in-action-examples-on-mono

Michael

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff