Sqlitelogictest crash in complex SQL query #6335
Last updated: 2017-10-26 14:01:28 +0200
Date: 2017-06-26 11:11:10 +0200
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36
Mserver takes too long processing a single but complex SQL query. After a certain time, it receives a SIGKILL signal.
Steps to Reproduce:
The server receives a SIGKILL signal after a while.
A single NULL value.
The merovingian.log only shows the SIGKILL line:
2017-06-26 10:49:42 MSG merovingian: database 'db' (26839) was killed by signal SIGKILL
Date: 2017-07-31 09:58:36 +0200
Something goes seiously wrong in the SQL optimizer. I stopped the execution at a point where the MAL variable stack was 3853412 entries big and still growing. That seems excessive for this query.
Date: 2017-08-18 13:37:33 +0200
For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=484ca02b0773
Date: 2017-09-17 09:26:27 +0200
fixed crash, we now rewrite large expressions into smaller onces (which solves
Date: 2017-09-17 18:01:40 +0200
For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=9ccae5c8d830
Date: 2017-09-20 12:20:31 +0200
The crash does not happen anymore, but a MAL error occurs:
!TypeException:user.main:'calc.' undefined in: X_26992:sht := calc.(X_26990:int, X_26991:bte);
So I guess the calc operations are not implemented across numeric data types.
Date: 2017-10-15 18:57:27 +0200
The function type problem was caused in the inplace type casting code.
Date: 2017-10-15 20:25:51 +0200
For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=b1efe52241ae
The text was updated successfully, but these errors were encountered: