| Bug #17602 | Server crash on AVG/SUM over DECIMAL column | ||
|---|---|---|---|
| Submitted: | 21 Feb 2006 1:19 | Modified: | 4 Mar 2006 8:31 |
| Reporter: | Kolbe Kegel | ||
| Status: | Closed | ||
| Category: | Server | Severity: | S1 (Critical) |
| Version: | 5.0.18 | OS: | Linux (Linux) |
| Assigned to: | Sergey Gluhov | Target Version: | |
[21 Feb 2006 1:19]
Kolbe Kegel
[21 Feb 2006 4:02]
Kolbe Kegel
There are apparently two separate but almost certainly related things happening here. mysql 5.0.18-max (root) [test]> select sum(col1) from t17602; ERROR 5 (HY000): Out of memory (Needed 4294965600 bytes) mysql 5.0.18-max (root) [test]> select avg(col1) from t17602; ERROR 2013 (HY000): ./bin/mysqld_safe: line 384: 21475 Segmentation fault (core dumped) nohup /home/kolbe/MySQL/inst/5.0.18/bin/mysqld --basedir=/home/kolbe/MySQL/inst/5.0.18 --datadir=/home/kolbe/MySQL/inst/5.0.18/data --pid-file=/home/kolbe/MySQL/inst/5.0.18/data/beluga.pid --skip-locking --socket=../mysql.sock >>/home/kolbe/MySQL/inst/5.0.18/data/beluga.err 2>&1
[27 Feb 2006 14:59]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/3189
[28 Feb 2006 10:33]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/3223
[1 Mar 2006 8:24]
Sergey Gluhov
Fixed in 5.0.19
[1 Mar 2006 19:11]
Trudy Pelzer
Also fixed in 5.1.8.
[1 Mar 2006 20:22]
Magnus Blaudd
"type_decimal" fails in "ps_mode" after the patch for this bug has been fixed.
[4 Mar 2006 8:31]
Jon Stephens
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information
about accessing the source trees is available at
http://www.mysql.com/doc/en/Installing_source_tree.html
Additional info:
Documented fix in 5.0.19 and 5.1.8 changelogs. Closed.
