Package: libmono-addins-gui0.2-cil
Version: 0.6-2
Severity: important

This bug was originally found in f-spot 0.8.2 on debian, and was reported in
bgo#646232.  The problem was a crash, steps to reproduce:
1. run f-spot
2. Click on Edit->Manage Exentions
3. f-spot crashes.

The crash is a null dereference of addininfoInstalled in
Mono.Addin.Gui/Mono.Addin.Gui/AddinManagerDialog.cs:74.  This occurs because
addininfoInstalled, addininfoUpdates and addininfoGallery are not initialised
(nor have properties & signals set up) in Mono.Addin.Gui/gtk-
gui/Mono.Addins.Gui.AddinManagerDialog.cs, which is autogenerated from
Mono.Addin.Gui/gtk-gui/gui.stetic.

The autogenerated code is distributed rather than build at runtime.  An example
of the buggy autogenerated code is at line 108:
                        this.addininfoInstalled = null;
                        this.eventbox2.Add (this.addininfoInstalled);
Whereas the correct version is
                        this.addininfoInstalled = new
global::Mono.Addins.Gui.AddinInfoView ();
                        this.addininfoInstalled.Events =
((global::Gdk.EventMask)(256));
                        this.addininfoInstalled.Name = "addininfoInstalled";
                        this.addininfoInstalled.AllowInstall = false;
                        this.eventbox2.Add (this.addininfoInstalled);
(there are other differences too)

The bug is in the 0.6 tarball on codeplex, but is nowhere to be seen on
github.com/mono/mono-addins and is fixed in the 0.6.1 tarball on codeplex.

I can create a patch if you like, however it seems like updating to 0.6.1 is
the best solution.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'proposed-updates'), (500, 'oldstable'),
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmono-addins-gui0.2-cil depends on:
ii  cli-common                    0.7.1      common files between all CLI packa
ii  libglib2.0-cil                2.12.10-1  CLI binding for the GLib utility l
ii  libgtk2.0-cil                 2.12.10-1  CLI binding for the GTK+ toolkit 2
ii  libmono-addins0.2-cil         0.6-2      addin framework for extensible CLI
ii  libmono-cairo2.0-cil          2.6.7-5    Mono Cairo library (for CLI 2.0)
ii  libmono-corlib2.0-cil         2.6.7-5    Mono core library (for CLI 2.0)
ii  libmono-posix2.0-cil          2.6.7-5    Mono.Posix library (for CLI 2.0)
ii  libmono-system2.0-cil         2.6.7-5    Mono System libraries (for CLI 2.0

libmono-addins-gui0.2-cil recommends no packages.

libmono-addins-gui0.2-cil suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to