SQL: Compute modulo of rand() in an UPDATE stmt crashes mserver5 #2766
Last updated: 2011-04-28 16:25:40 +0200
Date: 2011-01-21 11:37:34 +0100
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:126.96.36.199) Gecko/20101027 Fedora/3.5.15-1.fc12 Firefox/3.5.15
The following queries result in a segmentation fault in mserver5. The cause is the combined use of mod() and rand():
create table test (v int);
GDB says that the problem is in .../monet/default/sql/server/sql_statement.c:708: n->data = push_project(sa, rows, n->data);
Date: 2011-01-21 11:54:33 +0100
The same error exists in the Oct2010 branch.
Date: 2011-03-28 17:35:57 +0200
The Mar2011 version has been released.
Date: 2011-04-05 12:45:19 +0200
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=28933e6ccd80
Date: 2011-04-05 12:46:10 +0200
added test to BugTracker-2011/crash_in_modulo_rand.Bug-2766.sql
incorrect pointer was used, now the correct argument list is used.
Date: 2011-04-28 16:25:40 +0200
The Apr2011 release has been uploaded.
The text was updated successfully, but these errors were encountered: