[SERVER-38119] Windows dump file naming does not account for dots in directory names Created: 13/Nov/18  Updated: 29/Oct/23  Resolved: 12/Aug/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: 4.0.4
Fix Version/s: 4.3.1, 4.2.6, 3.6.18, 4.0.18

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mathew Robinson (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
is duplicated by SERVER-24520 Incorrect minidump location on Window... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Dev Tools 2019-08-12, Dev Tools 2019-08-26
Participants:

 Description   

When a directory name contains ".", it Windows dump file code produces the wrong directory name. It uses "wcschr" instead of "wcsrchr" to search for the dot.

See https://github.com/mongodb/mongo/blob/7b0362b91d01a40bb19398d11381516a0783aa67/src/mongo/util/exception_filter_win32.cpp#L72



 Comments   
Comment by Githook User [ 25/Mar/20 ]

Author:

{'email': 'chasinglogic@gmail.com', 'name': 'Mathew Robinson'}

Message: SERVER-38119 Windows dump file naming does not account for dots in directory names

(cherry picked from commit ff468c0b65af2cc978aa549d0ec7ed56553abf5a)
Branch: v4.2
https://github.com/mongodb/mongo/commit/52ae74ae115384ecf2cfe670ee4ddeb1ff04a262

Comment by Githook User [ 24/Mar/20 ]

Author:

{'name': 'Mathew Robinson', 'email': 'chasinglogic@gmail.com'}

Message: SERVER-38119 Windows dump file naming does not account for dots in directory names

(cherry picked from commit ff468c0b65af2cc978aa549d0ec7ed56553abf5a)
Branch: v4.0
https://github.com/mongodb/mongo/commit/4c4e1d0055ccfd3ca8f137d834a7b194a0961160

Comment by Githook User [ 24/Mar/20 ]

Author:

{'email': 'chasinglogic@gmail.com', 'name': 'Mathew Robinson'}

Message: SERVER-38119 Windows dump file naming does not account for dots in directory names

(cherry picked from commit ff468c0b65af2cc978aa549d0ec7ed56553abf5a)
Branch: v3.6
https://github.com/mongodb/mongo/commit/a891f6f252549ea064c9925ba9a12a20ca8064c6

Comment by Githook User [ 12/Aug/19 ]

Author:

{'name': 'Mathew Robinson', 'username': 'chasinglogic', 'email': 'chasinglogic@gmail.com'}

Message: SERVER-38119 Windows dump file naming does not account for dots in directory names
Branch: master
https://github.com/mongodb/mongo/commit/ff468c0b65af2cc978aa549d0ec7ed56553abf5a

Comment by Mark Benvenuto [ 19/Feb/19 ]

Yes, it is still required. I have flagged it as needs scheduling so it shows up in triage.

Comment by Gregory McKeon (Inactive) [ 19/Feb/19 ]

mark.benvenuto is this still required? if so, can we pull it into a sprint?

Generated at Thu Feb 08 04:48:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.