[Bug 426919] [NEW] thread_stack setting is too small

Dave Walker davewalker at ubuntu.com
Wed Sep 9 17:39:01 BST 2009

Public bug reported:

It would seem that some internal changes on mysql from 5.0 to 5.1 would require a higher thread_stack size.  The issues was noticed when trying to import a reasonably trivial sql script:

Trying to import with the default setting yields:
ERROR 1436 (HY000) at line 20: Thread stack overrun:  4996 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use 'mysqld -O thread_stack=#' to specify a bigger stack.

This error did not happen with the same my.cnf settings in 5.0.

When the setting is set from mysql upstream default of 192K on 5.1, the
error is not reproducible.  Therefore, I would consider this a

** Affects: mysql-dfsg-5.1 (Ubuntu)
     Importance: Undecided
         Status: New

thread_stack setting is too small
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.

More information about the Ubuntu-server-bugs mailing list