-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS crash showing raster symbology in layer properties #39693
Comments
Works for me on master. |
Could it be a Qt 5.9 specific issue? |
I have QT5.11.2 and look at #39692 |
@Antoviscomi cannot replicate that. |
ok @gioman with a new clean profile it works fine, thank you |
I put my bets on the outdated QT. |
This is happening here also, but not everytime, it's some kind of random. And it happens just after double clicking in TOC. Here is a crash report:
|
@PedroVenancio can you test a new QGIS profile? |
I've just tested in a clean profile and I've got the crash after double clicking in 3 rasters.
|
@PedroVenancio so your issue is more similar to #39692 (?). |
Yes, I think so, but sometimes it crashes just after 3, 4, 5 ... double clicks, not at the first. I've tried it again, in a clean profile, clean project, just added a raster layer and it crashed after 15 double clicks. It's some kind of random... |
@PedroVenancio i've the crash in the same codeline |
Aftetr a wile dscovered this issue, started also to crash just double-cliking to open properties... I didn0t check if qgis try to open the previus tab e.g. symbology => crash in the same line |
@luipir @PedroVenancio @gioman In addition I've noticed that if I delete C:...AppData\Roaming\QGIS\QGIS3\profiles\default\QGIS\ QGIS3.ini, then I open a clean project with default profile, double click it works fine (I double click for about 15-20times) |
trUtf8 is tr from what I understand. was there any important changes to the translation data recently? |
Could someone check if the bug occurs before the latest translation at a759ca2 and if it occurs after? I'm not sure what other changes might have affected the translation. I may be off the mark also. |
This seems a pretty severe regression, is anyone having a look at? |
It is in fact. I'm seeing it reported at several local mailing lists, Facebook groups, etc. |
I did have a look but couldn't reproduce. |
Is everyone using Italian or spanish translation? |
No, I'm using QGIS in English, but my windows OS is Portuguese |
@Antoviscomi no, in my case doe not change and continue to crash also after removing QGIS.ini before starting qgis in a clean profile. Thread 1 "qgis" received signal SIGSEGV, Segmentation fault. |
The problem to do a revert without knowing the origin of the problem and to implement a relative test is that:
|
Revert the cause of a known crasher that's reported near-daily -> +1 :) |
I leave next step to you |
Experiencing similar problems, as mentioned, #39917 and #39823. Single click on some menus (docked processing toolbox , intersect, dissolve, Map Tools, Merge Layers) and double click sometimes on proprieties and symbology (less common, but I'm not working raster atm anyway). I wonder if somehow a translation could impact it? Clean profile, tested it and apparently stopped crashing. Apply american english language (from OS Portuguese, only change I did to clean profile) and apparently the problems return? But only sometimes?? The crashes are so random that it is hard to figure out. Since opening #39917, I have been working for two hours without a single crash, using mostly the tools that did lead to a crash before, on my own profile (not a new one, since it seemed to crash more like that). Everything working right, while all during the weekend, I couldn't perform a single action without crashing, except on blank profile. QT 5.11.2 as well. And qgis 3.14 at first did not replicate these issues, but I have then since been having them also in 3.14 today. |
BINGO! we probably have a fix! @nirvn found the QT issue that probably is the base of the issue https://bugreports.qt.io/browse/QTBUG-69204 and reading the qt patch here: https://codereview.qt-project.org/c/qt/qtbase/+/242929/7/src/widgets/styles/qstylesheetstyle.cpp#2913 I had the idea to invalidate styleSheet cache just before applying the new style... just doing setStyleSheet("") before the applying style and it works :) |
The moain problem now is do it only in QgsCollapsibleGroupBox.cpp and specifically only inside void QgsCollapsibleGroupBoxBasic::updateStyle() or do it in every play where setStyleSheet is applied (145 times in qgis code)? |
I say go conservative, only fix what cause crashes on 5.9. |
IMHO should be:
we had report of crash with qt 5.11 in this thread |
sorry close button too near to comment ;) |
@luipir , sounds good -- go for it. |
hi, or install newer Qt version from here https://launchpad.net/~beineri/+archive/ubuntu/opt-qt-5.14.2-bionic which installs in Again apologies for asking here... I didn't find a coherent explanation elsewhere Tnx! |
@gastgit you compile the code with the fix or you wait the next round of minor/point releases (pr also you stick with the LTR version, 3.10). |
Tnx @gioman I have a whole host of broken dependencies. Installation goes smoothly but it installs 3.16. How can I install 3.10 ? |
Install from http://qgis.org/ubuntugis-ltr, if you updated packages from ubuntugis and want to keep them or downgrade back to the vanilla ubuntu versions and use ubuntu-ltr. |
Tnx @jef-n for your assistance with
and still got broken dependencies that did not show up when I was able to install the 3.16 version with http://qgis.org/ubuntugis/ |
Describe the bug
QGIS crash showing raster symbology in layer properties
How to Reproduce
Not F7 works correctly
QGIS and OS versions
Additional context
The text was updated successfully, but these errors were encountered: