[Gtk-sharp-list] Segmentation faults

Joe Mozelesky jmozelesky@netcarrier.com
Thu, 21 Nov 2002 07:18:51 -0500


Hello,

I keep getting segmentation faults whenever I try to run several of the
sample applications in the "sample" folder of the CVS tree.  I can
compile HelloWorld.cs for instance, but when I run "mint HelloWorld.exe"
I get segmentation fault.

I have mono-0.16 installed on Linux Mandrake 8.2.  I attempted to
compile the latest mcs out of CVS but unfortunately I get all kinds of
Unhandled Exception errors trying to compile.  I was able to compile
gtk-sharp.

Also, on many of the samples I get an error when trying to compile
telling me it cannot find the type Size.  So in the case of Menu.cs for
instance I just commented out the line setting the default window size,
it compiles, but again...segmentation fault.

How can I get rid of the seg faults?

The Mono-0.16 RPM installs everything in /usr.  I have Gnome/Gtk 2.0
libs in /opt/garnome/lib.

On my Windows XP Home Edition machine, the same samples work fine
(ButtonApp.cs, Menu.cs, HelloWorld.cs, etc.).

Thanks,
Joe