Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the symbol `myLibrary!__scrt_stub_for_is_c_termination_complete+0x12345`

The symbol myLibrary!__scrt_stub_for_is_c_termination_complete+0x12345 appears in the stack trace of a crashed application. It is C++ compiled with MSVC2015 and heavily uses Qt.

myLibrary does not explicitly implement anything of that name.

Google shows some hits on this name, so apparently it is not particular to this one application. But I cannot find an explanation of it.

like image 758
TFM Avatar asked Apr 02 '19 11:04

TFM


1 Answers

That is a "no idea where it crashed" diagnostic. The +0x12345 offset is far too large. Not uncommon at all, you need good PDBs to get accurate stack traces. Without them it doesn't know anything about the code you wrote and can only go by named DLL entrypoints.

Since the crash appears to be detected in the C runtime library, you might well get lucky by enabling the Microsoft Symbol Server and let it produce the PDB you need. Assuming you opened the minidump in VS, use Tools > Options > Debugging > Symbols to enable the server. General and WinDbg advice is available in this MSDN page.

like image 167
Hans Passant Avatar answered Oct 21 '22 09:10

Hans Passant