| Bug #244 | stack overrun message in threaded application with embedded server | ||
|---|---|---|---|
| Submitted: | 7 Apr 2003 21:58 | Modified: | 8 Apr 2003 6:53 |
| Reporter: | Alexey Botchkov | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Embedded Library ( libmysqld ) | Severity: | S2 (Serious) |
| Version: | 4.0 | OS: | Any (All) |
| Assigned to: | Alexey Botchkov | CPU Architecture: | Any |
[8 Apr 2003 6:53]
Alexey Botchkov
Thank you for your bug report. This issue has been fixed in the latest
development tree for that product. You can find more information about
accessing our development trees at
http://www.mysql.com/doc/en/Installing_source_tree.html
stack checking removed from embedded library

Description: Some queries - for example queries with WHERE condition - fails if you run them in separate thread. Diagnostic: Thread stack overrun: Used: 25168296 of a 196608 stack. Use 'mysqld -O thread_stack=#' to specify a bigger stack if needed \ [select * from t0 where ifi=4] How to repeat: void *thread_routine(void *arg) { mysql_thread_init(); db_do_query(connection, "select * from t0 where ifi=4"); mysql_thread_end(); printf("Finished %d\n", (int)arg); return NULL; }