Sonar C++ Analyzer crashed


I got a crash without much information:

 ERROR: Exception in thread pool-3-thread-1
18:02:04  com.sonar.cpp.analyzer.Analyzer$AnalyzerException: Exit code != 0: C:\Jenkins\workspace\fms-app\src\ui\modules\salden\SaldenListOfAccountsModel.cpp
18:02:04  	at com.sonar.cpp.analyzer.AnalysisHandler.acceptResult(
18:02:04  	at com.sonar.cpp.analyzer.Subprocess.execute(
18:02:04  	at com.sonar.cpp.plugin.CFamilySensor.lambda$process$19(
18:02:04  	at com.sonar.cpp.analyzer.AnalysisExecutor.lambda$submit$0(
18:02:04  	at java.base/java.util.concurrent.Executors$ Source)
18:02:04  	at java.base/ Source)
18:02:04  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
18:02:04  	at java.base/java.util.concurrent.ThreadPoolExecutor$ Source)
18:02:04  	at java.base/ Source)

18:07:59  ERROR: 
18:07:59  An error occurred while analyzing the following compilation unit: 
18:07:59    C:\Jenkins\workspace\fms-app\src\ui\modules\salden\SaldenListOfAccountsModel.cpp
18:07:59  A file named "" has been generated to help the problem investigation.
18:07:59  Please contact SonarSource support providing the following file to help improving the analyzer:
18:07:59    C:\Jenkins\workspace\fms-app\

Where exactly am I supposed to send the reproducer?

And in other files, it said:

 ERROR: expected '{' after base class list

What does this mean?

Hey there.

Can you start by telling us what version of SonarQube you’re using?

Sure, thanks for the reply!

SonarQube server
CFamily plugin version:

Thanks. I’ve pinged the right team so they can reach out to you for the reproducer.

1 Like

Hi @michael-brade,

I sent you a PM where you can upload the reproducer.
Until we investigate, you can exclude SaldenListOfAccountsModel.cpp to unblock the analysis.


@michael-brade, any update on this?

no, I am currently not able to run Sonar due to some internal permission problems. I wanted to exclude the cpp to see if this is the only crash but it will take a while longer it seems.

1 Like