Bug #35783 Crash signal 8 decimal_bin_size: Assertion
Submitted: 3 Apr 2008 4:34 Modified: 1 Aug 2008 0:58
Reporter: Adam Dixon Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Data Types Severity:S2 (Serious)
Version:5.0.60, 5.0.54a OS:Linux
Assigned to: Assigned Account CPU Architecture:Any

[3 Apr 2008 4:34] Adam Dixon
Description:
mysqld: decimal.c:1456: decimal_bin_size: Assertion `scale >= 0 && precision > 0 && scale <= precision' failed.
080403 14:46:52 - mysqld got signal 6 ;

A query which calls decimal_bin_size crashes constantly.

How to repeat:
See private comments.

Suggested fix:
Thought this could of been a duplicate of http://bugs.mysql.com/bug.php?id=34776 but this report does not crash.
[8 Apr 2008 22:24] Adam Dixon
Using repeat steps above, looks like problem introduced after 5.0.52.

5.0.56-enterprise-gpl-log = Crashes
5.0.54a-enterprise-gpl-log = Crashes
5.0.52-enterprise-gpl-log = OK
[1 Aug 2008 0:57] Adam Dixon
This bug seems fixed along with the patch pushed in bug 36023.

Does crash in 5.0.60-enterprise-gpl
Does no crash in 5.0.62-enterprise-gpl
Does not crash in 5.0.68bz

Closing as duplicate, as patch from bug 36023 fixed this issue.
[1 Aug 2008 0:58] Adam Dixon
Setting as duplicate. #36023