[Mono-winforms-list] Error Running Basic Win-Forms App

Jackson Harper jackson at ximian.com
Sun Jan 22 06:24:41 EST 2006

On Sun, 2006-01-22 at 10:22 +0000, Freddie Witherden wrote:
> Hello, I am having trouble running a very basic helloworld win forms app. I 
> compiled it with mcs like so: mcs -r:System.Drawing -r:System.Windows.Forms 
> HelloWorld-Win-Button.cs  but when I try it run it I get:
> mono HelloWorld-Win-Button.exe
> Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6 
> 14:35:24]
> Keyboard: British keyboard layout
> KDE colorscheme read
> =================================================================
> Got a SIGSEGV while executing native code. This usually indicates
> a fatal error in the mono runtime or one of the native libraries
> used by your application.
> =================================================================
> ..... (The stacktrace the follows is quite long so I have omitted it).

Sadly not too much we can do without the stack trace or the sample code.
If you can attach those we might be able to help.


> I am using mono:
> Mono JIT compiler version, (C) 2002-2005 Novell, Inc and 
> Contributors. www.mono-project.com
>         TLS:           normal
>         GC:            Included Boehm (with typed GC)
>         SIGSEGV      : normal
> Can anyone help me? The same bit of code works fine on Windows under the 
> Microsoft Visualstudio compile/run time environment.
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list

More information about the Mono-winforms-list mailing list