[Mono-winforms-list] Error Running Basic Win-Forms App
Peter Dennis Bartok
peter at novonyx.com
Mon Jan 23 18:47:15 EST 2006
Freddie,
First thing that comes to mind is that libgdiplus may be having issues/be
too old/not match S.D and MWF. I don't know how you installed, so I have no
way to recommend checking if the libgdiplus matches your mono version. If
you're using RPMs check the versions of the libgdiplus RPM against the Mono
RPM version. If building from source, make sure you also updated your
libgdiplus module, if building from tarballs, make sure you get the
libgdiplus tarball matching your mono. Etc...
The other thing I noticed is that you're running 1.1.12.1. In terms of
WinForms support, that version is very old, you should at least try 1.1.13,
but, for WinForms best is if you use the svn version. Remember, WinForms is
still under heavy development and not 'released' yet.
Cheers,
Peter
-----Original Message-----
From: "Jackson Harper" <jackson at ximian.com>
To: "Freddie Witherden" <freddie.witherden at googlemail.com>
Cc: "Winforms List" <mono-winforms-list at lists.ximian.com>
Date: 23 January, 2006 16:37
Subject: Re: [Mono-winforms-list] Error Running Basic Win-Forms App
>[CCing the list so others can help. ]
>
>This looks like its a problem with your setup. How have you installed
>mono, and what kind of system are you running on?
>
>Jackson
>
>
>
>On Sun, 2006-01-22 at 10:54 +0000, Freddie Witherden wrote:
>> Okay, the sample code can be found here: http://margaret2708.plus.com/
>> HelloWorld-Win-Button.cs and the complete stack trace can be found
>> here: http://margaret2708.plus.com/stacktrace.txt . Hope that help.
>> Regards, Freddie.
>> On 22 Jan 2006, at 11:24, Jackson Harper wrote:
>>
>> > 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.
>> >
>> > Cheers,
>> > Jackson
>> >
>> >
>> >> I am using mono:
>> >> Mono JIT compiler version 1.1.12.1, (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
>> >
>>
>
>_______________________________________________
>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