SonarScanner C++ error: Exit code: -1073741819 - 9.9LTS

Hello

I upgraded from version: 9.3.0.51899
I run sonnarscanner on Windows 10 with Visual Studio 2022

CFamily plugin version: 6.41.2.69583

I have similar issue like this: Analyzer Exception
I tried to disable the S6495 rule, but that is already disabled

I get this error for random files, so I cannto exclude file :frowning:
I cannot share the reproducer.zip :frowning:

Thanks
Endre

I see similar error code with SonarLint plugin for VS2022 on Windows 10

[ThreadId 14] DEBUG: Executing file C:\USERS\ENDRE.VASS\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\17.0_8EC38E87\EXTENSIONS\CYKHMTFQ.KKR\lib\subprocess.exe
Args: -
Working directory: C:\Users\endre.vass\AppData\Local\Temp
Process id: 24716
[ThreadId 66] Refreshing PCH file for C:\work\test.h. PCH file location: C:\Users\endre.vass\AppData\Local\Temp\SLVS\PCH\3c91b8d5-7f74-4d5c-ad7d-7c972e7660c3\PCH.preamble
[ThreadId 66] DEBUG: Process returned exit code -1073741571


Faulting application name: subprocess.exe, version: 0.0.0.0, time stamp: 0x6699cadd
Faulting module name: subprocess.exe, version: 0.0.0.0, time stamp: 0x6699cadd
Exception code: 0xc00000fd
Fault offset: 0x00000000029738f7
Faulting process ID: 0x0x9A7C
Faulting application start time: 0x0x1DAF33CF508BF92
Faulting application path: C:\USERS\ENDRE.VASS\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\17.0_8EC38E87\EXTENSIONS\CYKHMTFQ.KKR\lib\subprocess.exe
Faulting module path: C:\USERS\ENDRE.VASS\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\17.0_8EC38E87\EXTENSIONS\CYKHMTFQ.KKR\lib\subprocess.exe
Report ID: 38e62466-702f-4201-a42f-2bc4b537bd40
Faulting package full name:
Faulting package-relative application ID:

Hi,

The thread you linked to shared that the bug found in that thread is fixed in recent versions but the fix was not backported to the LTA.

Since this is the case, and since you can’t share any files for further investigation on our side, it looks like your best bet is to upgrade to the current version, which is 10.6 at this writing.

 
HTH,
Ann

Can I check anything in the debug files to found the route of the issue? It contains lots of information from the build machine, the files, etc :frowning: and throw the error full randomly :frowning:

I think I cannot update the sonarqube server, because every team use same sonar server in my company … so that not too easy

Hi,

Sorry, but with an error that shows up on “random files” and no original materials to work from, I really can’t help you.

 
Ann