It seemed to be because i used multithreading, after i have added locks and
other stuff
2008/4/8, Søren Juul <[EMAIL PROTECTED]>:
>
> Hello
>
> I am using pango change the layout of some labels:
>
> Label urlLaben = null;
> Pango.FontDescription font_desc = null;
> font_desc = Pango.FontDescription.FromString ("sans 11 bold");
> urlLabel = new Label("n/a");
> urlLabel.ModifyFont(font_desc);
> urlLabel.SetAlignment(0.0f, 1.0f);
>
> But when the application has been running for a short while i get a pango
> warning and the application dies.
>
> (mml:10381): Pango-WARNING **: Invalid UTF-8 string passed to
> pango_layout_set_text()
>
> (mml:10381): Pango-WARNING **: shaping failure, expect ugly output.
> shape-engine='BasicEngineFc', font='DejaVu Sans 8', text=''
> Stacktrace:
>
> Segmentation fault (core dumped)
>
>
> Why is this, and what can be done about it? The labels text are updated
> regularly (about once a second), can this be part of the problem?
> --
> Med venlig hilsen / Kind regards
> Søren Juul
--
Med venlig hilsen / Kind regards
Søren Juul
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list