Bug #27856 QB crash
Submitted: 16 Apr 2007 17:55 Modified: 16 May 2007 19:40
Reporter: Andrey Hristov Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[16 Apr 2007 17:55] Andrey Hristov
Description:
QB crashes with multiline query that includes non-latin1 characters.

How to repeat:
1. Open QB
2. Connect to some host
3. Select mysql as current database (the actual database doesn't matter)
4. Enter in the query box :
select version();
DROP FUNCTION IF EXISTS функцийка
5. Everything is alright so far, now press semicolon ";". Boom.

Valgrind reports:

==14270== Rerun with --leak-check=full to see details of leaked memory.

(mysql-query-browser:14271): Gtk-WARNING **: gtktextbtree.c:4037: char offset off the end of the line

Gtk-ERROR **: Char offset 36 is off the end of the line
aborting...
/usr/bin/mysql-query-browser: line 103: 14271 Aborted                 $PRG-bin $args
[16 Apr 2007 19:40] Sveta Smirnova
Thank you for the report.

I can not repeat it on mac and Ubuntu Linux with GUI Tools 5.0.r11 Please indicate accurate version of MySQL Query Browser and platform you run it on. Also, if platform is UNIX or Linux, indicate LANG and LOCALE environment variables
[16 May 2007 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".