Issue with Sonar Scanner - Error Code 139

Hi,
I am experiencing an issue with the Sonar Scanner while scanning a C++ file. The scanner stops with error code 139.

Logs:

11:01:59.220 DEBUG Reproducer logs:
11:01:59.222 INFO  Requesting reproducer for: /mnt/appmgr.full/src/appmgr_utils.cpp
11:01:59.533 ERROR Exception in thread pool-6-thread-1
com.sonar.cpp.analyzer.Analyzer$AnalyzerException: Exit code 139: /mnt/appmgr.full/src/appmgr_utils.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$10(CFamilySensor.java:753)
	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)

Here are the details of my setup:

  • SonarQube Version: 10.6 (deployed using zip file)
  • Sonar Scanner Version: 6.1.0

Could you please assist me in diagnosing this issue? Any guidance on how to resolve this error would be greatly appreciated.

Thank you for your help!

Hi

Could we have the full analysis log, redacted as necessary? Also, are you comfortable uploading the reproducer publicly?

 
Thx,
Ann