qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.6k stars 3.01k forks source link

Advanced Digitizing Crash #56990

Open rougerouter opened 7 months ago

rougerouter commented 7 months ago

What is the bug or the crash?

User Feedback

Trying to set the coordinates in properties because the advanced editing tool doesn't work.

Report Details

Python Stack Trace

Windows fatal exception: access violation

Thread 0x00001ae4 (most recent call first):
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\multiprocessing\connection.py", line 305 in _recv_bytes
    waitres = _winapi.WaitForMultipleObjects(
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\multiprocessing\connection.py", line 250 in recv
    buf = self._recv_bytes()
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\multiprocessing\pool.py", line 576 in _handle_results
    task = get()
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\threading.py", line 917 in run
    self._target(*self._args, **self._kwargs)
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\threading.py", line 980 in _bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\threading.py", line 937 in _bootstrap
    self._bootstrap_inner()

Thread 0x00002aa0 (most recent call first):
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\multiprocessing\pool.py", line 528 in _handle_tasks
    for taskseq, set_length in iter(taskqueue.get, None):
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\threading.py", line 917 in run
    self._target(*self._args, **self._kwargs)
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\threading.py", line 980 in _bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\threading.py", line 937 in _bootstrap
    self._bootstrap_inner()

Thread 0x00004b58 (most recent call first):
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\multiprocessing\connection.py", line 811 in _exhaustive_wait
    res = _winapi.WaitForMultipleObjects(L, False, timeout)
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\multiprocessing\connection.py", line 879 in wait
    ready_handles = _exhaustive_wait(waithandle_to_obj.keys(), timeout)
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\multiprocessing\pool.py", line 499 in _wait_for_updates
    wait(sentinels, timeout=timeout)
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\multiprocessing\pool.py", line 519 in _handle_workers
    cls._wait_for_updates(current_sentinels, change_notifier)
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\threading.py", line 917 in run
    self._target(*self._args, **self._kwargs)
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\threading.py", line 980 in _bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~2.0\apps\Python39\lib\threading.py", line 937 in _bootstrap
    self._bootstrap_inner()

Current thread 0x000035ec (most recent call first):
<no Python frame>

Stack Trace


QVariantAnimation::updateCurrentTime :
QVariantAnimation::endValue :
QPropertyAnimation::updateState :
QUnifiedTimer::setSlowdownFactor :
QFocusFrame::trUtf8 :
QDockWidgetLayout::wmSupportsNativeWindowDeco :
QTabBarPrivate::~QTabBarPrivate :
QTabBarPrivate::isAnimated :
QLayoutPrivate::doResize :
QLayout::activate :
QWidgetPrivate::setVisible :
QWidget::setVisible :
QObject::qt_static_metacall :
QAction::activate :
QMenu::actionGeometry :
QMenu::actionGeometry :
QMenu::mouseReleaseEvent :
QWidget::event :
QMenu::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info QGIS Version: 3.36.0-Maidenhead QGIS code revision: 09951dc0 Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.8.4 Running against GDAL: 3.8.4

System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.22631

Steps to reproduce the issue

Tried to turn on advanced digitizing after I reopened it. I set everything to SP coordinates and reopened and it got stuck. So I stopped it.

Versions

3.36.0

Supported QGIS version

New profile

Additional context

No response

GreggHales commented 7 months ago

Hey Rouge, have you got anywhere with this yet? We have a client using QGIS with the exact same Python stack trace codes, and trying to track down what if anything has been altered or updated on their computer. Crashing only started a day or so ago. Crashes QGIS about 10 to 15 minutes after starting each time.

Gregg

elpaso commented 7 months ago

Did you try with a new profile ?

GreggHales commented 7 months ago

Ah, no, will give that a try, and see if that makes any difference. You found that worked for you? I am not actually familiar with QGIS, but I assume you mean a Windows profile? I know that will fix many other Microsoft problems that occur, never thought of that in this situation. Thank you so much, will see how we go.

Gregg

From: Alessandro Pasotti @.> Sent: Thursday, April 11, 2024 4:39 PM To: qgis/QGIS @.> Cc: Gregg Hales @.>; Manual @.> Subject: Re: [qgis/QGIS] Advanced Digitizing Crash (Issue #56990)

Did you try with a new profile ?

— Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/56990#issuecomment-2049017927, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJLJLJAOIX7RXYR3HICFSJTY4YVYRAVCNFSM6AAAAABFLHGKICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBZGAYTOOJSG4. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

CAUTION: As this email is from an external source, please do not follow links, instructions or open file attachments, unless you recognise the sender and know the content is authentic and safe.

rougerouter commented 7 months ago

Hi Gregg, I have arcmap and ark pro installed along with qgis I'm not sure what this is related to anymore but I'll take a look at the the thread as soon as I get a chance. Python gets a little confused when you have as Esri products on it with qgis let me check on this and I'll get back to you probably won't be today I have to go out in the field. I would start by checking the environmental paths and make sure those are correct.

On Wed, Apr 10, 2024, 10:52 PM GreggHales @.***> wrote:

Hey Rouge, have you got anywhere with this yet? We have a client using QGIS with the exact same Python stack trace codes, and trying to track down what if anything has been altered or updated on their computer. Crashing only started a day or so ago. Crashes QGIS about 10 to 15 minutes after starting each time.

Gregg

— Reply to this email directly, view it on GitHub https://github.com/qgis/QGIS/issues/56990#issuecomment-2048843122, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABASMDDBZICVA3CDZJARRELY4X3GNAVCNFSM6AAAAABFLHGKICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYHA2DGMJSGI . You are receiving this because you authored the thread.Message ID: @.***>

GreggHales commented 7 months ago

Hey thanks for that Rouge, Yeah, well QGIS is all new to me, normally a hardware guy, but a client has the problem and trying to help figure it out for them. Will pass that info on, and see it helps at all. If you find anything else, give me a shout. Thanks for getting back to me so quickly too. Appreciate it.

Gregg

From: Rouge @.> Sent: Thursday, April 11, 2024 8:05 PM To: qgis/QGIS @.> Cc: Gregg Hales @.>; Manual @.> Subject: Re: [qgis/QGIS] Advanced Digitizing Crash (Issue #56990)

Hi Gregg, I have arcmap and ark pro installed along with qgis I'm not sure what this is related to anymore but I'll take a look at the the thread as soon as I get a chance. Python gets a little confused when you have as Esri products on it with qgis let me check on this and I'll get back to you probably won't be today I have to go out in the field. I would start by checking the environmental paths and make sure those are correct.

On Wed, Apr 10, 2024, 10:52 PM GreggHales @.<mailto:@.>> wrote:

Hey Rouge, have you got anywhere with this yet? We have a client using QGIS with the exact same Python stack trace codes, and trying to track down what if anything has been altered or updated on their computer. Crashing only started a day or so ago. Crashes QGIS about 10 to 15 minutes after starting each time.

Gregg

— Reply to this email directly, view it on GitHub https://github.com/qgis/QGIS/issues/56990#issuecomment-2048843122, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABASMDDBZICVA3CDZJARRELY4X3GNAVCNFSM6AAAAABFLHGKICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYHA2DGMJSGI . You are receiving this because you authored the thread.Message ID: @.<mailto:@.>>

— Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/56990#issuecomment-2049352114, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJLJLJAHD4KA7FW5CT2JR6TY4ZN4NAVCNFSM6AAAAABFLHGKICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBZGM2TEMJRGQ. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

CAUTION: As this email is from an external source, please do not follow links, instructions or open file attachments, unless you recognise the sender and know the content is authentic and safe.

DelazJ commented 7 months ago

Did you try with a new profile ?

I am not actually familiar with QGIS, but I assume you mean a Windows profile?

@GreggHales, @elpaso was referring to QGIS user profile, a check suggested in the issue template above.

rougerouter commented 7 months ago

Ok this I believe is about M and Z values. I am not at my computer right now, but there is a QGIS tool I used to reset the M and Z values. I had this issue because I was using my ArcGIS data and M and Z were set there. M is linear for routing and Z is for elevation. Try using the reset tools and see if that helps. Happy Mapping!

On Wed, Apr 10, 2024, 10:52 PM GreggHales @.***> wrote:

Hey Rouge, have you got anywhere with this yet? We have a client using QGIS with the exact same Python stack trace codes, and trying to track down what if anything has been altered or updated on their computer. Crashing only started a day or so ago. Crashes QGIS about 10 to 15 minutes after starting each time.

Gregg

— Reply to this email directly, view it on GitHub https://github.com/qgis/QGIS/issues/56990#issuecomment-2048843122, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABASMDDBZICVA3CDZJARRELY4X3GNAVCNFSM6AAAAABFLHGKICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYHA2DGMJSGI . You are receiving this because you authored the thread.Message ID: @.***>

rougerouter commented 7 months ago

Also I am switching all my utilities to Diamond Maps. diamondmaps.com. Awesome platform for utilities and data collection and very inexpensive. Edit live online. The two guys building this are brilliant! They are making my mapping dream come true. I help them a bit with testing. Check it out! I get nothing, just promoting great GIS stuff! Tom

On Wed, Apr 10, 2024, 10:52 PM GreggHales @.***> wrote:

Hey Rouge, have you got anywhere with this yet? We have a client using QGIS with the exact same Python stack trace codes, and trying to track down what if anything has been altered or updated on their computer. Crashing only started a day or so ago. Crashes QGIS about 10 to 15 minutes after starting each time.

Gregg

— Reply to this email directly, view it on GitHub https://github.com/qgis/QGIS/issues/56990#issuecomment-2048843122, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABASMDDBZICVA3CDZJARRELY4X3GNAVCNFSM6AAAAABFLHGKICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYHA2DGMJSGI . You are receiving this because you authored the thread.Message ID: @.***>