Your message dated Sat, 23 Dec 2023 18:43:09 +0000
with message-id <[email protected]>
and subject line Bug#1053153: Removed package(s) from unstable
has caused the Debian Bug report #543160,
regarding Gtk.Dotnet-using application hangs
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
543160: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543160
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgtk2.0-cil
Version: 2.12.9-1
My GTK# application hangs after a couple of seconds. I've attached a
test case derived from my application. The full application I'm testing
is RoboWarX, available at:
http://code.google.com/p/robowarx/
I cannot reproduce this bug report in Fedora 11 in VirtualBox. The
application simply keeps running on that installation.
I believe this bug started to appear at the beginning of the Mono 2
transition. At the time, I also tried reproducing this in OpenSUSE,
which didn't have the bug either.
Furthermore, in the test case, commenting out the Gtk.Dotnet parts seems
to stop the application from crashing.
Admittedly, this bug was recorded in Ubuntu Karmic. At the request of
directhex I'm reporting it here. Karmic and Squeeze seem to use the same
packages for gtk-sharp2 and mono at the moment.
When Mono is started through GDB and I send SIGTRAP to the application,
I can get the following backtrace:
(gdb) thread apply all bt
Thread 3 (Thread 0x7ffff5ab4910 (LWP 19624)):
#0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1 0x00000000004e31ba in ?? ()
#2 0x0000000000502f1a in ?? ()
#3 0x000000000056d933 in ?? ()
#4 0x000000000058b591 in ?? ()
#5 0x00007ffff72f0a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6 0x00007ffff6dd65fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7ffff7fd7910 (LWP 19623)):
#0 0x00007ffff72f88f1 in nanosleep () from /lib/libpthread.so.0
#1 0x0000000000553e52 in ?? ()
#2 0x00007ffff72f0a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#3 0x00007ffff6dd65fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Current language: auto; currently asm
Thread 1 (Thread 0x7ffff7fd0730 (LWP 19620)):
#0 0x00007ffff6dca1b3 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff16fe29a in ?? () from /usr/lib/libxcb.so.1
#2 0x00007ffff16ffc2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3 0x00007ffff3849f23 in _XReply () from /usr/lib/libX11.so.6
#4 0x00007ffff3825d50 in XGetGeometry () from /usr/lib/libX11.so.6
#5 0x00007fffef112c95 in GdipCreateFromXDrawable_linux () from
/usr/lib/libgdiplus.so.0
#6 0x0000000040036412 in ?? ()
#7 0x00007fffffffcde0 in ?? ()
#8 0x0000000000000000 in ?? ()
Current language: auto; currently c
reportbug additional information:
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500,
'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-6-generic (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgtk2.0-cil depends on:
ii libatk1.0-0 1.27.90-0ubuntu1 The ATK accessibility toolkit
ii libc6 2.10.1-0ubuntu7 GNU C Library: Shared libraries
ii libcairo2 1.8.8-2ubuntu1 The Cairo 2D vector graphics libra
ii libglib2.0-0 2.21.4-0ubuntu1 The GLib library of C routines
ii libglib2.0-cil 2.12.9-1 CLI binding for the GLib utility l
ii libgtk2.0-0 2.17.7-0ubuntu3 The GTK+ graphical user interface
ii libmono-cairo2.0-cil 2.4.2.3+dfsg-1 Mono Cairo library (for CLI 2.0)
ii libmono-corlib2.0-cil 2.4.2.3+dfsg-1 Mono core library (for CLI 2.0)
ii libmono-system2.0-cil 2.4.2.3+dfsg-1 Mono System libraries (for CLI 2.0
ii libpango1.0-0 1.25.3-0ubuntu1 Layout and rendering of internatio
libgtk2.0-cil recommends no packages.
Versions of packages libgtk2.0-cil suggests:
ii monodoc-gtk2.0-manual 2.12.9-1 compiled XML documentation for GTK
-- no debconf information
using System;
using GLib;
using Gtk;
/*
* To run:
* Create an empty GTK# project in MonoDevelop and use this code.
* Place a DrawingArea in the window and name it 'canvas'.
* Link it's ExposeEvent to OnCanvasExposeEvent
* Add references for these two:
*/
using System.Drawing;
using Gtk.DotNet;
/*
* This test case hangs in a poll call somewhere in XCB. GDB says:
(gdb) thread apply all bt
Thread 3 (Thread 0x7ffff5ab4910 (LWP 19624)):
#0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1 0x00000000004e31ba in ?? ()
#2 0x0000000000502f1a in ?? ()
#3 0x000000000056d933 in ?? ()
#4 0x000000000058b591 in ?? ()
#5 0x00007ffff72f0a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6 0x00007ffff6dd65fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7ffff7fd7910 (LWP 19623)):
#0 0x00007ffff72f88f1 in nanosleep () from /lib/libpthread.so.0
#1 0x0000000000553e52 in ?? ()
#2 0x00007ffff72f0a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff6dd65fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Current language: auto; currently asm
Thread 1 (Thread 0x7ffff7fd0730 (LWP 19620)):
#0 0x00007ffff6dca1b3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff16fe29a in ?? () from /usr/lib/libxcb.so.1
#2 0x00007ffff16ffc2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3 0x00007ffff3849f23 in _XReply () from /usr/lib/libX11.so.6
#4 0x00007ffff3825d50 in XGetGeometry () from /usr/lib/libX11.so.6
#5 0x00007fffef112c95 in GdipCreateFromXDrawable_linux () from /usr/lib/libgdiplus.so.0
#6 0x0000000040036412 in ?? ()
#7 0x00007fffffffcde0 in ?? ()
#8 0x0000000000000000 in ?? ()
Current language: auto; currently c
*/
public partial class MainWindow: Gtk.Window
{
public MainWindow (): base (Gtk.WindowType.Toplevel)
{
Build ();
canvas.SetSizeRequest(200, 200);
GLib.Timeout.Add(10, frame);
}
private void OnDeleteEvent (object sender, DeleteEventArgs a)
{
Application.Quit ();
a.RetVal = true;
}
private bool frame()
{
// Redraw our window rapidly
QueueDraw();
return true;
}
private void OnCanvasExposeEvent (object o, Gtk.ExposeEventArgs args)
{
Gdk.Window win = args.Event.Window;
Gdk.Pixmap pm = new Gdk.Pixmap(win, 200, 200);
// Clear the background
Gdk.GC whitegc = new Gdk.GC(win);
whitegc.Foreground = canvas.Style.White;
pm.DrawRectangle(whitegc, true, 0, 0, 200, 200);
// Commenting this out appears to not hang
DrawThrobber(Gtk.DotNet.Graphics.FromDrawable(pm));
// Draw the pixmap
win.DrawDrawable(whitegc, pm, 0, 0, 1, 1, 200, 200);
}
// This just draws a bouncing rectangle
private int counter = 100;
private void DrawThrobber (System.Drawing.Graphics g)
{
int pos = Math.Abs((counter % 200) - 100);
counter++;
Rectangle r = new Rectangle(40 + pos, 50, 20, 100);
g.DrawRectangle(Pens.Blue, r);
}
}
--- End Message ---
--- Begin Message ---
Version: 2.12.40-3.1+rm
Dear submitter,
as the package gtk-sharp2 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1053153
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)
--- End Message ---