Sonar-scanner crash during .m file analysis

Hi,

My sonar-scanner is crashing during analysis of a .m file on a large mixed (Objective-C + Swift) project.

Env :
OS X 14.4
Xcode 10.2
sonar-scanner 3.3.0.1492
sonar server 7.6
Objective-c plugin 6.1

Logs (modified)

INFO: [pool-2-thread-1] **modified_path**.m
ERROR: Exception in thread pool-2-thread-1
java.lang.IllegalStateException: exit code != 0
	at com.sonar.cpp.analyzer.Subprocess.execute(Subprocess.java:54)
	at com.sonar.cpp.analyzer.Subprocess.execute(Subprocess.java:25)
	at com.sonar.cpp.plugin.CFamilySensor.lambda$process$4(CFamilySensor.java:323)
	at com.sonar.cpp.analyzer.AnalysisExecutor.lambda$submit$0(AnalysisExecutor.java:53)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 38.433s
INFO: Final Memory: 136M/1515M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
ERROR: java.lang.IllegalStateException: exit code != 0
ERROR: Caused by: exit code != 0
ERROR: 
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.

I have generated the reproducer, I cant send it (35Mb) via a private channel

Thanks for your help

Hi @Michel_Moreau,

thank you for your report, sending you a private message.