Bug #5089 | Server crashing on fulltext search for short keys in boolean mode | ||
---|---|---|---|
Submitted: | 18 Aug 2004 12:32 | Modified: | 19 Aug 2004 0:00 |
Reporter: | Konstantin | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 4.0.20 | OS: | Linux (RedHat 8.0) |
Assigned to: | CPU Architecture: | Any |
[18 Aug 2004 12:32]
Konstantin
[18 Aug 2004 15:39]
MySQL Verification Team
Can you please provide us the tables with data or the script for to populate them? You can upload the files to: ftp://ftp.mysql.com/pub/mysql/upload/ Thanks.
[18 Aug 2004 16:33]
Konstantin
Well, the data files are about 4Gb, I could try to gzip them, but I doubt it would help. Is it ok to upload ~4Gb your FTP? Also - could we upload data/index files rather then dump? Also we don't have 'script' to populate the data, because it's online forum archive for more than 5 years ;) Thanks.
[18 Aug 2004 17:08]
MySQL Verification Team
Sorry I thought the tables are some MBs size. What we need is a repeatable test case, that it is the only way we can process and fix a bug!. So my question now is: are you able for to create the test case with tables around of 50 - 100 MB of size ? Thanks :)
[18 Aug 2004 17:41]
Konstantin
I've managed to create a test case for you. I've put a small extract of my big tables to another database and run the query from my first report - it has crashed the server again. The gzipped dump of the extract is uploaded to your FTP named bug5089_test_case_.sql.gz Thanks.
[18 Aug 2004 18:22]
Konstantin
I have just run the query on a different newly installed server, with the data from the test case I've uploaded. The result is the same - the server crashes.
[18 Aug 2004 18:44]
MySQL Verification Team
Thank you for the test case, just now I am downloading it for to run on my Slackware box.
[18 Aug 2004 20:33]
MySQL Verification Team
I tested against 4.0 BK source tree (3 days older) and wasn't to repeat your test case: mysql> SELECT post.postid, post.threadid -> FROM post AS post -> INNER JOIN thread AS thread ON(thread.threadid = post.threadid) -> LEFT JOIN deletionlog AS delpost ON(delpost.primaryid = post.postid AND -> delpost.type = 'post') -> WHERE MATCH(post.title,pagetext) AGAINST ('+3\" +exhaust' IN BOOLEAN MODE) -> AND delpost.primaryid IS NULL -> AND post.visible = 1 -> LIMIT 0, 400 -> ; Empty set (3.61 sec) mysql> select version(); +------------------+ | version() | +------------------+ | 4.0.21-debug-log | +------------------+ 1 row in set (0.07 sec)
[19 Aug 2004 0:00]
Sergei Golubchik
The problem is not in the tables - MySQL crashes on a query with boolean fulltext search, where you have a single double quote in the search string. It's a known bug, fixed in 4.0 and 4.1 some time ago, see elsewhere in bugdb
[20 Aug 2004 11:13]
Konstantin
Thanks for your help. I've build the server from the development tree and the problem has gone.