I run adplus using below to monitor MyProcess and create dump file on crash.
"adplus -crash -pn MyProcess -o c:\temp"
But second chance dump file creation fails with below error.
"Unable to create file 'c:\temp\20180503_023959_Crash_Mode\FULLDUMP_SecondChance_*_UnknownException_MyProcess.exe__8c40_2018-05-03_02-45-05-535_8b24.dmp' - Win32 error 0n123
"The filename, directory name, or volume label syntax is incorrect.""
I think *
(star) in file name is resulting in this. It could be due to *
in unknown exception itself. Below are exception details from log.
"(8b24.75d8): Unknown exception - code c0000374 (!!! second chance !!!) SecondChance_*_UnknownException"
Does anyone know if there is a way to get dump file generated in such scenarios? Thanks