Any idea how to track this issue?  Does not indicate any lines in my code.  
Happens after I click on Rectangle from Extent in the Shape Digitizing Toolbar. 
 My code automatically triggers the Add Polygon Feature in the Digitizing 
Toolbar and Selects Digitize with Segment so that the user can choose to just 
digitize a polygon segment as the default drawing.  Plus selecting Add Polygon 
Feature is what enables the Digitizing Toolbar so they can also they can choose 
to draw Rectangle from Extent.

Python Stack Trace
Windows fatal exception: access violation

Thread 0x00006c54 (most recent call first):
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\ipcjson.py", line 
113 in _buffered_read_line_as_ascii
    temp = self.__socket.recv(1024)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\ipcjson.py", line 
154 in _wait_for_message
    line = self._buffered_read_line_as_ascii()
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\ipcjson.py", line 
272 in process_one_message
    self._wait_for_message()
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\ipcjson.py", line 
258 in process_messages
    self.process_one_message()
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\wrapper.py", line 
521 in process_messages
    self.process_messages()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 917 in run
    self._target(*self._args, **self._kwargs)
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 980 in 
_bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 937 in 
_bootstrap
    self._bootstrap_inner()
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\_pydev_bundle\pydev_monkey.py",
 line 667 in __call__
    ret = self.original_func(*self.args, **self.kwargs)

Thread 0x0000129c (most recent call first):
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 316 in wait
    gotit = waiter.acquire(True, timeout)
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 581 in wait
    signaled = self._cond.wait(timeout)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\futures.py", line 
122 in run_forever
    if not self._event.wait(timeout=0.1):
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 917 in run
    self._target(*self._args, **self._kwargs)
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 980 in 
_bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 937 in 
_bootstrap
    self._bootstrap_inner()
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\_pydev_bundle\pydev_monkey.py",
 line 667 in __call__
    ret = self.original_func(*self.args, **self.kwargs)

Thread 0x00003744 (most recent call first):
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\pydevd.py",
 line 199 in _on_run
    time.sleep(0.3)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\_pydevd_bundle\pydevd_comm.py",
 line 149 in run
    self._on_run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 980 in 
_bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 937 in 
_bootstrap
    self._bootstrap_inner()

Thread 0x00009dec (most recent call first):
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 316 in wait
    gotit = waiter.acquire(True, timeout)
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 581 in wait
    signaled = self._cond.wait(timeout)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\pydevd.py",
 line 171 in _on_run
    self._py_db_command_thread_event.wait(0.3)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\_pydevd_bundle\pydevd_comm.py",
 line 149 in run
    self._on_run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 980 in 
_bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 937 in 
_bootstrap
    self._bootstrap_inner()

Thread 0x0000949c (most recent call first):
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\wrapper.py", line 
168 in recv
    data = os.read(pipe_r, count)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\_pydevd_bundle\pydevd_comm.py",
 line 248 in _read_line
    r = self.sock.recv(1024)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\_pydevd_bundle\pydevd_comm.py",
 line 262 in _on_run
    line = self._read_line()
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\_pydevd_bundle\pydevd_comm.py",
 line 149 in run
    self._on_run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 980 in 
_bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 937 in 
_bootstrap
    self._bootstrap_inner()

Thread 0x00003738 (most recent call first):
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 316 in wait
    gotit = waiter.acquire(True, timeout)
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\queue.py", line 180 in get
    self.not_empty.wait(remaining)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\_pydevd_bundle\pydevd_comm.py",
 line 362 in _on_run
    cmd = self.cmdQueue.get(1, 0.1)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_vendored\pydevd\_pydevd_bundle\pydevd_comm.py",
 line 149 in run
    self._on_run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 980 in 
_bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 937 in 
_bootstrap
    self._bootstrap_inner()

Thread 0x00003798 (most recent call first):
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 312 in wait
    waiter.acquire()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 581 in wait
    signaled = self._cond.wait(timeout)
  File 
"C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\site-packages\ptvsd\_remote.py", line 
37 in wait_for_connection
    session_not_bound.wait()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 917 in run
    self._target(*self._args, **self._kwargs)
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 980 in 
_bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~1.4\apps\Python39\lib\threading.py", line 937 in 
_bootstrap
    self._bootstrap_inner()

Current thread 0x0000332c (most recent call first):



Stack Trace

PyFunction_Vectorcall :
PyVectorcall_Call :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QObject::qt_static_metacall :
QAction::activate :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QToolButton::mouseReleaseEvent :
QWidget::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.34.4-Prizren
QGIS code revision: decd43dc
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.19045
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to