Thread stack overrun

Goodmornig,
I’ve a database with a stored procedure that insert data into a table.
This stored procedure has worked correctly until this mornig but now it returns following messages:

ERROR 1436 (HY000): Thread stack overrun: 4136 bytes used of a 131072 byte stack, and 131072 bytes needed. Use ‘mysqld -O thread_stack=#’ to specify a bigger stack.

Please, I need help.

Just increase the thread_stack parameter in your my.cnf configuration file:

[B]Quote:[/B]
# The stack size of each thread (default: 192K) thread_stack=256K