Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.3.1, 6.4.1
-
None
-
Python 3.8
Qt 6.4.1 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) [limited API]
-
-
1270a9e82e5bc3bd53a1131698ece60403da1192, 15ccf2484 (dev), e42f576bf (6.4), cec835ba1 (tqtc/lts-6.2), 46ab90a5f (dev), afffc5838 (6.5), 9529690b4 (dev), 1d429a7b5 (6.7), eaff347f5 (6.6), c777151d2 (tqtc/lts-6.5), 279658b85 (dev), 66a58efd8 (6.7)
Description
Program crashes with an "access violation" error when running the attached script:
Python 3.8
Qt 6.4.1 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) [limited API]
Windows fatal exception: access violation
Current thread 0x00002388 (most recent call first):
File ".\testthreads.py", line 32 in <module>
If the script is changed so that `obj = A()` instead of `obj = B()`, the crash does not occur.
This also occurs if the `c` object is used (for example emitting the signal), as long as the operation is not blocking (in our case it emits a queued signal) or the target thread is congested.
Linux
Out of memory in QtCore/qarraydatapointer.h, line 215
Attachments
Issue Links
- relates to
-
PYSIDE-2646 [REG: 6.2->6.5] Connections to lambda or nested function prevent destruction of objects they refer to
- Closed
- resulted in
-
PYSIDE-2299 REG->6.5: Memory/Reference Leak with connecting signals to lambda functions referencing "self"
- Closed
-
PYSIDE-2371 REG->6.5: Memory leak connecting signal to local function
- Closed
For Gerrit Dashboard: PYSIDE-2141 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
447214,2 | libpyside: Improve class documentation of GlobalReceiverV2 | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
447215,5 | Fix a crash when deleting QObject instances with connections in threads | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
447286,2 | libpyside: Improve class documentation of GlobalReceiverV2 | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
447288,2 | libpyside: Improve class documentation of GlobalReceiverV2 | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
447571,3 | libpyside: Potential fix for crashing signals/disconnect_test.py | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
487671,5 | PySide6/SignalManager: Fix memory leaks connecting free methods/lambdas | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
488261,2 | PySide6/SignalManager: Fix memory leaks connecting free methods/lambdas | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
550981,2 | libpyside: Fix spelling error in function name | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
551018,2 | libpyside: Fix spelling error in function name | 6.7 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
551078,2 | libpyside: Fix spelling error in function name | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
551144,2 | libpyside: Fix spelling error in function name | tqtc/lts-6.5 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
551913,7 | libpyside/Signal manager: Ensure cleanup of main thread targets | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
552276,2 | libpyside/Signal manager: Ensure cleanup of main thread targets | 6.7 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
563468,3 | libpyside/Signal manager: Ensure cleanup of main thread targets | tqtc/lts-6.5 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | +1 |