-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Closing "Measure Bearing" or "Measure Angle" results dialog causes crash #46151
Comments
Not sure if this is related to the closed issue: Closing "measure angle" causes crash on multiple displays #23504 |
I also tried with a new user profile and see the same problems. Sorry for forgetting this step initially. |
@thayeray tried many times, but I wasn't able to make QGIS crash. This may be related to some other detail, like the project CRS. |
Can you also attach the crash's stack trace? |
Thanks for your attention to this. @gioman I am not using multiple displays, but the issue seems to be the same/similar. For most of my testing I have been either measuring on a blank canvas which usually results in 'NaN' for the measurements, or adding OSM Standard from QuickMapServices so the project CRS is 4326 or 3857. For the older version 3.14 I added a layer in 2893 to a blank canvas. My system is older MacOS 10.13.6, my MacBook Pro Mid 2014 is vintage, but not yet obsolete. @uclaros sample MacOS crash report is attached for both tools. This is from the current MacOS build of latest release (3.22.1): |
So this is probably a macOS only issue (I cannot replicate on Windows or Linux). |
Weird, a blank canvas still has a CRS and it still shows a measurement on Windows and Linux. |
I can confirm this bug is still present in QGIS V3.26.1 I am having the same issue in where if I open the measure bearing tool, then click the 'close' button or the 'X' it crashes QGIS. This is using Mac OS Monterey, V12.5 on an Intel based 2019 MacBook Pro.
QGIS version Active Python plugins |
I've had this problem for a while / several versions. Still happening now with macOS Ventura 13.2, and QGIS 3.28.2-Firenze. I get around it by not closing the dialog window when in angle or bearing mode. I can switch to "Measure Line" mode, and then I can safely close the dialog window without crashing. I can also confirm this only happens on my Mac (M1 Macbook Air), and not on Windows. |
Sill happening on 3.30.3-'s-Hertogenbosch with macOS 13.4 (iMac M1, 2021). I don't have a Windows so I can't say for this OS. Also, the advanced |
I am also encountering this issue. My current config in which the crash occurs:
|
I also get this on my MacBook M1 Max. Start measuring bearing, press Esc, it crashes. QGIS 3.30.2 |
Also on Mac using latest QGIS version: |
I’m befuddled as to why this hasn’t been fixed for such a long time. It’s quite a deleterious bug.
For those interested, the only workaround I’ve found is to just click on the map for your second point (for bearing) or third point (for angle), then, instead of hitting cancel or closing the window, you hit Escape. Alternatively, instead of Escape, you can switch the tool to Measure Line (or Area), then hit cancel or close the window.
But seriously.
… On Nov 25, 2023, at 03:02, Jesper Henrichsen ***@***.***> wrote:
Also on Mac using latest QGIS version: 3.34.0-Prizren either closing angle measure or bearing measure will crash QGIS. Not sure what the best approach for an error report as its not mentioned to get a stack trace on mac in the docs: https://qgis.org/en/site/getinvolved/development/bugreporting.html
—
Reply to this email directly, view it on GitHub <#46151 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIXLFORNUDALSTJCHP2Q43DYGG633AVCNFSM5IQBYHEKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBSGYZDOMBUHA4A>.
You are receiving this because you commented.
|
I received this problem report. |
The same is happening for me. When I close the direction measurement window QGIS crashes every time. Here my specs: Note from crash report: Hope this will be fixed in the future. |
Could someone building QGIS on a mac confirm that #56202 resolves the issue? |
This does not fix the problem on my machine. I tried QGIS version 3.33.0-Master QGIS code revision 94d2f85, which I downloaded on 2/7/2024 from the QGIS-Mac-Packager repository of the QGIS Github page. I tried both measure angle and measure bearing with a user with all plugins turned off, and each time I tried to close the tool dialog, IT CRASHED QGIS every time. Please reopen this issue it is not fixed. |
@thayeray 3.33 is the wrong version. You need 3.35 |
I see now, the Mac-Packager stopped compiling nightlies back in August, didn't notice that it says passing but it doesn't say the date. I'll check this on Feb 24 when the PR comes out. |
Thanks! Closing the angle or bearing measurement tool no longer crashes QGIS in the PR! |
Thanks for the confirmation @thayeray ! |
What is the bug or the crash?
Using the "close" button on either the Measure Angle or Measure Bearing results dialog causes QGIS to crash. The close button for the Measure Bearing tool seems to always cause a crash. The Measure Angle tool may close correctly once or twice but the third time usually causes a crash. Note that the "red circle x" button does not cause a crash.****
Steps to reproduce the issue
a. The results dialog appears, with the measurement
Versions
Both LTR (3.16.14) and current release (3.22.1).
3.14-Pi also crashes when closing the measure angle tool with the "red circle x" button, not the "Close" button.
Supported QGIS version
New profile
Additional context
Note this is all with the MacOS standard installers from QGIS.org.
The text was updated successfully, but these errors were encountered: