wnck-sharp segfaults when accessing Wnck.Screen.Default

Bug #206264 reported by Jason Smith
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-desktop-sharp2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gnome-desktop-sharp2

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

Revision history for this message
Jason Smith (jassmith) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in gnome-desktop-sharp2:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in gnome-desktop-sharp2:
status: Incomplete → Invalid
Revision history for this message
Elazar Leibovich (elazarl) wrote :

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

Revision history for this message
Elazar Leibovich (elazarl) wrote :

Confirmed on Ubuntu 10.04. Stack trace is attached. Reproducing the problem is very easy.

Changed in gnome-desktop-sharp2 (Ubuntu):
status: Invalid → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.