You are not logged in.

#1 2013-12-08 07:12:24

Ichiru
Member
Registered: 2013-12-08
Posts: 3

Mono Gtk# applications fail to start

Hello!

Whenever I seem to run a mono Gtk# application, it hangs and fails to continue opening.

I've already tried re-installing with

pacman -Rdds pinta monodevelop mono

and

pacman -Syyu pinta monodevelop mono

but that hasn't change the behaviour.

Pinta gives me a  blank window and the following terminal output:

(Pinta:2563): GLib-GObject-WARNING **: Attempt to add property __gtksharp_11_Pinta_Gui_Widgets_CellRendererSurface::surface after class was initialised
'gtk-close' is not a valid resource name of assembly 'Pinta.Resources, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-new' is not a valid resource name of assembly 'Pinta.Resources, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-new' is not a valid resource name of assembly 'Pinta.Resources, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-new' is not a valid resource name of assembly 'Pinta.Resources, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null'.

Monodevelop gives me no terminal output and just hangs

Are there things that need to be configured in my Openbox startup to get them to run? Firefox and other Gtk+ applications run

uname -a Output:

Linux localhost 3.12.3-1-ARCH #1 SMP PREEMPT Wed Dec 4 21:45:42 CET 2013 x86_64 GNU/Linux

mono --version Output:

Mono JIT compiler version 3.2.3 (tarball Sun Sep 22 20:38:43 UTC 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            sgen

Last edited by Ichiru (2013-12-08 07:13:59)

Offline

#2 2013-12-08 07:53:33

Ichiru
Member
Registered: 2013-12-08
Posts: 3

Re: Mono Gtk# applications fail to start

Extra Info:

When prepending MONO_LOG_LEVEL=debug I got the following output

Pinta:

Mono: DllImport searching in: 'libcairo.so.2' ('libcairo.so.2').
Mono: Searching for 'cairo_set_source_surface'.
Mono: Probing 'cairo_set_source_surface'.
Mono: Found as 'cairo_set_source_surface'.

Monodevelop:

Mono: DllImport searching in: 'libMonoPosixHelper.so' ('libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_stdin'.
Mono: Probing 'Mono_Posix_Stdlib_stdin'.
Mono: Found as 'Mono_Posix

It seems to randomly hang during P/invoke

Offline

#3 2013-12-08 10:12:43

balticer
Member
Registered: 2013-11-17
Posts: 6

Re: Mono Gtk# applications fail to start

hi,

please try "strace <app>" -> strace monodevelop

I have an related issue with keepass and very often with other mono apps too. -> https://bugs.archlinux.org/task/38010

regards
Kai

Offline

#4 2013-12-09 16:58:46

Ichiru
Member
Registered: 2013-12-08
Posts: 3

Re: Mono Gtk# applications fail to start

I've posted the solution on Superuser -> http://superuser.com/questions/685480/a … -dllimport

Offline

Board footer

Powered by FluxBB