[MDEV-15054] Crash in Item_field::fix_fields() when calling stored procedure Created: 2018-01-24  Updated: 2020-08-25  Resolved: 2018-01-27

Status: Closed
Project: MariaDB Server
Component/s: Stored routines
Affects Version/s: N/A
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Hartmut Holzgraefe Assignee: Michael Widenius
Resolution: Fixed Votes: 1
Labels: None
Environment:

10.2.13 compatibility build 18253


Issue Links:
Relates
relates to MDEV-15057 Crash when using an unknown identifie... Closed

 Description   

Backtrace from error log:

/lib64/libc.so.6(__fortify_fail+0x37)[0x7f2350a4fd87]
/lib64/libc.so.6(+0x10df40)[0x7f2350a4df40]
/lib64/libc.so.6(+0x10fcf7)[0x7f2350a4fcf7]
/usr/sbin/mysqld(my_addr_resolve+0x49)[0x564d50fcfe59]
/usr/sbin/mysqld(my_print_stacktrace+0xb8)[0x564d50fbf1f4]
/usr/sbin/mysqld(handle_fatal_signal+0x339)[0x564d50ae2869]
/lib64/libpthread.so.0(+0xf5e0)[0x7f23523ed5e0]
/usr/sbin/mysqld(Item_field::fix_fields(THD*, Item**)+0xa1)[0x564d50b00dd5]
/usr/sbin/mysqld(sp_prepare_func_item(THD*, Item**, unsigned int)+0x2b)[0x564d508b1b3b]
/usr/sbin/mysqld(sp_eval_expr(THD*, Item*, Field*, Item**)+0x64)[0x564d508b1c62]
/usr/sbin/mysqld(sp_rcontext::set_variable(THD*, unsigned int, Item**)+0x96)[0x564d508be156]
/usr/sbin/mysqld(sp_head::execute_procedure(THD*, List<Item>*)+0x42d)[0x564d508b4207]
/usr/sbin/mysqld(+0x522913)[0x564d50922913]
/usr/sbin/mysqld(Sql_cmd_call::execute(THD*)+0x270)[0x564d509252f2]
/usr/sbin/mysqld(mysql_execute_command(THD*)+0x81a1)[0x564d50931701]
/usr/sbin/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool)+0x16c)[0x564d50932823]
/usr/sbin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool)+0xe0b)[0x564d50934552]
/usr/sbin/mysqld(do_command(THD*)+0x3cd)[0x564d509360df]
/usr/sbin/mysqld(do_handle_one_connection(CONNECT*)+0x179)[0x564d509f3233]
/usr/sbin/mysqld(handle_one_connection+0x3d)[0x564d509f3354]
/lib64/libpthread.so.0(+0x7e25)[0x7f23523e5e25]
/lib64/libc.so.6(clone+0x6d)[0x7f2350a3834d]



 Comments   
Comment by Hartmut Holzgraefe [ 2018-01-24 ]

Probably actually a duplicate of MDEV-15028?

Comment by Elena Stepanova [ 2018-01-24 ]

Given that's a new build, it is more likely to be the same as MDEV-15057. Setting to confirmed based on it.

Comment by Elena Stepanova [ 2018-01-27 ]

Expected to be fixed in scope of MDEV-15057.

Generated at Thu Feb 08 08:18:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.