[Mono-list] Winform Error in Ubuntu
Abe Gillespie
abe.gillespie at gmail.com
Tue Jan 3 11:59:33 EST 2006
First of all you shouldn't be copying libraries around your system
willy nilly; you should either symbolically link the library or set
the path in the mono config file. Second, try running the WinForm
program NOT as root. I don't think this is your problem, but root
will never have access to your user's running X11 process.
-Abe
On 1/3/06, Willngton Roque <willngton at gmail.com> wrote:
> I copy the files (libgdiplus.so for /opt/mono/lib
>
> Now I get outher erro :-(..
>
> mono exemplo1.exe
>
> erro:
> root at spolinux:/home/mono# mono exempl3.exe
> cannot open assembly exempl3.exe
> root at spolinux:/home/mono# mono exemplo3.exe
> Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6
> 14:35:24]
> Keyboard: Brazilian ABNT-2 keyboard layout
>
> =================================================================
> 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.
> =================================================================
>
> Stacktrace:
>
> in <0xffffffff>
> System.Windows.Forms.ThemeWin32Classic:.ctor ()
> in <0x91> System.Windows.Forms.ThemeWin32Classic:.ctor ()
> in <0xf8> System.Windows.Forms.ThemeEngine:.cctor ()
> in <0x50c9df8f> (wrapper runtime-invoke)
> System.Object:runtime_invoke_void
> (object,intptr,intptr,intptr)
> in <0xffffffff>
> System.Windows.Forms.X11DesktopColors:.cctor ()
> in <0xfb> System.Windows.Forms.X11DesktopColors:.cctor ()
> in <0x50c9df8f> (wrapper runtime-invoke)
> System.Object:runtime_invoke_void
> (object,intptr,intptr,intptr)
> in <0xffffffff> System.Windows.Forms.XplatUIX11:.ctor ()
> in <0x94> System.Windows.Forms.XplatUIX11:.ctor ()
> in <0x40> System.Windows.Forms.XplatUIX11:GetInstance ()
> in <0x61> System.Windows.Forms.XplatUI:.cctor ()
> in <0x50c9df8f> (wrapper runtime-invoke)
> System.Object:runtime_invoke_void
> (object,intptr,intptr,intptr)
> in <0xffffffff> System.Windows.Forms.Form:get_CreateParams
> ()
> in <0x5d> System.Windows.Forms.Form:get_CreateParams ()
> in <0x292> System.Windows.Forms.Control:.ctor ()
> in <0x11> System.Windows.Forms.ScrollableControl:.ctor ()
> in <0x10> System.Windows.Forms.ContainerControl:.ctor ()
> in <0x19> System.Windows.Forms.Form:.ctor ()
> in <0xa> formulario:.ctor ()
> in <0xffffffd0> (wrapper remoting-invoke-with-check) formulario:.ctor ()
> in <0x18> exemplo2:Main ()
> in <0x50c9ef87> (wrapper runtime-invoke)
> System.Object:runtime_invoke_void
> (object,intptr,intptr,intptr)
>
> Native stacktrace:
>
> mono(mono_handle_native_sigsegv+0xba) [0x814a44a]
> mono [0x81368cf]
> [0xffffe440]
> /lib/tls/i686/cmov/libc.so.6(calloc+0xd6)
> [0xb7da6106]
> /usr/lib/libglib-2.0.so.0(g_malloc0+0x38) [0xb7eebf7e]
> mono [0x813534e]
> mono [0x813617b]
> mono [0x8136487]
> mono [0x81364ba]
> mono(mono_compile_method+0x3a) [0x80d311a]
> mono(mono_magic_trampoline+0x1a) [0x814b73a]
> [0xb7be6032]
> [0xb6d715b1]
> [0xb7498816]
> mono [0x8136780]
> mono(mono_runtime_invoke+0x27) [0x80d4927]
> mono(mono_runtime_class_init+0x12b) [0x80d2d1b]
> mono [0x813620a]
> mono [0x8136487]
> mono [0x81364ba]
> mono(mono_compile_method+0x3a) [0x80d311a]
> mono(mono_magic_trampoline+0x1a) [0x814b73a]
> [0xb7be6032]
> [0xb7498816]
> mono [0x8136780]
> mono(mono_runtime_invoke+0x27) [0x80d4927]
> mono(mono_runtime_class_init+0x12b) [0x80d2d1b]
> mono [0x813620a]
> mono [0x8136487]
> mono [0x81364ba]
> mono(mono_compile_method+0x3a) [0x80d311a]
> mono(mono_magic_trampoline+0x1a) [0x814b73a]
> [0xb7be6032]
> [0xb7082bc1]
> [0xb707ec8a]
> [0xb7498816]
> mono [0x8136780]
> mono(mono_runtime_invoke+0x27) [0x80d4927]
> mono(mono_runtime_class_init+0x12b) [0x80d2d1b]
> mono [0x813620a]
> mono [0x8136487]
> mono [0x81364ba]
> mono(mono_compile_method+0x3a) [0x80d311a]
> mono(mono_magic_trampoline+0x1a) [0x814b73a]
> [0xb7be6032]
> [0xb707e1ab]
> [0xb707dd02]
> [0xb707dc21]
> [0xb707d942]
> [0xb74987c3]
> [0xb749878a]
> [0xb7498739]
> [0xb749781e]
> mono [0x8136780]
> mono(mono_runtime_invoke+0x27) [0x80d4927]
> mono(mono_runtime_exec_main+0x5c) [0x80d579c]
> mono(mono_runtime_run_main+0x171) [0x80d53c1]
> mono(strftime+0x1b52) [0x805ce02]
> mono(mono_main+0x786) [0x805d716]
> mono(__fxstat64+0x12b) [0x805c1cb]
>
> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2)
> [0xb7d55ea2]
> mono(sinh+0x41) [0x805c121]
> Abortado
>
>
>
> 2006/1/3, Pablo Iñigo Blasco <pibgeus at gmail.com>:
> > System.DllNotFoundException: gdiplus .dll
> > in (wrapper managed-to-native)
> >
> > You need the dinamic library 'libgdi.so', you can download the sources
> from the svn repository, compile and install it.
> >
> >
> > --
> > No hay viento favorable para el que no sabe donde va.
> > Pablo Iñigo Blasco - GeuS- www.geus.es.vg
>
>
>
> --
> Willngton Roque
> E-mail: willngton at gmail.com
> MSN: willngton at hotmail.com
> ICQ: 82484019
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
More information about the Mono-list
mailing list