CFamily plugin 6.0.0.10816 crashing during scan with gcc 4.9.1 output

Hi Massimo,

Didn’t really work:

E:\Jenkins\Slave\workspace\cc_prs>e:\Tools\sonar-scanner-3.3.0.1492-windows\bin\sonar-scanner.bat sonar.cfamily.reproducer=e:/Jenkins/Slave/workspace/cc_prs/src/implement/diag_cfg.c -X
20:56:06.713 INFO: Scanner configuration file: e:\Tools\sonar-scanner-3.3.0.1492-windows\bin..\conf\sonar-scanner.properties
20:56:06.723 INFO: Project root configuration file: E:\Jenkins\Slave\workspace\cc_prs\sonar-project.properties
20:56:06.741 INFO: SonarQube Scanner 3.3.0.1492
20:56:06.742 INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
20:56:06.744 INFO: Windows NT (unknown) 10.0 amd64
20:56:06.904 DEBUG: keyStore is :
20:56:06.905 DEBUG: keyStore type is : jks
20:56:06.906 DEBUG: keyStore provider is :
20:56:06.908 DEBUG: init keystore
20:56:06.909 DEBUG: init keymanager of type SunX509
20:56:07.058 DEBUG: Create: C:\Users\Administrator.sonar\cache
20:56:07.061 INFO: User cache: C:\Users\Administrator.sonar\cache
20:56:07.062 DEBUG: Create: C:\Users\Administrator.sonar\cache_tmp
20:56:07.067 DEBUG: Extract sonar-scanner-api-batch in temp…
20:56:07.088 DEBUG: Get bootstrap index…
20:56:07.088 DEBUG: Download: http://kvmech.myserver/sonarqube/batch/index
20:56:07.168 DEBUG: Get bootstrap completed
20:56:07.199 DEBUG: Create isolated classloader…
20:56:07.209 DEBUG: Start temp cleaning…
20:56:07.217 DEBUG: Temp cleaning done
20:56:07.218 DEBUG: Execution getVersion
20:56:07.223 INFO: SonarQube server 7.6.0
20:56:07.227 DEBUG: Execution execute
20:56:07.636 INFO: Load global settings
20:56:07.832 DEBUG: GET 200 http://kvmech.myserver/sonarqube/api/settings/values.protobuf | time=186ms
20:56:07.863 INFO: Load global settings (done) | time=229ms
20:56:07.867 INFO: Server id: 49B321BC-15e61e72daf081c
20:56:07.890 INFO: User cache: C:\Users\Administrator.sonar\cache
20:56:08.118 INFO: Load/download plugins
20:56:08.118 INFO: Load plugins index
20:56:08.159 DEBUG: GET 200 http://kvmech.myserver/sonarqube/api/plugins/installed | time=40ms
20:56:08.201 INFO: Load plugins index (done) | time=83ms
20:56:08.281 DEBUG: Download plugin ‘scmmercurial’ to ‘C:\Users\Administrator.sonar_tmp\fileCache7460141700642485360.tmp’
20:56:08.291 DEBUG: GET 200 http://kvmech.myserver/sonarqube/api/plugins/download?plugin=scmmercurial&acceptCompressions=pack200 | time=9ms
20:56:09.244 INFO: Load/download plugins (done) | time=1126ms
20:56:09.537 DEBUG: Plugins:
20:56:09.538 DEBUG: * SonarCSS 1.0.3.724 (cssfamily)
20:56:09.539 DEBUG: * Svn 1.9.0.1295 (scmsvn)
20:56:09.539 DEBUG: * SonarPLSQL 3.3.0.2273 (plsql)
20:56:09.540 DEBUG: * SonarScala 1.4.0.155 (sonarscala)
20:56:09.541 DEBUG: * SonarC# 7.10.0.7896 (csharp)
20:56:09.541 DEBUG: * Vulnerability Analysis 7.6.0.3134 (security)
20:56:09.542 DEBUG: * SonarJava 5.10.1.16922 (java)
20:56:09.543 DEBUG: * LDAP 2.2.0.608 (ldap)
20:56:09.543 DEBUG: * SonarHTML 3.1.0.1615 (web)
20:56:09.544 DEBUG: * SonarFlex 2.4.0.1222 (flex)
20:56:09.545 DEBUG: * SonarXML 2.0.1.2020 (xml)
20:56:09.546 DEBUG: * SonarTS 1.9.0.3766 (typescript)
20:56:09.546 DEBUG: * SonarVB 7.10.0.7896 (vbnet)
20:56:09.549 DEBUG: * SonarSwift 4.1.0.3087 (swift)
20:56:09.549 DEBUG: * SonarCFamily 6.0.0.10816 (cpp)
20:56:09.550 DEBUG: * SonarPython 1.11.0.2473 (python)
20:56:09.550 DEBUG: * JaCoCo 1.0.1.143 (jacoco)
20:56:09.551 DEBUG: * Mercurial 1.1.2 (scmmercurial)
20:56:09.552 DEBUG: * SonarGo 1.1.0.1612 (go)
20:56:09.552 DEBUG: * SonarKotlin 1.4.0.155 (kotlin)
20:56:09.553 DEBUG: * SonarTSQL 1.3.1.3067 (tsql)
20:56:09.553 DEBUG: * SonarJS 5.0.0.6962 (javascript)
20:56:09.554 DEBUG: * SonarRuby 1.4.0.155 (ruby)
20:56:09.555 DEBUG: * Vulnerability Rules for C# 7.6.0.3134 (securitycsharpfrontend)
20:56:09.555 DEBUG: * Vulnerability Rules for Java 7.6.0.3134 (securityjavafrontend)
20:56:09.556 DEBUG: * License for SonarLint 7.6 (license)
20:56:09.556 DEBUG: * Git 1.7.0.1491 (scmgit)
20:56:09.559 DEBUG: * SoftVis3D Sonar plugin 1.0.1 (softvis3d)
20:56:09.559 DEBUG: * SonarPHP 2.16.0.4355 (php)
20:56:09.560 DEBUG: * SonarABAP 3.7.0.1603 (abap)
20:56:09.561 DEBUG: * Vulnerability Rules for PHP 7.6.0.3134 (securityphpfrontend)
20:56:09.562 DEBUG: * SVG Badges 3.0.1 (status)
20:56:09.586 INFO: Loaded core extensions: branch-scanner
20:56:09.642 INFO: ------------------------------------------------------------------------
20:56:09.643 INFO: EXECUTION FAILURE
20:56:09.644 INFO: ------------------------------------------------------------------------
20:56:09.644 INFO: Total time: 2.961s
20:56:09.717 INFO: Final Memory: 16M/256M
20:56:09.717 INFO: ------------------------------------------------------------------------
20:56:09.719 ERROR: Error during SonarQube Scanner execution
20:56:09.719 ERROR: Tasks support was removed in SonarQube 7.6.

E:\Jenkins\Slave\workspace\cc_prs>

I guess, this is not what you were/are expecting…