[Mono-bugs] [Bug 583901] GInterfaces no longer work, crash with invalid class pointer in gtype.c

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 12 15:20:10 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=583901

https://bugzilla.novell.com/show_bug.cgi?id=583901#c10


--- Comment #10 from David Glick <dglick at dracorp.com> 2010-10-12 19:20:10 UTC ---
Hmm...I can still reproduce.

Steps I took to start from scratch (using Windows XP, SP 3):
- Download TreeModelDemo.cs from the Git repository
- Create a new VS 2008 empty project
- Add the downloaded TreeModelDemo.cs
- Add references to the needed Gtk-sharp libraries, making sure to browse and
select the ones packaged with Mono 2.8
- Use Mono Tools for Visual Studio to "Run in Mono" selecting Mono 2.8

When I follow these steps I get the following output:

Stacktrace:

  at (wrapper managed-to-native) GLib.Object.gtksharp_object_newv
(intptr,int,intptr[],GLib.Value[]) <0x00003>
  at (wrapper managed-to-native) GLib.Object.gtksharp_object_newv
(intptr,int,intptr[],GLib.Value[]) <0x00003>
  at GLib.Object.CreateNativeObject (string[],GLib.Value[]) <IL 0x0003f,
0x0009b>
  at GLib.Object..ctor () <IL 0x0001a, 0x0004c>
  at GtkSamples.MyTreeModel..ctor () [0x0000b] in
TreeModelDemo\TreeModelDemo.cs:64
  at GtkSamples.TreeModelDemo..ctor () [0x00029] in
TreeModelDemo\TreeModelDemo.cs:35
  at GtkSamples.TreeModelDemo.Main (string[]) [0x00007] in
TreeModelDemo\TreeModelDemo.cs:53
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x00049, 0x00073>

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Press any key to continue . . .

If this has been moved over to the Mono side of things, is there a
coorisponding bug/ticket I should be looking at instead?

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list