Bug #76477 Assertion `from->len == to->len' failed.

Submitted: 24 Mar 2015 23:54 Modified: 1 Apr 2015 4:28
Reporter: Roel Van de Paar Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: DML Severity:S1 (Critical)
Version:5.6.22, 5.6.23, 5.6.25 OS:Any
Assigned to: CPU Architecture:Any

[24 Mar 2015 23:54] Roel Van de Paar
Description:
2015-03-25 10:48:39 22644 [Note] /sda/mysql-5.6.22-linux-x86_64-debug/bin/mysqld: ready for connections.
Version: '5.6.22-debug'  socket: '/sda/mysql-5.6.22-linux-x86_64-debug/socket.sock'  port: 17047  MySQL Community Server (GPL)
mysqld: /bzr/mysql-5.6/strings/decimal.c:1587: decimal_round: Assertion `from->len == to->len' failed.
23:48:44 UTC - mysqld got signal 6 ;

+bt
#0  0x00007fa1ecb08771 in pthread_kill () from /lib64/libpthread.so.0
#1  0x0000000000a965ee in my_write_core (sig=6) at /bzr/mysql-5.6/mysys/stacktrace.c:422
#2  0x0000000000726728 in handle_fatal_signal (sig=6) at /bzr/mysql-5.6/sql/signal_handler.cc:230
#3  <signal handler called>
#4  0x00007fa1eb9145c9 in raise () from /lib64/libc.so.6
#5  0x00007fa1eb915cd8 in abort () from /lib64/libc.so.6
#6  0x00007fa1eb90d536 in __assert_fail_base () from /lib64/libc.so.6
#7  0x00007fa1eb90d5e2 in __assert_fail () from /lib64/libc.so.6
#8  0x0000000000e54a80 in decimal_round (from=0x7fa150420138, to=0x7fa1ed0fb7b0, scale=0, mode=HALF_UP) at /bzr/mysql-5.6/strings/decimal.c:1587
#9  0x00000000006690dc in my_decimal2int (mask=28, d=0x7fa150420138, unsigned_flag=0 '\000', l=0x7fa1ed0fb840) at /bzr/mysql-5.6/sql/my_decimal.h:378
#10 0x00000000008f467b in Field::convert_decimal2longlong (this=0x7fa150498810, val=0x7fa150420138, unsigned_flag=false, has_overflow=0x7fa1ed0fb873) at /bzr/mysql-5.6/sql/field.cc:1649
#11 0x00000000008f477d in Field_num::store_decimal (this=0x7fa150498810, val=0x7fa150420138) at /bzr/mysql-5.6/sql/field.cc:1680
#12 0x000000000065e903 in Item_decimal::save_in_field (this=0x7fa1504200a0, field=0x7fa150498810, no_conversions=true) at /bzr/mysql-5.6/sql/item.cc:6429
#13 0x0000000000650d0e in Item::save_in_field_no_warnings (this=0x7fa1504200a0, field=0x7fa150498810, no_conversions=true) at /bzr/mysql-5.6/sql/item.cc:1505
#14 0x0000000000958588 in save_value_and_handle_conversion (tree=0x7fa1ed0fbda8, value=0x7fa1504200a0, comp_op=Item_func::LT_FUNC, field=0x7fa150498810, impossible_cond_cause=0x7fa1ed0fbda0, memroot=0x7fa1ed0fc360) at /bzr/mysql-5.6/sql/opt_range.cc:6634
#15 0x0000000000959137 in get_mm_leaf (param=0x7fa1ed0fc560, conf_func=0x7fa15041fc48, field=0x7fa150498810, key_part=0x7fa150495030, type=Item_func::LT_FUNC, value=0x7fa1504200a0) at /bzr/mysql-5.6/sql/opt_range.cc:7005
#16 0x000000000095831e in get_mm_parts (param=0x7fa1ed0fc560, cond_func=0x7fa15041fc48, field=0x7fa150498810, type=Item_func::LT_FUNC, value=0x7fa1504200a0, cmp_type=INT_RESULT) at /bzr/mysql-5.6/sql/opt_range.cc:6546
#17 0x0000000000956a83 in get_func_mm_tree (param=0x7fa1ed0fc560, cond_func=0x7fa15041fc48, field=0x7fa150498810, value=0x0, cmp_type=INT_RESULT, inv=true) at /bzr/mysql-5.6/sql/opt_range.cc:5977
#18 0x0000000000957205 in get_full_func_mm_tree (param=0x7fa1ed0fc560, cond_func=0x7fa15041fc48, field_item=0x7fa15041f898, value=0x0, inv=true) at /bzr/mysql-5.6/sql/opt_range.cc:6210
#19 0x0000000000957cdf in get_mm_tree (param=0x7fa1ed0fc560, cond=0x7fa15041fc48) at /bzr/mysql-5.6/sql/opt_range.cc:6415
#20 0x000000000094f54b in SQL_SELECT::test_quick_select (this=0x7fa15041ff30, thd=0x7fa159724000, keys_to_use=..., prev_tables=0, limit=18446744073709551615, force_quick_range=false, interesting_order=st_order::ORDER_NOT_RELEVANT) at /bzr/mysql-5.6/sql/opt_range.cc:2830
#21 0x0000000000867888 in SQL_SELECT::check_quick (this=0x7fa15041ff30, thd=0x7fa159724000, force_quick_range=false, limit=18446744073709551615) at /bzr/mysql-5.6/sql/opt_range.h:938
#22 0x0000000000861787 in mysql_update (thd=0x7fa159724000, table_list=0x7fa15041f140, fields=..., values=..., conds=0x7fa15041fc48, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7fa1ed0ff9f8, updated_return=0x7fa1ed0ff9f0) at /bzr/mysql-5.6/sql/sql_update.cc:463
#23 0x00000000007d412b in mysql_execute_command (thd=0x7fa159724000) at /bzr/mysql-5.6/sql/sql_parse.cc:3307
#24 0x00000000007dc4be in mysql_parse (thd=0x7fa159724000, rawbuf=0x7fa15041f010 "UPDATE t1 SET b=1 WHERE b NOT IN(NULL,-", '3' <repeats 22 times>, ")", length=62, parser_state=0x7fa1ed0ffe70) at /bzr/mysql-5.6/sql/sql_parse.cc:6357
#25 0x00000000007cf630 in dispatch_command (command=COM_QUERY, thd=0x7fa159724000, packet=0x7fa15976c001 "UPDATE t1 SET b=1 WHERE b NOT IN(NULL,-", '3' <repeats 22 times>, ")", packet_length=62) at /bzr/mysql-5.6/sql/sql_parse.cc:1332
#26 0x00000000007ce71f in do_command (thd=0x7fa159724000) at /bzr/mysql-5.6/sql/sql_parse.cc:1034
#27 0x0000000000796b09 in do_handle_one_connection (thd_arg=0x7fa159724000) at /bzr/mysql-5.6/sql/sql_connect.cc:982
#28 0x00000000007965f2 in handle_one_connection (arg=0x7fa159724000) at /bzr/mysql-5.6/sql/sql_connect.cc:898
#29 0x0000000000ae4ba0 in pfs_spawn_thread (arg=0x7fa1e6349b00) at /bzr/mysql-5.6/storage/perfschema/pfs.cc:1860
#30 0x00007fa1ecb03df3 in start_thread () from /lib64/libpthread.so.0
#31 0x00007fa1eb9d51ad in clone () from /lib64/libc.so.6

How to repeat:
DROP DATABASE test;CREATE DATABASE test;USE test;
CREATE TABLE t1(a int,b INT,c CHAR,KEY (a,b));
XA START0;
UPDATE t1 SET b=1 WHERE b NOT IN(NULL,-3333333333333333333333);
[25 Mar 2015 4:37] MySQL Verification Team
Hello Roel,

Thank you for the report and test case.
Confirmed that debug builds of 5.6(checked 5.6.23 and 5.6.25) are affected.

Thanks,
Umesh
[25 Mar 2015 4:37] MySQL Verification Team
// 5.6.23 (debug build)

scripts/mysql_install_db --basedir=/export/umesh/mysql-5.6.23 --datadir=/export/umesh/mysql-5.6.23/76477
bin/mysqld-debug --basedir=/export/umesh/mysql-5.6.23 --datadir=/export/umesh/mysql-5.6.23/76477 --core-file --socket=/tmp/mysql_ushastry.sock  --port=15000 --log-error=/export/umesh/mysql-5.6.23/76477/log.err 2>&1 &

- build
date: 2015-01-19 14:26:20 +0100
build-date: 2015-01-19 14:38:00 +0100
short: 19ff977
branch: mysql-5.6.23-release

MySQL source 5.6.23

(gdb) bt
#0  0x00007f93a06d7771 in pthread_kill () from /lib64/libpthread.so.0
#1  0x0000000000aacb93 in my_write_core (sig=6) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/mysys/stacktrace.c:422
#2  0x000000000071513e in handle_fatal_signal (sig=6) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/signal_handler.cc:230
#3  <signal handler called>
#4  0x00007f939f2dd5c9 in raise () from /lib64/libc.so.6
#5  0x00007f939f2decd8 in abort () from /lib64/libc.so.6
#6  0x00007f939f2d6536 in __assert_fail_base () from /lib64/libc.so.6
#7  0x00007f939f2d65e2 in __assert_fail () from /lib64/libc.so.6
#8  0x0000000000e5d4a2 in decimal_round (from=0x7f93400060f8, to=0x7f937609b5c0, scale=0, mode=HALF_UP) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/strings/decimal.c:1587
#9  0x00000000006535cc in my_decimal2int (mask=28, d=0x7f93400060f8, unsigned_flag=0 '\000', l=0x7f937609b670)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/my_decimal.h:378
#10 0x000000000090c831 in Field::convert_decimal2longlong (this=0x7f93400599a0, val=0x7f93400060f8, unsigned_flag=false, has_overflow=0x7f937609b6bf)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/field.cc:1649
#11 0x000000000090c99b in Field_num::store_decimal (this=0x7f93400599a0, val=0x7f93400060f8) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/field.cc:1680
#12 0x000000000062e5ce in Item_decimal::save_in_field (this=0x7f9340006060, field=0x7f93400599a0, no_conversions=true)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/item.cc:6432
#13 0x00000000006352d9 in Item::save_in_field_no_warnings (this=0x7f9340006060, field=0x7f93400599a0, no_conversions=true)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/item.cc:1505
#14 0x000000000095ca89 in save_value_and_handle_conversion (tree=0x7f937609bc88, value=0x7f9340006060, comp_op=Item_func::LT_FUNC, field=0x7f93400599a0, impossible_cond_cause=0x7f937609bc80,
    memroot=0x7f937609e590) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/opt_range.cc:6634
#15 0x000000000095d71e in get_mm_leaf (param=0x7f937609c2f0, conf_func=0x7f9340005c08, field=0x7f93400599a0, key_part=0x7f934000fec0, type=Item_func::LT_FUNC, value=0x7f9340006060)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/opt_range.cc:7005
#16 0x000000000095e07c in get_mm_parts (param=0x7f937609c2f0, cond_func=0x7f9340005c08, field=0x7f93400599a0, type=Item_func::LT_FUNC, value=0x7f9340006060, cmp_type=INT_RESULT)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/opt_range.cc:6546
#17 0x000000000095e74d in get_func_mm_tree (param=0x7f937609c2f0, cond_func=0x7f9340005c08, field=0x7f93400599a0, value=0x0, cmp_type=INT_RESULT, inv=true)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/opt_range.cc:5977
#18 0x000000000095ef11 in get_full_func_mm_tree (param=0x7f937609c2f0, cond_func=0x7f9340005c08, field_item=0x7f9340005858, value=0x0, inv=true)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/opt_range.cc:6210
#19 0x000000000095faa0 in get_mm_tree (param=0x7f937609c2f0, cond=0x7f9340005c08) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/opt_range.cc:6415
#20 0x0000000000969145 in SQL_SELECT::test_quick_select (this=0x7f9340005ef0, thd=0x1cb49b0, keys_to_use=..., prev_tables=0, limit=18446744073709551615, force_quick_range=false,
    interesting_order=st_order::ORDER_NOT_RELEVANT) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/opt_range.cc:2830
#21 0x000000000085d8af in SQL_SELECT::check_quick (this=0x7f9340005ef0, thd=0x1cb49b0, force_quick_range=false, limit=18446744073709551615)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/opt_range.h:938
#22 0x000000000085ba87 in mysql_update (thd=0x1cb49b0, table_list=0x7f9340005100, fields=..., values=..., conds=0x7f9340005c08, order_num=0, order=0x0, limit=18446744073709551615,
    handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f937609fcd8, updated_return=0x7f937609fcd0)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/sql_update.cc:462
#23 0x00000000007ca94d in mysql_execute_command (thd=0x1cb49b0) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/sql_parse.cc:3307
#24 0x00000000007d0349 in mysql_parse (thd=0x1cb49b0, rawbuf=0x7f9340004fd0 "UPDATE t1 SET b=1 WHERE b NOT IN(NULL,-", '3' <repeats 22 times>, ")", length=62, parser_state=0x7f93760a0700)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/sql_parse.cc:6357
#25 0x00000000007d1ef3 in dispatch_command (command=COM_QUERY, thd=0x1cb49b0, packet=0x2491fb1 "UPDATE t1 SET b=1 WHERE b NOT IN(NULL,-", '3' <repeats 22 times>, ")", packet_length=62)
    at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/sql_parse.cc:1332
#26 0x00000000007d372d in do_command (thd=0x1cb49b0) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/sql_parse.cc:1034
#27 0x0000000000789521 in do_handle_one_connection (thd_arg=0x1cb49b0) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/sql_connect.cc:982
#28 0x00000000007895e7 in handle_one_connection (arg=0x1cb49b0) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/sql/sql_connect.cc:898
#29 0x0000000000d7a866 in pfs_spawn_thread (arg=0x2473af0) at /export/home/pb2/build/sb_0-14135570-1421676610.55/mysql-5.6.23/storage/perfschema/pfs.cc:1860
#30 0x00007f93a06d2df3 in start_thread () from /lib64/libpthread.so.0
#31 0x00007f939f39e47d in clone () from /lib64/libc.so.6
(gdb)
[25 Mar 2015 4:37] MySQL Verification Team
// 5.6.25 

scripts/mysql_install_db --basedir=/export/umesh/mysql-5.6.25 --datadir=/export/umesh/mysql-5.6.25/76477
bin/mysqld-debug --basedir=/export/umesh/mysql-5.6.25 --datadir=/export/umesh/mysql-5.6.25/76477 --core-file --socket=/tmp/mysql_ushastry.sock  --port=15000 --log-error=/export/umesh/mysql-5.6.25/76477/log.err 2>&1 &

- build
commit: 7f58410b3f11eddb38ff8c57a7a58095f7db2910
date: 2015-03-23 14:34:22 +0530
build-date: 2015-03-23 10:21:42 +0100
short: 7f58410
branch: mysql-5.6

MySQL source 5.6.25

(gdb) bt
#0  0x00007fe4262df771 in pthread_kill () from /lib64/libpthread.so.0
#1  0x0000000000ae1373 in my_write_core (sig=6) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/mysys/stacktrace.c:422
#2  0x0000000000745fca in handle_fatal_signal (sig=6) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/signal_handler.cc:230
#3  <signal handler called>
#4  0x00007fe424ee55c9 in raise () from /lib64/libc.so.6
#5  0x00007fe424ee6cd8 in abort () from /lib64/libc.so.6
#6  0x00007fe424ede536 in __assert_fail_base () from /lib64/libc.so.6
#7  0x00007fe424ede5e2 in __assert_fail () from /lib64/libc.so.6
#8  0x0000000000e91475 in decimal_round (from=0x7fe3c80060f8, to=0x7fe3fbb91580, scale=0, mode=HALF_UP)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/strings/decimal.c:1655
#9  0x00000000006841da in my_decimal2int (mask=28, d=0x7fe3c80060f8, unsigned_flag=0 '\000', l=0x7fe3fbb91630)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/my_decimal.h:378
#10 0x000000000093f735 in Field::convert_decimal2longlong (this=0x7fe3c80602a0, val=0x7fe3c80060f8, unsigned_flag=false, has_overflow=0x7fe3fbb9167f)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/field.cc:1649
#11 0x000000000093f89f in Field_num::store_decimal (this=0x7fe3c80602a0, val=0x7fe3c80060f8) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/field.cc:1680
#12 0x000000000065f1a6 in Item_decimal::save_in_field (this=0x7fe3c8006060, field=0x7fe3c80602a0, no_conversions=true)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/item.cc:6432
#13 0x0000000000665eb1 in Item::save_in_field_no_warnings (this=0x7fe3c8006060, field=0x7fe3c80602a0, no_conversions=true)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/item.cc:1505
#14 0x000000000098fa89 in save_value_and_handle_conversion (tree=0x7fe3fbb91c48, value=0x7fe3c8006060, comp_op=Item_func::LT_FUNC, field=0x7fe3c80602a0, impossible_cond_cause=0x7fe3fbb91c40,
    memroot=0x7fe3fbb94550) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/opt_range.cc:6634
#15 0x000000000099071e in get_mm_leaf (param=0x7fe3fbb922b0, conf_func=0x7fe3c8005c08, field=0x7fe3c80602a0, key_part=0x7fe3c80656d0, type=Item_func::LT_FUNC, value=0x7fe3c8006060)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/opt_range.cc:7005
#16 0x000000000099107c in get_mm_parts (param=0x7fe3fbb922b0, cond_func=0x7fe3c8005c08, field=0x7fe3c80602a0, type=Item_func::LT_FUNC, value=0x7fe3c8006060, cmp_type=INT_RESULT)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/opt_range.cc:6546
#17 0x000000000099174d in get_func_mm_tree (param=0x7fe3fbb922b0, cond_func=0x7fe3c8005c08, field=0x7fe3c80602a0, value=0x0, cmp_type=INT_RESULT, inv=true)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/opt_range.cc:5977
#18 0x0000000000991f11 in get_full_func_mm_tree (param=0x7fe3fbb922b0, cond_func=0x7fe3c8005c08, field_item=0x7fe3c8005858, value=0x0, inv=true)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/opt_range.cc:6210
#19 0x0000000000992aa0 in get_mm_tree (param=0x7fe3fbb922b0, cond=0x7fe3c8005c08) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/opt_range.cc:6415
#20 0x000000000099c145 in SQL_SELECT::test_quick_select (this=0x7fe3c8005ef0, thd=0x236eb10, keys_to_use=..., prev_tables=0, limit=18446744073709551615, force_quick_range=false,
    interesting_order=st_order::ORDER_NOT_RELEVANT) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/opt_range.cc:2830
#21 0x000000000088fd6d in SQL_SELECT::check_quick (this=0x7fe3c8005ef0, thd=0x236eb10, force_quick_range=false, limit=18446744073709551615)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/opt_range.h:938
#22 0x000000000088df97 in mysql_update (thd=0x236eb10, table_list=0x7fe3c8005100, fields=..., values=..., conds=0x7fe3c8005c08, order_num=0, order=0x0, limit=18446744073709551615,
    handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7fe3fbb95cd8, updated_return=0x7fe3fbb95cd0)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/sql_update.cc:462
#23 0x00000000007fc831 in mysql_execute_command (thd=0x236eb10) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/sql_parse.cc:3319
#24 0x000000000080229a in mysql_parse (thd=0x236eb10, rawbuf=0x7fe3c8004fd0 "UPDATE t1 SET b=1 WHERE b NOT IN(NULL,-", '3' <repeats 22 times>, ")", length=62, parser_state=0x7fe3fbb96700)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/sql_parse.cc:6391
#25 0x0000000000803ebe in dispatch_command (command=COM_QUERY, thd=0x236eb10, packet=0x249d801 "UPDATE t1 SET b=1 WHERE b NOT IN(NULL,-", '3' <repeats 22 times>, ")", packet_length=62)
    at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/sql_parse.cc:1340
#26 0x0000000000805748 in do_command (thd=0x236eb10) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/sql_parse.cc:1037
#27 0x00000000007bb291 in do_handle_one_connection (thd_arg=0x236eb10) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/sql_connect.cc:982
#28 0x00000000007bb357 in handle_one_connection (arg=0x236eb10) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/sql/sql_connect.cc:898
#29 0x0000000000b92d9c in pfs_spawn_thread (arg=0x23927c0) at /export/home/pb2/build/sb_0-14777162-1427103432.53/mysqlcom-pro-5.6.25/storage/perfschema/pfs.cc:1860
#30 0x00007fe4262dadf3 in start_thread () from /lib64/libpthread.so.0
#31 0x00007fe424fa647d in clone () from /lib64/libc.so.6
(gdb)
[25 Mar 2015 4:38] MySQL Verification Team
// 5.5.44, 5.7.8, 5.8.0 - not affected
[25 Mar 2015 9:49] Tor Didriksen
Posted by developer:
 
Duplicate of internal bug, fixed in 5.7.5
Bug #18335446 DECIMAL_ROUND: ASSERTION FAILED: FROM->LEN == TO->LEN
[27 Mar 2015 0:41] Roel Van de Paar
Tor, thank you! May the testcase from this bug be added as MTR testcase?
[27 Mar 2015 3:36] Shane Bester
it's already in the mysql-test/t/type_newdecimal.result on 5.7.6 releases
[1 Apr 2015 4:28] Erlend Dahl
[13 Mar 2014 6:49] Paul Dubois

Noted in 5.7.5 changelog.

In debug builds, lack of proper object initialization of decimal
objects caused an assertion to be raised.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.063 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.