Skip to content
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

[MacOS] Some action hangs QGIS for long time. #25709

Closed
qgib opened this issue Jan 6, 2018 · 9 comments
Closed

[MacOS] Some action hangs QGIS for long time. #25709

qgib opened this issue Jan 6, 2018 · 9 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Jan 6, 2018

Author Name: Michal Jurewicz (Michal Jurewicz)
Original Redmine Issue: 17813
Affected QGIS version: master
Redmine category:unknown


I install fresh master build today and there is new problem with performance of QGIS. Some actions like zooming, deleting layers, changing layer settings hang QGIS for very long time (10 - 30 s) and sometimes it just hangs for forever.


@qgib
Copy link
Contributor Author

qgib commented Jan 8, 2018

Author Name: Michal Jurewicz (Michal Jurewicz)


Today I confirmed that problem is with new version of QGIS master. Older version (2017-12-08) installed with Macports works just fine.

@qgib
Copy link
Contributor Author

qgib commented Jan 14, 2018

Author Name: Michal Jurewicz (Michal Jurewicz)


I manage to capture error message when I made force quit of hanged QGIS. I attached it to that post.


  • 11929 was configured as Error Message.txt

@qgib
Copy link
Contributor Author

qgib commented Jan 14, 2018

Author Name: Michal Jurewicz (Michal Jurewicz)


I just checked what messages QGIS shows when hanging on terminal. It shows these lines:

../src/core/qgsmessagelog.cpp: 27: (logMessage) [301ms] 2018-01-14T08:39:29 Qt[1] Could not parse stylesheet of object 0x7f94d2df2eb0
Warning: Could not parse stylesheet of object 0x7f94d2e039b0
../src/core/qgsmessagelog.cpp: 27: (logMessage) [1ms] 2018-01-14T08:39:29 Qt[1] Could not parse stylesheet of object 0x7f94d2e039b0
Warning: Could not parse stylesheet of object 0x7f94d2df2eb0
../src/core/qgsmessagelog.cpp: 27: (logMessage) [11ms] 2018-01-14T08:39:29 Qt[1] Could not parse stylesheet of object 0x7f94d2df2eb0
Warning: Could not parse stylesheet of object 0x7f94d2e039b0
../src/core/qgsmessagelog.cpp: 27: (logMessage) [0ms] 2018-01-14T08:39:29 Qt[1] Could not parse stylesheet of object 0x7f94d2e039b0
../src/providers/wms/qgswmsprovider.cpp: 3314: (getLegendGraphicFullURL) [269ms] getLegendGraphic url is empty
../src/providers/wms/qgswmsprovider.cpp: 3314: (getLegendGraphicFullURL) [0ms] getLegendGraphic url is empty
../src/providers/wms/qgswmsprovider.cpp: 3314: (getLegendGraphicFullURL) [99ms] getLegendGraphic url is empty
../src/providers/wms/qgswmsprovider.cpp: 3314: (getLegendGraphicFullURL) [0ms] getLegendGraphic url is empty
../src/gui/qgsmapcanvas.cpp: 483: (refresh) [24488ms] CANVAS refresh scheduling
../src/gui/qgsmapcanvas.cpp: 477: (refresh) [4ms] CANVAS refresh already scheduled

@qgib
Copy link
Contributor Author

qgib commented Jan 16, 2018

Author Name: Michal Jurewicz (Michal Jurewicz)


I made additional tests and I rather confirm that it's a problem with current QGIS master code.

Native MacOS High Sierra 10.13.2 with fresh QGIS master build installed via homebrew formula - problem occurs
Native MacOS High Sierra 10.13.2 with master build (version from 2018-01-10) installed via MacPort - problem occurs
Native MacOS High Sierra 10.13.2 with master build (version from 2017-12-27) installed via MacPort - works just fine!!!. All installed dependencies are the same.

Some change made between 2017-12-27 and 2018-01-10 causes a problem.

I also made similar comparison on fresh virtualised MacOS 10.13.2 and results are the same.
However current master installed on virtualised Windows 10 works fine.

@qgib
Copy link
Contributor Author

qgib commented Jan 24, 2018

Author Name: Nyall Dawson (@nyalldawson)


Is this still an issue on current master? There's been a number of possible fixes implemented


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jan 24, 2018

Author Name: Salvatore Larosa (@slarosa)


Just done a test with the latest master and I can confirm the bug. I only am trying to change symbology to vector layer.

@qgib
Copy link
Contributor Author

qgib commented Jan 24, 2018

Author Name: Michal Jurewicz (Michal Jurewicz)


I can't try current master, because homebrew formula for installing qgis3-dev is completely broken now. However person who maintain QGIS ports on MacPorts confirm that the problem is still there: https://trac.macports.org/ticket/55696#comment:5

@qgib
Copy link
Contributor Author

qgib commented Jan 25, 2018

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


FYI, it's looking like Qt5.10 has a regression impacting QGIS, causing hangs n crashes. Denis, aka 3nids, is trying to further confirm that suspicion.

@qgib
Copy link
Contributor Author

qgib commented Jan 26, 2018

Author Name: Nyall Dawson (@nyalldawson)


Duplicate of #25812


  • resolution was changed from to duplicate
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Jan 26, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Regression Something which used to work, but doesn't anymore labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant