Mysql-4.1 client segfault on exit with some long queries

Mysql-4.1 client segfault on exit with some long queries

am 25.01.2003 04:42:15 von Jocelyn Fournier

Hi,

I'm experiencing a segfault of mysql client with latest bk tree.

How-to-repeat :

mysql> SELECT
111111111111111111111111111111111111111111111111111111111111 1111111111111111
111111111111111111111111111111111111111111111111111111111111 1111111111111111
111111111111111111111111111111111111111111111111111111111111 1111111111111111
111111111111111111111111111111111111111111111 FROM (SELECT 1) a WHERE 0;
Empty set (0.00 sec)

mysql> exit
zsh: segmentation fault mysql -uroot -p

However :

[root@forum] /usr/local/mysql/libexec> mysql -uroot -p
<3:33:35
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 825 to server version: 4.1.0-alpha

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> SELECT 1 FROM (SELECT 1) a WHERE 0;
Empty set (0.00 sec)

mysql> exit
Bye
[root@forum] /usr/local/mysql/libexec>

works fine.

Regards,
Jocelyn


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13581@lists.mysql.com
To unsubscribe, e-mail

Re: Mysql-4.1 client segfault on exit with some long queries

am 25.01.2003 15:22:08 von Sinisa Milivojevic

Jocelyn Fournier writes:
> Hi,
>
> I'm experiencing a segfault of mysql client with latest bk tree.
>
> How-to-repeat :
>
> mysql> SELECT
> 111111111111111111111111111111111111111111111111111111111111 1111111111111111
> 111111111111111111111111111111111111111111111111111111111111 1111111111111111
> 111111111111111111111111111111111111111111111111111111111111 1111111111111111
> 111111111111111111111111111111111111111111111 FROM (SELECT 1) a WHERE 0;
> Empty set (0.00 sec)
>
> mysql> exit
> zsh: segmentation fault mysql -uroot -p
>
> However :
>
> [root@forum] /usr/local/mysql/libexec> mysql -uroot -p
> <3:33:35
> Enter password:
> Welcome to the MySQL monitor. Commands end with ; or \g.
> Your MySQL connection id is 825 to server version: 4.1.0-alpha
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql> SELECT 1 FROM (SELECT 1) a WHERE 0;
> Empty set (0.00 sec)
>
> mysql> exit
> Bye
> [root@forum] /usr/local/mysql/libexec>
>
> works fine.
>
> Regards,
> Jocelyn
>

Hi!

You have hit a bug when mysql client was built with old readline
library.

Can you try to repeat a problem with mysql client linked with most
recent readline library, found in cmd-line-utils/readline.

Thanks.

--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com

Join MySQL Users Conference and Expo:
http://www.mysql.com/events/uc2003/


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13588@lists.mysql.com
To unsubscribe, e-mail

Re: Mysql-4.1 client segfault on exit with some long queries

am 26.01.2003 21:00:15 von Jocelyn Fournier

Hi,

Compiling GNU readline 4.3 and then recompiling MySQL doesn't solve the
problem.

Regards,
Jocelyn


----- Original Message -----
From: "Sinisa Milivojevic"
To:
Cc:
Sent: Saturday, January 25, 2003 2:22 PM
Subject: Re: Mysql-4.1 client segfault on exit with some long queries


> Jocelyn Fournier writes:
> > Hi,
> >
> > I'm experiencing a segfault of mysql client with latest bk tree.
> >
> > How-to-repeat :
> >
> > mysql> SELECT
> >
111111111111111111111111111111111111111111111111111111111111 1111111111111111
> >
111111111111111111111111111111111111111111111111111111111111 1111111111111111
> >
111111111111111111111111111111111111111111111111111111111111 1111111111111111
> > 111111111111111111111111111111111111111111111 FROM (SELECT 1) a WHERE 0;
> > Empty set (0.00 sec)
> >
> > mysql> exit
> > zsh: segmentation fault mysql -uroot -p
> >
> > However :
> >
> > [root@forum] /usr/local/mysql/libexec> mysql -uroot -p
> > <3:33:35
> > Enter password:
> > Welcome to the MySQL monitor. Commands end with ; or \g.
> > Your MySQL connection id is 825 to server version: 4.1.0-alpha
> >
> > Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
> >
> > mysql> SELECT 1 FROM (SELECT 1) a WHERE 0;
> > Empty set (0.00 sec)
> >
> > mysql> exit
> > Bye
> > [root@forum] /usr/local/mysql/libexec>
> >
> > works fine.
> >
> > Regards,
> > Jocelyn
> >
>
> Hi!
>
> You have hit a bug when mysql client was built with old readline
> library.
>
> Can you try to repeat a problem with mysql client linked with most
> recent readline library, found in cmd-line-utils/readline.
>
> Thanks.
>
> --
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
> /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
> <___/ www.mysql.com
>
> Join MySQL Users Conference and Expo:
> http://www.mysql.com/events/uc2003/
>
>
> ------------------------------------------------------------ ---------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail bugs-thread13588@lists.mysql.com
> To unsubscribe, e-mail
>
>


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13599@lists.mysql.com
To unsubscribe, e-mail

Re: Mysql-4.1 client segfault on exit with some long queries

am 04.02.2003 03:14:21 von Jocelyn Fournier

Hi,

Any news about this problem, or an easy workaround to solve it (since it
something screws up the display of some queries) ? :)

Thanks and regards,
Jocelyn
----- Original Message -----
From: "Jocelyn Fournier"
To:
Cc:
Sent: Sunday, January 26, 2003 8:00 PM
Subject: Re: Mysql-4.1 client segfault on exit with some long queries


> Hi,
>
> Compiling GNU readline 4.3 and then recompiling MySQL doesn't solve the
> problem.
>
> Regards,
> Jocelyn
>
>
> ----- Original Message -----
> From: "Sinisa Milivojevic"
> To:
> Cc:
> Sent: Saturday, January 25, 2003 2:22 PM
> Subject: Re: Mysql-4.1 client segfault on exit with some long queries
>
>
> > Jocelyn Fournier writes:
> > > Hi,
> > >
> > > I'm experiencing a segfault of mysql client with latest bk tree.
> > >
> > > How-to-repeat :
> > >
> > > mysql> SELECT
> > >
>
111111111111111111111111111111111111111111111111111111111111 1111111111111111
> > >
>
111111111111111111111111111111111111111111111111111111111111 1111111111111111
> > >
>
111111111111111111111111111111111111111111111111111111111111 1111111111111111
> > > 111111111111111111111111111111111111111111111 FROM (SELECT 1) a WHERE
0;
> > > Empty set (0.00 sec)
> > >
> > > mysql> exit
> > > zsh: segmentation fault mysql -uroot -p
> > >
> > > However :
> > >
> > > [root@forum] /usr/local/mysql/libexec> mysql -uroot -p
> > > <3:33:35
> > > Enter password:
> > > Welcome to the MySQL monitor. Commands end with ; or \g.
> > > Your MySQL connection id is 825 to server version: 4.1.0-alpha
> > >
> > > Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
> > >
> > > mysql> SELECT 1 FROM (SELECT 1) a WHERE 0;
> > > Empty set (0.00 sec)
> > >
> > > mysql> exit
> > > Bye
> > > [root@forum] /usr/local/mysql/libexec>
> > >
> > > works fine.
> > >
> > > Regards,
> > > Jocelyn
> > >
> >
> > Hi!
> >
> > You have hit a bug when mysql client was built with old readline
> > library.
> >
> > Can you try to repeat a problem with mysql client linked with most
> > recent readline library, found in cmd-line-utils/readline.
> >
> > Thanks.
> >
> > --
> > __ ___ ___ ____ __
> > / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
> > / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
> > /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
> > <___/ www.mysql.com
> >
> > Join MySQL Users Conference and Expo:
> > http://www.mysql.com/events/uc2003/
> >
> >
> > ------------------------------------------------------------ ---------
> > Before posting, please check:
> > http://www.mysql.com/manual.php (the manual)
> > http://lists.mysql.com/ (the list archive)
> >
> > To request this thread, e-mail bugs-thread13588@lists.mysql.com
> > To unsubscribe, e-mail
> >
> >
>


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13661@lists.mysql.com
To unsubscribe, e-mail

Re: Mysql-4.1 client segfault on exit with some long queries

am 04.02.2003 14:33:44 von Sinisa Milivojevic

Jocelyn Fournier writes:
> Hi,
>
> Any news about this problem, or an easy workaround to solve it (since it
> something screws up the display of some queries) ? :)
>
> Thanks and regards,
> Jocelyn

Hi!

We have discovered that this is GNU readline bug and that it is
present in all of their versions.

We are looking at the best way of fixing it and informing readline
developers about it.

--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com

Join MySQL Users Conference and Expo:
http://www.mysql.com/events/uc2003/


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread13667@lists.mysql.com
To unsubscribe, e-mail