[Mono-dev] problems with simple windows form under ubuntu breezy
Rafael Teixeira
monoman at gmail.com
Sun Mar 26 08:28:06 EST 2006
Probably is a chained dependency, libgtk-x11-2.0.so, depends on lots
of other native libs and some may be missing.
Use
export MONO_LOG_LEVEL="debug"
export MONO_LOG_MASK="dll"
before running your program to have a more detailed log for the error.
Reading the man page for mono where such information is available, is
a "good thing to do" in such situations.
:)
On 3/24/06, Wade Maxfield <wmaxfield at gmail.com> wrote:
>
> Hello. I've got a weird error mix running a simple windows form under
> mono 1.1.13, ubuntu.
>
> Basically, I kept getting errors until I ran ldconfig -p and the errors
> mysteriously went away. It still complains about a missing library that
> ldconfig finds just fine.
>
> I went to the mailing list and searched for the error. I went to the
> mono web page concerning the missing dll and checked everything on the list.
> I don't understand this.
>
> Any Idea why mono should suddenly work? Any idea why it can't see the
> library I DO have installed?
>
> thanks,
> wade
>
>
>
>
> maxfield at cfw7245-xp2:~/.xdevelop/projects/RemoteDSP/RemoteDSP/bin/Debug$
> mono RemoteDSP.exe
> Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6
> 14:35:24]
> Keyboard: United States keyboard layout (phantom key version)
> Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so?), using
> built-in colorscheme
>
> =================================================================
> 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.Drawing.FontFamily:refreshName ()
> in <0x4a> System.Drawing.FontFamily:refreshName ()
> in <0x20> System.Drawing.FontFamily:.ctor (intptr)
> in <0xffffff5c> (wrapper remoting-invoke-with-check)
> System.Drawing.FontFamily:.ctor (intptr)
> in <0x44> System.Drawing.FontFamily:get_GenericSansSerif
> ()
> in <0x65> System.Windows.Forms.ThemeWin32Classic:.ctor ()
> in <0xf8> System.Windows.Forms.ThemeEngine:.cctor ()
> in <0x50c70dc3> (wrapper runtime-invoke)
> System.Object:runtime_invoke_void
> (object,intptr,intptr,intptr)
> in <0xffffffff>
> System.Windows.Forms.Control:get_DefaultFont ()
> in <0xb> System.Windows.Forms.Control:get_DefaultFont ()
> in <0x55> System.Windows.Forms.Control:get_Font ()
> in <0x2e> System.Windows.Forms.Form:.ctor ()
> in <0x4b> RemoteDSP.MainForm:.ctor ()
> in <0x716d63> (wrapper remoting-invoke-with-check) RemoteDSP.MainForm:.ctor
> ()
> in <0x43> RemoteDSP.Program:Main (string[])
> in <0x50c72639> (wrapper runtime-invoke)
> System.Object:runtime_invoke_void_string[]
> (object,intptr,intptr,intptr)
>
> Native stacktrace:
>
> mono(mono_handle_native_sigsegv+0x7c) [0x81488dc]
> mono [0x811905b]
> [0xffffe440]
> /lib/tls/i686/cmov/libc.so.6(calloc+0xd6)
> [0xb7d55106]
> /usr/lib/libglib-2.0.so.0(g_malloc0+0x38) [0xb7e9af7e]
> mono(mono_bitset_new+0x2a) [0x810159a]
> mono(mono_analyze_liveness+0x127) [0x8139d07]
> mono [0x813272a]
> mono [0x8133b97]
> mono [0x81339a1]
> mono(mono_magic_trampoline+0x12) [0x8149a22]
> [0xb7b97032]
> [0xb6d4ba09]
> [0xb6d4b9ba]
> [0xb6d4b8ed]
> [0xb6d4a5fe]
> [0xb6d49eb1]
> [0xb745c82e]
> mono(mono_runtime_class_init+0x10c) [0x80cd5cc]
> mono [0x8133cb6]
> mono(mono_magic_trampoline+0x12) [0x8149a22]
> [0xb7b97032]
> [0xb6d489f6]
> [0xb6d461a7]
> [0xb6d45aac]
> [0xb6d45a32]
> [0xb745c774]
> [0xb745b823]
> mono(mono_runtime_exec_main+0x52) [0x80cde32]
> mono(mono_runtime_run_main+0x12f) [0x80d09ef]
> mono(mono_main+0xeef) [0x805d65f]
>
> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2)
> [0xb7d04ea2]
> mono [0x805c211]
> Aborted
> maxfield at cfw7245-xp2:~/.xdevelop/projects/RemoteDSP/RemoteDSP/bin/Debug$
> ldconfig -p | grep libgt*
> libguilereadline-v-12.so.12 (libc6) =>
> /usr/lib/libguilereadline-v-12.so.12
> libguile.so.12 (libc6) => /usr/lib/libguile.so.12
> libguile-srfi-srfi-13-14-v-1.so.1 (libc6) =>
> /usr/lib/libguile-srfi-srfi-13-14-v-1.so.1
> libguile-srfi-srfi-4-v-1.so.1 (libc6) =>
> /usr/lib/libguile-srfi-srfi-4-v-1.so.1
> libguile-ltdl.so.1 (libc6) => /usr/lib/libguile-ltdl.so.1
> libgucharmap.so.4 (libc6) => /usr/lib/libgucharmap.so.4
> libgtop-2.0.so.5 (libc6) => /usr/lib/libgtop-2.0.so.5
> libgtkspell.so.0 (libc6) => /usr/lib/libgtkspell.so.0
> libgtksourceview-1.0.so.0 (libc6) =>
> /usr/lib/libgtksourceview-1.0.so.0
> libgtksharpglue.so (libc6) => /usr/lib/libgtksharpglue.so
> libgtksharpglue-2.so (libc6) => /usr/lib/libgtksharpglue-2.so
> libgtkhtml-3.8.so.15 (libc6) => /usr/lib/libgtkhtml-3.8.so.15
> libgtkhtml-2.so.0 (libc6) => /usr/lib/libgtkhtml-2.so.0
> libgtk-x11-2.0.so.0 (libc6) => /usr/lib/libgtk-x11-2.0.so.0
> libgthumb.so (libc6) => /usr/lib/libgthumb.so
> libgthread-2.0.so.0 (libc6) => /usr/lib/libgthread-2.0.so.0
> libgstreamer-0.8.so.1 (libc6) => /usr/lib/libgstreamer-0.8.so.1
> libgstplay-0.8.so.0 (libc6) => /usr/lib/libgstplay-0.8.so.0
> libgstmedia-info-0.8.so.0 (libc6) =>
> /usr/lib/libgstmedia-info-0.8.so.0
> libgstinterfaces-0.8.so.0 (libc6) =>
> /usr/lib/libgstinterfaces-0.8.so.0
> libgstgconf-0.8.so.0 (libc6) => /usr/lib/libgstgconf-0.8.so.0
> libgstcontrol-0.8.so.1 (libc6) => /usr/lib/libgstcontrol-0.8.so.1
> libgssapi_krb5.so.2 (libc6) => /usr/lib/libgssapi_krb5.so.2
> libgsm.so.1 (libc6) => /usr/lib/libgsm.so.1
> libgslcblas.so.0 (libc6) => /usr/lib/libgslcblas.so.0
> libgsl.so.0 (libc6) => /usr/lib/libgsl.so.0
> libgsf-1.so.1 (libc6) => /usr/lib/libgsf-1.so.1
> libgpm.so.1 (libc6) => /usr/lib/libgpm.so.1
> libgpilotdconduit.so.2 (libc6) => /usr/lib/libgpilotdconduit.so.2
> libgpilotdcm.so.2 (libc6) => /usr/lib/libgpilotdcm.so.2
> libgpilotd.so.2 (libc6) => /usr/lib/libgpilotd.so.2
> libgphoto2_port.so.0 (libc6) => /usr/lib/libgphoto2_port.so.0
> libgphoto2.so.2 (libc6) => /usr/lib/libgphoto2.so.2
> libgpg-error.so.0 (libc6) => /usr/lib/libgpg-error.so.0
> libgobject-2.0.so.0 (libc6) => /usr/lib/libgobject-2.0.so.0
> libgnutls.so.11 (libc6) => /usr/lib/libgnutls.so.11
> libgnutls-openssl.so.11 (libc6) => /usr/lib/libgnutls-openssl.so.11
> libgnutls-extra.so.11 (libc6) => /usr/lib/libgnutls-extra.so.11
> libgnomevfs-2.so.0 (libc6) => /usr/lib/libgnomevfs-2.so.0
> libgnomeui-2.so.0 (libc6) => /usr/lib/libgnomeui-2.so.0
> libgnomesharpglue.so (libc6) => /usr/lib/libgnomesharpglue.so
> libgnomesharpglue-2.so (libc6) => /usr/lib/libgnomesharpglue-2.so
> libgnomeprintui-2-2.so.0 (libc6) =>
> /usr/lib/libgnomeprintui-2-2.so.0
> libgnomeprint-2-2.so.0 (libc6) => /usr/lib/libgnomeprint-2-2.so.0
> libgnomecupsui-1.0.so.1 (libc6) => /usr/lib/libgnomecupsui-1.0.so.1
> libgnomecups-1.0.so.1 (libc6) => /usr/lib/libgnomecups-1.0.so.1
> libgnomecanvas-2.so.0 (libc6) => /usr/lib/libgnomecanvas-2.so.0
> libgnome-2.so.0 (libc6) => /usr/lib/libgnome-2.so.0
> libgnome-window-settings.so.1 (libc6) =>
> /usr/lib/libgnome-window-settings.so.1
> libgnome-menu.so.2 (libc6) => /usr/lib/libgnome-menu.so.2
> libgnome-media-profiles.so.0 (libc6) =>
> /usr/lib/libgnome-media-profiles.so.0
> libgnome-media-profiles.so (libc6) =>
> /usr/lib/libgnome-media-profiles.so
> libgnome-keyring.so.0 (libc6) => /usr/lib/libgnome-keyring.so.0
> libgnome-desktop-2.so.2 (libc6) => /usr/lib/libgnome-desktop-2.so.2
> libgmodule-2.0.so.0 (libc6) => /usr/lib/libgmodule-2.0.so.0
> libglut.so.3 (libc6) => /usr/lib/libglut.so.3
> libglide.so.2 (libc6) => /usr/lib/libglide.so.2
> libglibsharpglue.so (libc6) => /usr/lib/libglibsharpglue.so
> libglibsharpglue-2.so (libc6) => /usr/lib/libglibsharpglue-2.so
> libglib-2.0.so.0 (libc6) => /usr/lib/libglib-2.0.so.0
> libgle.so.3 (libc6) => /usr/lib/libgle.so.3
> libgladesharpglue.so (libc6) => /usr/lib/libgladesharpglue.so
> libgladesharpglue-2.so (libc6) => /usr/lib/libgladesharpglue-2.so
> libglade-2.0.so.0 (libc6) => /usr/lib/libglade-2.0.so.0
> libgksu1.2.so.0 (libc6) => /usr/lib/libgksu1.2.so.0
> libgksuui1.0.so.0 (libc6) => /usr/lib/libgksuui1.0.so.0
> libgimpwidgets-2.0.so.0 (libc6) => /usr/lib/libgimpwidgets-2.0.so.0
> libgimpui-2.0.so.0 (libc6) => /usr/lib/libgimpui-2.0.so.0
> libgimpthumb-2.0.so.0 (libc6) => /usr/lib/libgimpthumb-2.0.so.0
> libgimpprint.so.1 (libc6) => /usr/lib/libgimpprint.so.1
> libgimpmodule-2.0.so.0 (libc6) => /usr/lib/libgimpmodule-2.0.so.0
> libgimpmath-2.0.so.0 (libc6) => /usr/lib/libgimpmath-2.0.so.0
> libgimpcolor-2.0.so.0 (libc6) => /usr/lib/libgimpcolor-2.0.so.0
> libgimpbase-2.0.so.0 (libc6) => /usr/lib/libgimpbase-2.0.so.0
> libgimp-2.0.so.0 (libc6) => /usr/lib/libgimp-2.0.so.0
> libgij.so.6 (libc6) => /usr/lib/libgij.so.6
> libgdksharpglue.so (libc6) => /usr/lib/libgdksharpglue.so
> libgdksharpglue-2.so (libc6) => /usr/lib/libgdksharpglue-2.so
> libgdk_pixbuf_xlib-2.0.so.0 (libc6) =>
> /usr/lib/libgdk_pixbuf_xlib-2.0.so.0
> libgdk_pixbuf-2.0.so.0 (libc6) => /usr/lib/libgdk_pixbuf-2.0.so.0
> libgdk-x11-2.0.so.0 (libc6) => /usr/lib/libgdk-x11-2.0.so.0
> libgdiplus.so.0 (libc6) => /lib/libgdiplus.so.0
> libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0
> libgdiplus.so (libc6) => /lib/libgdiplus.so
> libgdiplus.so (libc6) => /usr/lib/libgdiplus.so
> libgdchart.so.0 (libc6) => /usr/lib/libgdchart.so.0
> libgdbm_compat.so.3 (libc6) => /usr/lib/libgdbm_compat.so.3
> libgdbm.so.3 (libc6) => /usr/lib/libgdbm.so.3
> libgdasql.so.3 (libc6) => /usr/lib/libgdasql.so.3
> libgda-2.so.3 (libc6) => /usr/lib/libgda-2.so.3
> libgda-report-2.so.3 (libc6) => /usr/lib/libgda-report-2.so.3
> libgd.so.2 (libc6) => /usr/lib/libgd.so.2
> libgd.so.1 (libc6) => /usr/lib/libgd.so.1
> libgcrypt.so.11 (libc6) => /usr/lib/libgcrypt.so.11
> libgconf-2.so.4 (libc6) => /usr/lib/libgconf-2.so.4
> libgcj.so.6 (libc6) => /usr/lib/libgcj.so.6
> libgccpp.so.1 (libc6) => /usr/lib/libgccpp.so.1
> libgcc_s.so.1 (libc6) => /lib/libgcc_s.so.1
> libgc.so.1 (libc6) => /usr/lib/libgc.so.1
> libgamin-1.so.0 (libc6) => /usr/lib/libgamin-1.so.0
> libgaim-remote.so.0 (libc6) => /usr/lib/libgaim-remote.so.0
> libgailutil.so.17 (libc6) => /usr/lib/libgailutil.so.17
> maxfield at cfw7245-xp2:~/.xdevelop/projects/RemoteDSP/RemoteDSP/bin/Debug$
> ldconfig -p | grep libgtk*
> libgtop-2.0.so.5 (libc6) => /usr/lib/libgtop-2.0.so.5
> libgtkspell.so.0 (libc6) => /usr/lib/libgtkspell.so.0
> libgtksourceview-1.0.so.0 (libc6) =>
> /usr/lib/libgtksourceview-1.0.so.0
> libgtksharpglue.so (libc6) => /usr/lib/libgtksharpglue.so
> libgtksharpglue-2.so (libc6) => /usr/lib/libgtksharpglue-2.so
> libgtkhtml-3.8.so.15 (libc6) => /usr/lib/libgtkhtml-3.8.so.15
> libgtkhtml-2.so.0 (libc6) => /usr/lib/libgtkhtml-2.so.0
> libgtk-x11-2.0.so.0 (libc6) => /usr/lib/libgtk-x11-2.0.so.0
> libgthumb.so (libc6) => /usr/lib/libgthumb.so
> libgthread-2.0.so.0 (libc6) => /usr/lib/libgthread-2.0.so.0
> maxfield at cfw7245-xp2:~/.xdevelop/projects/RemoteDSP/RemoteDSP/bin/Debug$
> maxfield at cfw7245-xp2:~/.xdevelop/projects/RemoteDSP/RemoteDSP/bin/Debug$
> maxfield at cfw7245-xp2:~/.xdevelop/projects/RemoteDSP/RemoteDSP/bin/Debug$
> maxfield at cfw7245-xp2:~/.xdevelop/projects/RemoteDSP/RemoteDSP/bin/Debug$
> mono RemoteDSP.exe
> Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6
> 14:35:24]
> Keyboard: United States keyboard layout (phantom key version)
> Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so?), using
> built-in colorscheme
> maxfield at cfw7245-xp2:~/.xdevelop/projects/RemoteDSP/RemoteDSP/bin/Debug$
> mono RemoteDSP.exe
> Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6
> 14:35:24]
> Keyboard: United States keyboard layout (phantom key version)
> Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so?), using
> built-in colorscheme
> maxfield at cfw7245-xp2:~/.xdevelop/projects/RemoteDSP/RemoteDSP/bin/Debug$
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
--
Rafael "Monoman" Teixeira
---------------------------------------
As I'm currently working a lot with Java and even fixing Java VMs
(JamVM/Kaffe) and GNU Classpath code, I think I may partly borrow the
title (Javaman) from my friend Bruno Souza and become the
MonoNJavaMan. Yeah, I may currently be crazier than usual...
More information about the Mono-devel-list
mailing list