Bug 1235996

Summary: QT Creator
Product: [Fedora] Fedora Reporter: Luís Silva <luis.st>
Component: qt-creatorAssignee: Itamar Reis Peixoto <itamar>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: davejohansen, itamar, jgrulich, jreznik, luis.st, manisandro, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-21 09:06:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
valgrind qtcreator log none

Description Luís Silva 2015-06-26 10:03:31 UTC
Created attachment 1043456 [details]
valgrind qtcreator log

Description of problem:
QT Creator crashes when entering options twice.

Version-Release number of selected component (if applicable):
qt-creator-3.4.1-1.fc22.x86_64


How reproducible:
Allways.

Steps to Reproduce:
1. Open QT Creator on KDE!
2. Menu entry : Tools -> Options
3. Cancel.
4. Menu entry : Tools -> Options

Actual results:
QT Creator crashes

Expected results:
No crash

Additional info:
valgrind log attached

Comment 1 Sandro Mani 2015-06-26 18:36:45 UTC
Are you doing any display configuration related changes between the two times you open and close the settings dialog? Or possibly at any other time in the life time of your running qt-creator instance? I suspect this is yet another case of Qt5 display handling issues which should hopefully be fixed in the soon to be released Qt5.5. By simply opening the options dialog twice, I cannot reproduce a crash here on rawhide. Perhaps relevant: which category/tab is shows when you open the dialog?

Comment 2 Luís Silva 2015-06-27 08:58:19 UTC
Hi Sandro,

First of all, thanks for quick response.

This machine is a laptop with a docking station, and yes, I had issues on qt-creator when connecting/disconnecting the laptop to the dock (the dock has 2 monitors attached and when connects, it turns off laptop monitor and turns on docking monitors).
Those problems where fixed.

By the way, I filled a bug report on qt (https://bugreports.qt.io/browse/QTCREATORBUG-14601) and with upstream version, I had no issues (probably qt version is different and has it fixed).

About the category/tab, it happens whatever is selected. And also, if I don't open Options right away, and start coding, when later I open Options, it will crash at first time.

If I can help with other test, please let me know!

Best Regards

Comment 3 Sandro Mani 2015-06-27 09:02:14 UTC
I suspect the reason you can only reproduce it with the fedora package and not the upstream one is that the upstream one likely uses a bundled version of Qt5 instead of the Fedora shipped qt5 libraries. There is definitely no patching done in that area in the qt-creator package.

Qt5 5.5. should be out july 1st [1], I expect the Fedora packages to catch up pretty rapidly. I'd suggest we waited for that, and the follow up if necessary.

[1] https://wiki.qt.io/Qt-5.5-release

Comment 4 Luís Silva 2015-08-21 09:06:31 UTC
Hi Sandro,

With todays update to qt-5.5 this problem is solved, has expected.

Thanks for your help ;)