Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

PGO program exit crash

Version001
New Contributor I
456 Views

Hello, I am trying to create a PGO file (fprofile-instr-generate), but my app crashes when exit my app.

 

I compiling my source with o2 - fast-math - ob2 - sse3 - qipo on for main - /GA - LTCG on for libs - ASLR disabled - x64 - release mode - toolkit v143 - windows sdk ver = 10.0.18362.0

 

TRACEBACK:

 

Exception Type: 0xc0000005

Rax: 0x00000000 Rbx: 0x01347424
Rcx: 0x00027126 Rdx: 0x00000000
Rsi: 0x5434326944 Rdi: 0x5432554176
Rbp: 0x01374624 Rsp: 0x01347360

 

140b34420 TestAPP!lprofGetVPDataReader
140b32100 TestAPP!lprofWriteOneBinaryId
140b31b00 TestAPP!lprofWriteDataImpl
140b31a50 TestAPP!lprofWriteData
140b2fba0 TestAPP!_llvm_profile_write_file
140b2fba0 TestAPP!_llvm_profile_write_file
<lambda_f03950bc5685219e0bcd2087efbe011e>::operator() --> 206
__crt_seh_guarded_call<int>::operator()<<lambda_7777bce6b2f8c936911f934f8298dc43>,<lambda_f03950bc5685219e0bcd2087efbe011e> &,<lambda_3883c3dff614d5e0c5f61bb1ac94921c> > --> 204
_execute_onexit_table --> 231
<lambda_6e4b09c48022b2350581041d5f6b0c4c>::operator() --> 232
__crt_seh_guarded_call<void>::operator()<<lambda_d80eeec6fff315bfe5c115232f3240e3>,<lambda_6e4b09c48022b2350581041d5f6b0c4c> &,<lambda_2358e3775559c9db80273638284d5e45> > --> 224
common_exit --> 278
__scrt_common_main_seh --> 295
7ff938a42560 KERNEL32!BaseThreadInitThunk
7ff9394caa30 ntdll!RtlUserThreadStart

0 Kudos
1 Solution
Version001
New Contributor I
311 Views

my problem was that I didn't put a backslash to output directory, e.g;

folder\name\output (this crashing)

folder\name\output\ (this not crashing)

View solution in original post

0 Kudos
2 Replies
Alex_Y_Intel
Moderator
324 Views

Hi @Version001 
If you can provide a reproducer, it'll be easier for other users in the forum to check your issue better. 

0 Kudos
Version001
New Contributor I
312 Views

my problem was that I didn't put a backslash to output directory, e.g;

folder\name\output (this crashing)

folder\name\output\ (this not crashing)

0 Kudos
Reply