[Gambas-user] How to find the source of evil?

Benoît Minisini gambas at ...1...
Sat Jul 19 21:04:00 CEST 2014


Le 19/07/2014 16:04, Wolfgang, dl7nb a écrit :
> Hello!
> All works well but I get an error saying:
>
> (MyProgram140708:8024): Gtk-CRITICAL **: gtk_text_buffer_emit_insert:
> assertion `g_utf8_validate (text, len, NULL)' failed
>
> I  think that "140708:8024" is the place from where the faulty call is
> done. But how can I find this/this line in my source code.
>
> Is there a simple solution that I have overlooked?
>
> Thank you for your time!
>
> Wolfgang
>

That means that an invalid UTF-8 string arrived in the GTK+ library, 
probably from your Gambas code. I can't tell more.

-- 
Benoît Minisini




More information about the User mailing list