- SonarQube 10.6, sonar-scanner CLI 6.1.0.4477
- Running build and scan on Jenkins inside Docker container
I get a crash in sonar-scanner for a single pull request, with reproducer file created. Log says:
08:42:34.425 INFO [6/7] Finished analyzing: /var/jenkins_home/workspace/BMZ_P4H_IoT_PR-27/Embedded_Web_Server/firmware/EmbServer_1.X/../src/mpfs_net_img.c (901ms)
08:42:36.153 ERROR Exception in thread pool-4-thread-1
com.sonar.cpp.analyzer.Analyzer$AnalyzerException: Exit code 133: /var/jenkins_home/workspace/BMZ_P4H_IoT_PR-27/Embedded_Web_Server/firmware/EmbServer_1.X/../src/app.c
at com.sonar.cpp.analyzer.Subprocess.lambda$execute$1(Subprocess.java:43)
at com.sonar.cpp.analyzer.Subprocess.execute(Subprocess.java:128)
at com.sonar.cpp.analyzer.Subprocess.execute(Subprocess.java:39)
at com.sonar.cpp.analyzer.ReproducerRequester.requestReproducer(ReproducerRequester.java:37)
at com.sonar.cpp.analyzer.AnalysisHandler.acceptResult(AnalysisHandler.java:66)
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)
08:42:36.230 ERROR
An error occurred while analyzing the following compilation unit:
/var/jenkins_home/workspace/BMZ_P4H_IoT_PR-27/Embedded_Web_Server/firmware/EmbServer_1.X/../src/app.c
A file named "sonar-cfamily-reproducer.tar.xz" has been generated to help the problem investigation.
Please contact SonarSource support providing the following file to help improving the analyzer:
/var/jenkins_home/workspace/BMZ_P4H_IoT_PR-27/sonar-cfamily-reproducer.tar.xz
08:42:42.311 ERROR Error during SonarScanner Engine execution
java.lang.IllegalStateException:
An error occurred while analyzing the following compilation unit:
/var/jenkins_home/workspace/BMZ_P4H_IoT_PR-27/Embedded_Web_Server/firmware/EmbServer_1.X/../src/app.c
Where can I send the reproducer archive?