[Gtk-sharp-list] Pango.AttrList.Change triggers SIGSEGV
László Monda
mondalaci at gmail.com
Tue Dec 20 07:49:45 EST 2005
Hey List,
This piece of code triggers SIGSEGV at me:
Pango.Color color2 = new Pango.Color();
Pango.AttrForeground attrforeground = new Pango.AttrForeground(color2);
Pango.AttrList attrlist = new Pango.AttrList();
attrlist.Change(attrforeground);
Stacktrace:
in <0x4> (wrapper managed-to-native)
Pango.Attribute:pango_attribute_destroy (intptr)
in <0xffffffd4> (wrapper managed-to-native)
Pango.Attribute:pango_attribute_destroy (intptr)
in [0x16] Pango.Attribute:Dispose ()
in [0x1] Pango.Attribute:Finalize ()
in <0x518d7da5> (wrapper runtime-invoke)
System.Object:runtime_invoke_void (object,intptr,intptr,intptr)
Native stacktrace:
mono(mono_handle_native_sigsegv+0x7c) [0x814416c]
mono [0x81171ab]
[0xffffe440]
[0xb686dcd4]
[0xb686dc7d]
[0xb686dc49]
[0xb686dbc9]
mono [0x8145946]
mono [0x8107eb4]
mono [0x814663d]
mono [0x80ad253]
mono [0x80fc095]
mono [0x810a63b]
/lib/tls/libpthread.so.0 [0xb7e9acfd]
/lib/tls/libc.so.6(__clone+0x5e) [0xb7e00f1e]
I'm using Gtk# 2.6 and Mono 1.1.10.1.
Is this a wrapping bug or what?
--
Laci
Blog: http://monda.hu/~laci/blog
Home: http://mondalaci.objectis.net
More information about the Gtk-sharp-list
mailing list