Bug #3066 | Crash mysqld-max-nt | ||
---|---|---|---|
Submitted: | 4 Mar 2004 13:42 | Modified: | 8 Mar 2004 4:49 |
Reporter: | Gerry Riley | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 4.1.1a-alpha-max-debug for Win95/Win98 | OS: | Windows (W2K 5.00 2195 SP 4) |
Assigned to: | CPU Architecture: | Any |
[4 Mar 2004 13:42]
Gerry Riley
[4 Mar 2004 13:47]
Gerry Riley
Build tables script
Attachment: setup.sql (text/plain), 1.84 KiB.
[4 Mar 2004 13:48]
Gerry Riley
config file
Attachment: my.ini (application/octet-stream, text), 2.30 KiB.
[4 Mar 2004 13:49]
Gerry Riley
fail query
Attachment: fail.sql (text/plain), 526 bytes.
[4 Mar 2004 13:49]
Gerry Riley
fail query
Attachment: OK.sql (text/plain), 454 bytes.
[4 Mar 2004 13:50]
Gerry Riley
NOte added files that are identified in text as well as my.ini
[4 Mar 2004 13:59]
Gerry Riley
Need 4.1 for derived tables not transactions they are available in 4.0 - my mistake
[4 Mar 2004 14:23]
MySQL Verification Team
I tested your scripts against a 4.1.2 server and the result I got was an empty set (not crash): mysql> SELECT DISTINCT ID FROM LINK, -> ( SELECT ID FROM TBOBJECT, -> ( SELECT OBJID FROM -> (SELECT OBJID, COUNT(*) AS CNT FROM FINDPARAM -> WHERE (STRING='armatrading' AND NAME='ID') -> OR (STRING='joan armatrading' AND NAME='TITLE') -> GROUP BY OBJID) AS A WHERE CNT >=2) AS B -> WHERE CLASS='Skrowten.TB.Database.Production' -> AND ID=OBJID) AS C -> WHERE ID=CHILDID AND PARENTID=11\G Empty set (0.01 sec) mysql> select version(); +-----------------------+ | version() | +-----------------------+ | 4.1.2-alpha-max-debug | +-----------------------+ 1 row in set (0.00 sec)
[6 Mar 2004 1:43]
Gerry Riley
A couple of points: I was using 4.1.1a-alpha, which seems to all that is available on web site for download you are using 4.1.2. Did you actually run the two scripts I sent? You have not mention both. One will fail and one will not returning an empty set as you got. As I metioned, I have found that the differences between the two scripts are only extra spaces in the text. I have also had it fail (or not) by altering removing some characters from the data in the = expression. I guess this is something to do with trashing memory, where sometimes the trash is non critical.
[6 Mar 2004 5:01]
MySQL Verification Team
I tested your script that crashes 4.1.1a and then my concern was to test if the today server also crashes and I didn't analyzed the return value.
[7 Mar 2004 1:13]
Gerry Riley
Miguel You have not said if you used both scripts or not and that they were read in in exact format. The problem is not that the basic query does not work but that I think during parsing there is some form of memory overwrite. Therefore spaces and length of query is critical. I use the basic same query from my code and it was not crashing at all times. You must use both scripts (fail and OK. I found that one consistently failed and one consistently worked (empty set). If necessary play around with the length of query by adding spaces or by altering query data length to make it fail. I assume you have tested this on win2k with SP4? Can you make the 4.1.2 available for me to try?
[7 Mar 2004 8:16]
MySQL Verification Team
For to clarify, I did: - Tested 4.1.1a and I got the crash reported with the first script fail.sql - Tested 4.1.2 with both scripts returning empty and not crashed.
[8 Mar 2004 3:59]
Gerry Riley
Miguel I am pleased you have been able to recreate the problem. I notice this problem is suspiciously similar to bug report 2978 which is closed as fixed in 4.1.2. Can you let me have this or the latest form this tree to try. The dowload web site still shows the 4.1.1a. Thanks
[8 Mar 2004 4:49]
MySQL Verification Team
This is fixed in 4.1.2. It will be available in couple of weeks.