Bug #14234 | Segfault using INSERT DELAYED | ||
---|---|---|---|
Submitted: | 23 Oct 2005 5:37 | Modified: | 23 Oct 2005 10:52 |
Reporter: | Arjen Lentz | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.13 | OS: | Linux (SuSE Linux 9.0) |
Assigned to: | CPU Architecture: | Any |
[23 Oct 2005 5:37]
Arjen Lentz
[23 Oct 2005 10:13]
Valeriy Kravchuk
Can't repeat on 5.0.13-rc-nt: mysql> CREATE TABLE logclients ( -> count_ref int(10) unsigned NOT NULL default '0', -> address varchar(255) NOT NULL default '', -> agent varchar(255) NOT NULL default '', -> referer varchar(255) NOT NULL default '', -> PRIMARY KEY (count_ref) -> ) ENGINE=MyISAM DEFAULT CHARSET=latin1; Query OK, 0 rows affected (0.14 sec) mysql> INSERT DELAYED INTO logclients VALUES (762,'127.0.0.1','Mozilla/5.0 (X11; U; '> Linux i686; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0','http://intranet/';); Query OK, 1 row affected (0.03 sec) mysql> select version(); +--------------+ | version() | +--------------+ | 5.0.13-rc-nt | +--------------+ 1 row in set (0.03 sec) and on 5.0.15-BK (ChangeSet@1.2022, 2005-10-20 11:12:34+05:00, bar@mysql.com) on Linux: mysql> CREATE TABLE logclients ( -> count_ref int(10) unsigned NOT NULL default '0', -> address varchar(255) NOT NULL default '', -> agent varchar(255) NOT NULL default '', -> referer varchar(255) NOT NULL default '', -> PRIMARY KEY (count_ref) -> ) ENGINE=MyISAM DEFAULT CHARSET=latin1; Query OK, 0 rows affected (0,06 sec) mysql> INSERT DELAYED INTO logclients VALUES (762,'127.0.0.1','Mozilla/5.0 (X11; U; '> Linux i686; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0','http://intranet/';); Query OK, 1 row affected (0,01 sec) mysql> select version(); +-----------+ | version() | +-----------+ | 5.0.15 | +-----------+ 1 row in set (0,00 sec) mysql> exit Bye [openxs@Fedora 5.0]$ uname -a Linux Fedora 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux Let me make a final check with RPM...
[23 Oct 2005 10:52]
Valeriy Kravchuk
Sorry, still can't repeat, even after performing rpm -i MySQL-server-5.0.13-0.glibc23.i386.rpm and then: [root@Fedora tmp]# /home/openxs/dbs/5.0/bin/mysql -uroot --socket=/var/lib/mysql/mysql.sock Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.13-rc-standard Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use test; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> CREATE TABLE logclients ( -> count_ref int(10) unsigned NOT NULL default '0', -> address varchar(255) NOT NULL default '', -> agent varchar(255) NOT NULL default '', -> referer varchar(255) NOT NULL default '', -> PRIMARY KEY (count_ref) -> ) ENGINE=MyISAM DEFAULT CHARSET=latin1; Query OK, 0 rows affected (0.01 sec) mysql> INSERT DELAYED INTO logclients VALUES (762,'127.0.0.1','Mozilla/5.0 (X11; U; '> Linux i686; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0','http://intranet/';); Query OK, 1 row affected (0.00 sec) The client (mysql) was of version 5.0.15-BK, but the crash, if 100% repeatable, should not depend on that. The test was performed on Fedora Core 1, with glibc-2.3: [root@Fedora tmp]# uname -a Linux Fedora 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux [root@Fedora tmp]# rpm -q glibc glibc-2.3.2-101
[25 Oct 2005 1:06]
Arjen Lentz
Re-tested with regular 5.0.13 (not glibc23), problem still there. Re-tested with 5.0.15, problem disappeared.