Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2455

Windows: Pyside6 crash (inheritance issue)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.5.2, 6.5.1
    • PySide
    • None

    Description

      I got a crash in my app. It only happens when using pyinstaller. It happens every time I start it, shortly after. I tried changing to 6.2.2 , 6.2.0 , 6.5.2. Doesn't matter.  

       

      PROCESS_NAME:  compare-my-stocks.exe
      ERROR_CODE: (NTSTATUS) 0xc0000409 - The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.
      SYMBOL_NAME:  Qt6Core+18
      MODULE_NAME: Qt6Core
      IMAGE_NAME:  Qt6Core.dll
      FAILURE_BUCKET_ID:  FAIL_FAST_FATAL_APP_EXIT_c0000409_Qt6Core.dll!
      Unknown
      FAILURE_ID_HASH:  {989712d6-2cd1-3097-8b54-099b7cd8a9ed}
      Followup:     MachineOwner
       
      :000> k
       # Child-SP          RetAddr               Call Site
      00 000000ec`fe3e7a60 00007ff8`adc797d3     Qt6Core!qAbort+0x18
      01 000000ec`fe3e7a90 00007ff8`addbc758     Qt6Core!QMessageLogger::fatal+0x73
      02 000000ec`fe3e7b00 00007ff8`ad92b898     Qt6Core!QThread::~QThread+0xf8
      03 000000ec`fe3e7b70 00007ff8`ad8e6978     QtCore!PyInit_QtCore+0x2725c
      04 000000ec`fe3e7ba0 00007ff8`be760701     QtCore+0x16978
      05 000000ec`fe3e7bd0 00007ff8`b7105808     shiboken6_abi3!SbkDeallocWrapper+0x341
      06 (Inline Function) --------`--------     python39!_Py_Dealloc+0x7 [D:\_w\1\s\Objects\object.c @ 2209] 
      07 (Inline Function) --------`--------     python39!_Py_DECREF+0xcb [D:\_w\1\s\Include\object.h @ 430] 
      08 (Inline Function) --------`--------     python39!_Py_XDECREF+0xd0 [D:\_w\1\s\Include\object.h @ 497] 
      09 (Inline Function) --------`--------     python39!free_keys_object+0x112 [D:\_w\1\s\Objects\dictobject.c @ 598] 
      0a (Inline Function) --------`--------     python39!dictkeys_decref+0x11c [D:\_w\1\s\Objects\dictobject.c @ 333] 
      0b 000000ec`fe3e7c70 00007ff8`be752014     python39!dict_dealloc+0x198 [D:\_w\1\s\Objects\dictobject.c @ 2026] 
      0c 000000ec`fe3e7cb0 00007ff8`be7606df     shiboken6_abi3!Shiboken::currentThreadId+0x114
      0d 000000ec`fe3e7ce0 00007ff8`b7105314     shiboken6_abi3!SbkDeallocWrapper+0x31f
      0e 000000ec`fe3e7d80 00007ff8`b70ee1ba     python39!subtype_dealloc+0x1c4 [D:\_w\1\s\Objects\typeobject.c @ 1337] 
      0f (Inline Function) --------`--------     python39!_Py_Dealloc+0x7 [D:\_w\1\s\Objects\object.c @ 2209] 
      10 (Inline Function) --------`--------     python39!_Py_DECREF+0x1da [D:\_w\1\s\Include\object.h @ 430] 
      11 (Inline Function) --------`--------     python39!_Py_XDECREF+0x1dc [D:\_w\1\s\Include\object.h @ 497] 
      12 000000ec`fe3e7e10 00007ff8`b70ed65d     python39!insertdict+0x4aa [D:\_w\1\s\Objects\dictobject.c @ 1123] 
      13 (Inline Function) --------`--------     python39!PyDict_SetItem+0x58 [D:\_w\1\s\Objects\dictobject.c @ 1573] 
      14 (Inline Function) --------`--------     python39!_PyObjectDict_SetItem+0x96 [D:\_w\1\s\Objects\dictobject.c @ 4830] 
      15 000000ec`fe3e7e90 00007ff8`ad4b1627     python39!_PyObject_GenericSetAttrWithDict+0x19d [D:\_w\1\s\Objects\object.c @ 1339] 
      16 000000ec`fe3e7f10 00007ff8`b70b82c7     QtWidgets!PyInit_QtWidgets+0x152ddb
      17 000000ec`fe3e7f50 00007ff8`b70af984     python39!_PyEval_EvalFrameDefault+0x7267 [D:\_w\1\s\Python\ceval.c @ 2435] 
      18 (Inline Function) --------`--------     python39!_PyEval_EvalFrame+0x13 [D:\_w\1\s\Include\internal\pycore_ceval.h @ 40] 
      19 (Inline Function) --------`--------     python39!function_code_fastcall+0xe4 [D:\_w\1\s\Objects\call.c @ 330] 
      1a 000000ec`fe3e8260 00007ff8`b70b2883     python39!_PyFunction_Vectorcall+0x174 [D:\_w\1\s\Objects\call.c @ 367] 
      1b 000000ec`fe3e8360 00007ff8`b70a9177     python39!_PyEval_EvalFrameDefault+0x1823 [D:\_w\1\s\Python\ceval.c @ 3487] 
      1c (Inline Function) --------`--------     python39!_PyEval_EvalFrame+0x14 [D:\_w\1\s\Include\internal\pycore_ceval.h @ 40] 
      1d (Inline Function) --------`--------     python39!function_code_fastcall+0x102 [D:\_w\1\s\Objects\call.c @ 330] 
      1e (Inline Function) --------`--------     python39!_PyFunction_Vectorcall+0x166 [D:\_w\1\s\Objects\call.c @ 367] 
      1f (Inline Function) --------`--------     python39!_PyObject_VectorcallTstate+0x1a5 [D:\_w\1\s\Include\cpython\abstract.h @ 118] 
      20 000000ec`fe3e8670 00007ff8`b70b2883     python39!method_vectorcall+0x217 [D:\_w\1\s\Objects\classobject.c @ 53] 
      21 000000ec`fe3e87f0 00007ff8`b70ae0a3     python39!_PyEval_EvalFrameDefault+0x1823 [D:\_w\1\s\Python\ceval.c @ 3487] 
      22 (Inline Function) --------`--------     python39!_PyEval_EvalFrame+0x13 [D:\_w\1\s\Include\internal\pycore_ceval.h @ 40] 
      23 000000ec`fe3e8b00 00007ff8`b70afa67     python39!_PyEval_EvalCode+0x2b3 [D:\_w\1\s\Python\ceval.c @ 4327] 
      24 000000ec`fe3e8bd0 00007ff8`b70b2883     python39!_PyFunction_Vectorcall+0x257 [D:\_w\1\s\Objects\call.c @ 396] 
      25 000000ec`fe3e8cd0 00007ff8`b70ae0a3     python39!_PyEval_EvalFrameDefault+0x1823 [D:\_w\1\s\Python\ceval.c @ 3487] 
      26 (Inline Function) --------`--------     python39!_PyEval_EvalFrame+0x13 [D:\_w\1\s\Include\internal\pycore_ceval.h @ 40] 
      27 000000ec`fe3e8fe0 00007ff8`b70afa67     python39!_PyEval_EvalCode+0x2b3 [D:\_w\1\s\Python\ceval.c @ 4327] 
      28 000000ec`fe3e90b0 00007ff8`b70a55f1     python39!_PyFunction_Vectorcall+0x257 [D:\_w\1\s\Objects\call.c @ 396] 
      29 (Inline Function) --------`--------     python39!_PyObject_FastCallDictTstate+0x4d [D:\_w\1\s\Objects\call.c @ 118] 
      2a (Inline Function) --------`--------     python39!_PyObject_Call_Prepend+0x7b [D:\_w\1\s\Objects\call.c @ 489] 
      2b 000000ec`fe3e91b0 00007ff8`b70b31b0     python39!slot_tp_init+0x161 [D:\_w\1\s\Objects\typeobject.c @ 6943] 
      2c 000000ec`fe3e9270 00007ff8`b70ae0a3     python39!_PyEval_EvalFrameDefault+0x2150 [D:\_w\1\s\Python\ceval.c @ 3518] 
      2d (Inline Function) --------`--------     python39!_PyEval_EvalFrame+0x13 [D:\_w\1\s\Include\internal\pycore_ceval.h @ 40] 
      2e 000000ec`fe3e9580 00007ff8`b70b38e1     python39!_PyEval_EvalCode+0x2b3 [D:\_w\1\s\Python\ceval.c @ 4327] 
      2f 000000ec`fe3e9650 00007ff8`b70ae0a3     python39!_PyEval_EvalFrameDefault+0x2881 [D:\_w\1\s\Python\ceval.c @ 3504] 
      30 (Inline Function) --------`--------     python39!_PyEval_EvalFrame+0x13 [D:\_w\1\s\Include\internal\pycore_ceval.h @ 40] 
      31 000000ec`fe3e9960 00007ff8`b71068fd     python39!_PyEval_EvalCode+0x2b3 [D:\_w\1\s\Python\ceval.c @ 4327] 
      32 000000ec`fe3e9a30 00007ff8`b70fe9d3     python39!_PyEval_EvalCodeWithName+0xa9 [D:\_w\1\s\Python\ceval.c @ 4366] 
      33 000000ec`fe3e9ac0 00007ff8`b70fe931     python39!PyEval_EvalCodeEx+0x9b [D:\_w\1\s\Python\ceval.c @ 4382] 
      34 000000ec`fe3e9b50 00007ff6`72192693     python39!PyEval_EvalCode+0x2d [D:\_w\1\s\Python\ceval.c @ 832] 
      35 000000ec`fe3e9bc0 00007ff6`72192ad1     compare_my_stocks+0x2693
      36 000000ec`fe3eac30 00007ff6`7219a628     compare_my_stocks+0x2ad1
      37 000000ec`fe3efcb0 00007ff9`11d37614     compare_my_stocks+0xa628
      38 000000ec`fe3efcf0 00007ff9`122e26a1     KERNEL32!BaseThreadInitThunk+0x14
      39 000000ec`fe3efd20 00000000`00000000     ntdll!RtlUserThreadStart+0x21
       

      Crash dump :

       

      https://drive.google.com/file/d/1XEQMhtjsZxxCYay-R4e6h8lZCfyDO8fg/view?usp=sharing

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            eyalk5 eyal karni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes