Skip to content

Don't set the geodiff logger callback on Intel macOS, because there it freezes QGIS. - #330

Merged
MarcelGeo merged 1 commit into
masterfrom
fix/issue-956-macos-intel-freeze
Oct 19, 2026
Merged

MarcelGeo merged 1 commit into
masterfrom
fix/issue-956-macos-intel-freeze

Conversation

@harminius

Copy link
Copy Markdown
Contributor

Related MerginMaps/qgis-plugin#956
The plugin fix ^ avoid QGIS crash but makes QGIS to freeze

To hand our Python logger to geodiff, ctypes has to build a small piece of code while the program runs. The official QGIS build for macOS doesn't allow that. On Intel Macs, the library ctypes relies on keeps retrying forever instead of giving up, so QGIS freezes at high CPU. Apple Silicon Macs aren't affected.

The freeze was hidden behind a crash: QGIS used to be killed earlier, while loading geodiff. MerginMaps/qgis-plugin#957 fixes that crash, and then the plugin froze on the first project download or sync.

On Intel Macs, geodiff messages no longer go to client-log.txt; geodiff still prints its errors to stderr. The check also covers the command-line client on Intel Macs, where callbacks would work fine.

@harminius
harminius requested a review from MarcelGeo October 16, 2026 13:06
@MarcelGeo
MarcelGeo merged commit f37e56b into master Oct 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants