SkyLined / BugId

Detect, analyze and uniquely identify crashes in Windows applications
https://bugid.skylined.nl
Other
499 stars 90 forks source link

Fatal exceptions.AttributeError Exception #115

Closed jplopezy closed 1 year ago

jplopezy commented 1 year ago
┌──[ Fatal exceptions.AttributeError Exception ]
│ NoneType instance has no attribute sTypeName:
│
│ Local variables:
│   oRegistryHiveKey = <cRegistryHiveKey HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AEDebug>(#778E5C0)
│   oRegistryValue = None
│
│ Stack for thread 11124/0x2B74 (cThread#7600C18{main = cHelperThread.__fRun, #11124, running}):
│ ─┐ __fMainWrapper @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\modules\mMultiThreading\cThread.py/110
│  │ 109:    try:
│  │ 110:      oSelf.__fMain(*oSelf.__txArguments, **oSelf.__dxArguments);
│  ├─┐ __fRun @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\modules\cBugId\cHelperThread.py/75
│  │ │ 74:        cException, oException, oTraceBack = sys.exc_info();
│  │ │ 75:        if not oSelf.__oCdbWrapper.fbFireCallbacks("Internal exception", oSelf.__oThread, oException, oTraceBack):
│  │ ├─┐ cCdbWrapper?.fbFireCallbacks @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\modules\mMultiThreading\cWithCallbacks.py/81
│  │ │ │ 80:      fShowDebugOutput("  -> %s%s" % (repr(fCallback), " (fire once)" if bFireOnce else ""));
│  │ │ │ 81:      fCallback(oSelf, *txArguments, **dxArguments);
│  │ │ ├─┐ <lambda> @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\modules\cBugId\cBugId.py/171
│  │ │ │ │ 170:      sEventName,
│  │ │ │ │ 171:      lambda oCdbWrapper, *txArguments: fCallback(oBugId, *txArguments), # replace oCdbWrapper with oBugId
│  │ │ │ ├─┐ fInternalExceptionCallback @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\BugId.py/125
│  │ │ │ │ │ 124:      gbAnInternalErrorOccured = True;
│  │ │ │ │ │ 125:      fSaveInternalExceptionReportAndExit(oException, oTraceBack);
│  │ │ │ │ ├─┐ fSaveInternalExceptionReportAndExit @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\BugId.py/128
│  │ │ │ │ │ │ 127:    def fSaveInternalExceptionReportAndExit(oException, oTraceBack):
│  │ │ │ │ │ │ 128:      fPrintExceptionInformation(oException, oTraceBack);
│  │ │ │ │ │ ├─┐ fPrintExceptionInformation @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\fPrintExceptionInformation.py/31
│  │ │ │ │ │ │ │ 30:      bCheckAndShowLicenses = False,
│  │ │ │ │ │ │ │ 31:      bShowInstallationFolders = False,
│  │ │ │ │ │ │ ├─┐ fPrintVersionInformation @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\fPrintVersionInformation.py/129
│  │ │ │ │ │ │ │ │ 128:    );
│  │ │ │ │ │ │ │ │ 129:    xCurrentJITDebuggerCommandLine = fxGetCurrentJITDebuggerCommandLine();
│  │ │ │ │ │ │ │ ├─┐ fxGetCurrentJITDebuggerCommandLine @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\fxGetCurrentJITDebuggerCommandLine.py/21
│  │ │ │ │ │ │ │ │ │ 20:    return False;
│  │ │ │ │ │ │ │ │ │ 21:  if oRegistryValue.sTypeName != "REG_SZ":
│  │ │ │ │ │ │ │ ├─┘ ==► AttributeError("'NoneType' object has no attribute 'sTypeName'")
│  │ │ │ │ │ │ │ │ fPrintVersionInformation @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\fPrintVersionInformation.py/203
│  │ │ │ │ │ │ │ │ 202:  finally:
│  │ │ │ │ │ │ │ │ 203:    oConsole.fUnlock();
│  │ │ │ │ │ │ ├─┘     oConsole.fUnlock();
│  │ │ │ │ │ │ │ fPrintExceptionInformation @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\fPrintExceptionInformation.py/35
│  │ │ │ │ │ │ │ 34:  finally:
│  │ │ │ │ │ │ │ 35:    oConsole.fUnlock();
│  │ ├─┴─┴─┴─┴─┘     oConsole.fUnlock();
│  │ │ __fRun @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\modules\cBugId\cHelperThread.py/89
│  │ │ 88:              "Could not terminate cdb";
│  │ │ 89:        oSelf.__oCdbWrapper.bCdbRunning = False;
│  ├─┘         oSelf.__oCdbWrapper.bCdbRunning = False;
│  │ __fMainWrapper @ C:\Users\test\Downloads\BugId.release.2021-10-25.12.00\modules\mMultiThreading\cThread.py/124
│  │ 123:          ],
│  │ 124:        ] + oSelf.__oCreateCallStack.faasCreateConsoleOutput(bAddHeader = False)
│ ─┘         ] + oSelf.__oCreateCallStack.faasCreateConsoleOutput(bAddHeader = False)
└
SkyLined commented 1 year ago

Your version of BugId appears to be more than 1 year old. Can you try with the latest version?

maxcoderrrr commented 1 year ago

I am running into the same bug. It occurs in the latest version of BugId that works with Python 2.

SkyLined commented 1 year ago

@maxcoderrrr that does not appear to be the same bug.

SkyLined commented 1 year ago

@maxcoderrrr apologies, I misread your comment.

BugId no longer supports Python 2. This issue does not appear to exist in the latest version of BugId.

Let me know if this bug can be triggered in the latest.