[ubuntu-mono] [Bug 206264] Re: wnck-sharp segfaults when accessing Wnck.Screen.Default

Elazar Leibovich elazarl at gmail.com
Fri Jun 4 17:01:53 BST 2010


I attach a stack trace.

This is the program I used:

using System;

using Wnck;

namespace Analyzer
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			//Console.WriteLine ("Hello World!");
			Wnck.Screen scr = Wnck.Screen.Default;
		}
	}
}

See the attached file for stack trace.

Please note that for this simple program:

using System;

using Wnck;

namespace Analyzer
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			//Console.WriteLine ("Hello World!");
			Wnck.Screen scr = Wnck.Screen.Get(0);
		}
	}
}

I get the warning:

(/home/elazar/Projects/Analyzer/Analyzer/bin/Debug/Analyzer.exe:2456):
Wnck-CRITICAL **: wnck_screen_get: assertion `gdk_display != NULL'
failed

** Attachment added: "Stack trace"
   http://launchpadlibrarian.net/49670661/stacktrace_wnck

-- 
wnck-sharp segfaults when accessing Wnck.Screen.Default
https://bugs.launchpad.net/bugs/206264
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to gnome-desktop-sharp2 in
ubuntu.

Status in “gnome-desktop-sharp2” package in Ubuntu: Invalid

Bug description:
Binary package hint: gnome-desktop-sharp2

The wnck-sharp bindings crash when utilizing the Screen.Default property.





More information about the Ubuntu-mono mailing list