FS#49330 - [qtcreator] version 4 crashes when loading qbs projects

Attached to Project: Arch Linux
Opened by Stephan Gatzka (gatzka) - Saturday, 14 May 2016, 15:23 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 13 June 2016, 13:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

After upgrading to qtcreator 4.0 loading simple qbs project crashes both qbs and qtcreator.

I've already sent an upstream bug report, not sure if it's an arch linux issue or not:
https://bugreports.qt.io/browse/QBS-974
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 13 June 2016, 13:39 GMT
Reason for closing:  Fixed
Comment by patrick (potomac) - Sunday, 15 May 2016, 21:19 GMT
same problem,

maybe a gcc 6.x issue,

it would be interesting to build qtcreator with clang instead of gcc, in order to see if the bug is still here

Comment by Philipe Reis (phireis) - Monday, 16 May 2016, 02:20 GMT
Same problem When trying to open any QBS C++ projects created on Qt Creator 3.6, qtcreator crashs with segmentation fault. It happens when creating new qbs project too. Only happened after qtcreator-4.0.0 upgrade from qtcreator-3.6.1 in archlinux. Clearing user data doesnt solve the problem. Downgrading to qtcreator-3.6.1 solves the problem.

Upgrades:
upgraded qtcreator (3.6.1-2 -> 4.0.0-1)

Other updates that might be relevant:
upgraded llvm (3.7.1-1 -> 3.8.0-1)
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 16 May 2016, 13:26 GMT
Sounds a lot like a gcc specific problem with the qtcreator release build. Not sure whether it's a qtcreator bug where qtcreator unknowingly relies on undefined behavior or a gcc bug.
Comment by Philipe Reis (phireis) - Friday, 20 May 2016, 01:17 GMT
I was trying a few things and found out that qtcreator-3.6.1-3 (i missed it, going from 3.6.1-2 -> 4.0.0-1) crashs the same way as 4.0.0-1 with a segmentation fault when loading qbs projects. Maybe it was built with gcc6 too.
Comment by Philipe Reis (phireis) - Monday, 13 June 2016, 13:12 GMT
qtcreator-4.0.1 solved the problem.

Loading...