Created attachment 222509 [details]
Function that make problem and Mysql-server log
FreeBSD freebsd 12.2-RELEASE-p3 FreeBSD 12.2-RELEASE-p3 GENERIC amd64
Assertion failed: (m_sp == thd->sp_runtime_ctx->sp), function this_item_addr, file /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.23/sql/item.cc, line 1742.
08:15:58 UTC - mysqld got signal 6 ;
After upgrade package form mysql-server 8.0.22_1 to 8.0.23 when I call function or procedure that return any avriable mysql server crashed. When I try return scalar all work O'k.
I try call function from mysql CLI and though ODBC connection. Result the same.
This only occurs in FreeBSD. On Ubuntu mysql server 8.0.23 continues work well.
We too are experiencing this issue, any procedure that accesses an IN variable seams to cause it. If we create a simple procedure with the body being simple SELECT 1; it returns file. If we create a procedure with an IN variable and the body is SELECT inVariable the server crashes.