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

Wolfgang, dl7nb dl7nb at ...17...
Sun Jul 20 08:09:56 CEST 2014


Am 19.07.2014 21:04, schrieb Benoît Minisini:
> 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.
>
Thank you Benoît,

I just thought that there could be an easy (and lazy) way to find out 
which line causes the problem.
So I have to do some research myself.  ;-)
Wolfgang




More information about the User mailing list