SonarScanner AnalyzerException during analysis

  • ALM used: GitLab
  • CI system used: Gitlab CI/CD
  • Scanner command used when applicable: sonar-scanner -Dsonar.host.url=“https://sonarcloud.io” -Dsonar.token=“*” -Dproject.settings=.sonar.properties
  • Languages of the repository: C++
  • Error observed:
INFO: [pool-4-thread-1] /builds/sat-polsl/software/packages/telemetry/telemetry/telemetry/src/get_type_id.cpp
INFO: Reached stage: symbolic execution
INFO: Requesting reproducer for: /builds/sat-polsl/software/packages/telemetry/telemetry/telemetry/src/get_type_id.cpp
ERROR: Exception in thread pool-4-thread-1
com.sonar.cpp.analyzer.Analyzer$AnalyzerException: Exit code 139: /builds/sat-polsl/software/packages/telemetry/telemetry/telemetry/src/get_type_id.cpp
	at com.sonar.cpp.analyzer.AnalysisHandler.acceptResult(AnalysisHandler.java:67)
	at com.sonar.cpp.analyzer.Subprocess.execute(Subprocess.java:128)
	at com.sonar.cpp.plugin.CFamilySensor.lambda$process$34(CFamilySensor.java:1328)
	at com.sonar.cpp.analyzer.AnalysisExecutor.lambda$submit$0(AnalysisExecutor.java:58)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
ERROR: 
An error occurred while analyzing the following compilation unit: 
  /builds/sat-polsl/software/packages/telemetry/telemetry/telemetry/src/get_type_id.cpp

After changing CFamily plugin version from 6.43.0.61486 to 6.44.0.61773 SonarScanner started throwing exception despite no change in code.

Let me know how to provide sonar-cfamily-reproducer.zip .

Hello there,

Generating and sharing a reproducer will allow us to investigate this crash.

A reproducer is automatically generated in case of a crash.

Please share the reproducer file that you should be able to find as sonar-cfamily.reproducer in the project directory. If you think this file contains private information, let us know, and we will send you a private message that will allow you to send it privately.

Thanks!

This conversation has been moved to a private channel.