Forums | Mahara Community

Developers /
XAMPP and Thread stack overrun


anonymous profile picture
Deleted user
Posts: 4

07 August 2013, 12:49 AM

This is likely a problem rather specific to my configuration, but I ran into a problem when trying to send messages (sendmessage.php) during offline development using XAMPP and mysql (OS X Lion).  It failed with the following error in the apache log:

mysql error: [1436: Thread stack overrun:  5848 bytes used of a 131072 byte stack, and 128000 bytes needed.

Turns out that the XAMPP setup for the thread_stack is too low and needs to be beefed up>

/Applications/XAMPP/etc/my.cnf (may differ depending on OS):
...

thread_stack = 64K  # NEEDS TO BE HIGHER, 192K for 32bit OS for example

...

 

Making this change and restarting mysql/apache solved the problem.  Just thought I should report it in case others run into this problem.  

 

Aaron Wells's profile picture
Posts: 896

07 August 2013, 10:45 AM

Thanks, Nathaniel! Hopefull this can be of use to someone experiencing similar difficulties.

2 results