[Gtk-sharp-list] Mono 1.1.5 and GTK# crash

Tom McLaughlin tmclaugh@sdf.lonestar.org
Thu, 31 Mar 2005 00:19:58 -0500


On Wed, 2005-03-30 at 14:19 -0500, Miguel de Icaza wrote:
> Hello,
> 
> > > I'm getting the following crash when trying to start up any C# app that
> > > uses glade# such as Monodoc and Blam.
> > > 
> > > Unhandled Exception: System.NullReferenceException: Object reference not
> > > set to an instance of an object
> > 
> > We have this isolated down to a difference between the __thread tls and
> > the pthread tls. The team is working to figure out why there is a
> > difference. We will ship a new release as soon as possible.
> > 
> > I am sorry this took so long to catch and track down.
> 
> I wanted to add something: this is only a problem with the RPM packages
> that were built with the pthread option (which was forced, because we
> hoped it would work even if people downgraded their kernel).
> 
> So a temporary fix is just to build Mono from source code (which
> surprisingly is only configure/make/make install)
> 
> Miguel.

Mike, Ben, and Miguel, thanks a bunch for taking a look at this.  On
FreeBSD we use pthread and not __thread.  Fix works fine and Monodoc is
starting back up again.  

Thanks,
Tom

-- 

BSD# Project - Porting Mono to FreeBSD
http://forge.novell.com/modules/xfmod/project/?bsd-sharp