Unhandled exception from boost::thread::start_thread
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
High
|
Andrew Hutchings | ||
7.0 |
Fix Released
|
High
|
Andrew Hutchings |
Bug Description
Stack trace from core file. Hit when trying to generate > 1000 connections. Run the attached php file to reproduce this.
#0 0x0000003b9e20c94c in pthread_kill () from /lib64/
#1 0x0000000000660eda in write_core (sig=6) at drizzled/
#2 drizzled_
#3 <signal handler called>
#4 0x0000003b9de34085 in raise () from /lib64/libc.so.6
#5 0x0000003b9de35a36 in abort () from /lib64/libc.so.6
#6 0x0000003ba96bc08d in __gnu_cxx:
from /usr/lib64/
#7 0x0000003ba96ba2a6 in ?? () from /usr/lib64/
#8 0x0000003ba96ba2d3 in std::terminate() () from /usr/lib64/
#9 0x0000003ba96ba3de in __cxa_throw () from /usr/lib64/
#10 0x00007f3f3d995f0e in ?? () from /usr/lib64/
#11 0x00007f3f3d99888c in boost::
from /usr/lib64/
#12 0x00007f3f358f7e67 in thread<
this=0x1f61970, session=...)
at /usr/include/
#13 multi_thread:
session=...) at plugin/
#14 0x000000000065b3dc in drizzled:
at drizzled/
#15 0x000000000052c77f in main (argc=<value optimized out>,
argv=<value optimized out>) at drizzled/
Related branches
- Drizzle Developers: Pending requested
-
Diff: 37 lines (+13/-3)2 files modifiedplugin/multi_thread/multi_thread.cc (+9/-2)
plugin/mysql_protocol/net_serv.cc (+4/-1)
Changed in drizzle: | |
assignee: | nobody → Andrew Hutchings (linuxjedi) |
OK, so what is happening is "ulimit -u" is getting hit, this is causing boost:: thread_ resource_ error exception to be thrown. We need to catch this and change it to an error.