[SERVER-7956] Windows debug build displays dialog on C runtime assertion Created: 16/Dec/12  Updated: 11/Jul/16  Resolved: 16/Dec/12

Status: Closed
Project: Core Server
Component/s: None
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: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows debug build


Backwards Compatibility: Fully Compatible
Operating System: Windows
Participants:

 Description   

On assertions from the C runtime library such as from a checked iterator, the Windows debug build displays an error dialog. It should instead log the message and print a stack trace.



 Comments   
Comment by auto [ 16/Dec/12 ]

Author:

{u'date': u'2012-12-16T17:05:06Z', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}

Message: SERVER-7956 Do not display dialog on CRT assertion, print stack trace

Use the C runtime "report hook" to handle reporting of C runtime assertions
ourselves instead of having the C runtime do it. Log the message and print
a stack trace to help with debugging.
Branch: master
https://github.com/mongodb/mongo/commit/c5aa1730a511ecffcb7dab2f7b32b6ee607c933d

Generated at Thu Feb 08 03:16:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.