[Gtk-sharp-list] confirm this bug?

Luke Usher luke at resonline.com.au
Fri Apr 28 02:48:40 EDT 2006


I have posted previously about ongoing stability issues with gtk and
I've narrowed down the problem somewhat. It appears that widgets
inheriting box will randomly crash, usually in the constructor. It has
generated access violation, null reference and fatal execution
exceptions all with the following simple code:

 

VB:

 

Imports Gtk

Public Class main

    Public Shared Sub main()

        Application.Init()

        For i As Integer = 0 To 10000

            Dim vbox As New VBox

        Next

    End Sub

End Class

 

C#

 

namespace Project3

{

    class main

    {

        public static void Main()

        {

            Gtk.Application.Init();

            for (int i = 0; i < 10000; i++)

            {

                Gtk.VBox vbox = new Gtk.VBox();

 

            }

        }

    }

}

 

The same errors occur when substituting vbox with hbox or table. I'm
using gtk# 2.8 from ms.net 2.0 on windows. Any suggestions on how to
proceed from here?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060428/070c36fd/attachment.html


More information about the Gtk-sharp-list mailing list