[SERVER-7683] C++ driver segfaults with boost::thread Created: 15/Nov/12 Updated: 08/Mar/13 Resolved: 19/Nov/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Shaun Verch | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Test program: #include <boost/thread/thread.hpp> using namespace mongo; void thread_run() { } int main() { Fails with either: |
| Comments |
| Comment by Eric Milkie [ 19/Nov/12 ] |
|
I played around with this a little. If you wait a little bit before you try to cancel the thread, you don't crash. |
| Comment by Eric Milkie [ 16/Nov/12 ] |
|
When you say "-lboost_thread-mt", is that version 1.49? |
| Comment by Eric Milkie [ 15/Nov/12 ] |
|
How did you build your test program? |