[SERVER-7924] Windows debug builds display dialog on abort() -- they should just abort Created: 13/Dec/12 Updated: 11/Jul/16 Resolved: 15/Dec/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 2.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tad Marshall | Assignee: | Tad Marshall |
| Resolution: | Done | Votes: | 0 |
| Labels: | buildbot | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows debug builds |
||
| Attachments: |
|
| Operating System: | Windows |
| Participants: |
| Description |
|
If a Windows debug build executable tries to abort by calling the C runtime function "abort()", the C runtime displays a dialog saying "Debug Error!" and "R6010 - abort() has been called". This screws up our tests, which are expecting abort() to exit the program, and causes the build slave to hang until the buildbot master kills it after 3 hours We should tell the C runtime to just exit on abort and not display a dialog. |
| Comments |
| Comment by auto [ 15/Dec/12 ] |
|
Author: {u'date': u'2012-12-14T21:32:24Z', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}Message: Use _set_abort_behavior() to prevent the C runtime from displaying |