Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.6.1
-
None
-
OSX El Capitan 10.11.4
Description
Application throw exception:
External Modification Warnings:
Debugger attached to process.
XCode version 7.3 (7D175)
ERROR: Lldb stderr: Exception in thread Thread-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self._target(*self.args, **self._kwargs)
File "/ApplicationPath/Qt/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 769, in loop
self.handleEvent(event)
File "/ApplicationPath/Qt/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 1409, in handleEvent
% self.hexencode(msg))
File "/ApplicationPath/Qt/Qt Creator.app/Contents/Resources/debugger/dumper.py", line 479, in hexencode
return s.encode("hex")
AttributeError: 'NoneType' object has no attribute 'encode'
/////////////////// FULL DEBUGGER LOG /////////////////
sStarting debugger "LldbEngine" for ABI "x86-macos-generic-mach_o-64bit"...
dStart parameters: 'Application' mode: 1
dABI: x86-macos-generic-mach_o-64bit
dLanguages: c++
dExecutable: /ApplicationPath/Application/Application_build/Application.app/Contents/MacOS/Application
dDirectory: /ApplicationPath/Application/Application_build/Application.app/Contents/MacOS
dDebugger: /Applications/Xcode.app/Contents/Developer/usr/bin/lldb
dProject: /ApplicationPath/Application/ApplicationAddtional Search Directories:
dRemote: :0
dSysroot:
dDebug Source Location:
dDebugger settings:
dBreakpointCorrection: true (default: true)
dIgnoreFirstChanceAccessViolation: false (default: false)
dTargetAsync: false (default: false)
dWarnOnReleaseBuilds: true (default: true)
dMultiInferior: false (default: false)
dIntelFlavor: false (default: false)
dGdbPostAttachCommands: (default: )
dWatchdogTimeout: 20 (default: 20)
dAutoEnrichParameters: true (default: true)
dUseDynamicType: true (default: true)
dShowStandardNamespace: true (default: true)
dShowQtNamespace: true (default: true)
dSortStructMembers: true (default: true)
dAutoDerefPointers: true (default: true)
dIdentifyDebugInfoPackages: false (default: false)
dMaximalStackDepth: 15 (default: 20) ***
dAllPluginBreakpoints: true (default: true)
dSelectedPluginBreakpoints: false (default: false)
dAdjustBreakpointLocations: true (default: true)
dMaximalStringLength: 10000 (default: 10000)
dDisplayStringLimit: 100 (default: 100)
dSkipKnownFrames: false (default: false)
dEnableReverseDebugging: false (default: false)
dBreakOnWarning: false (default: false)
dBreakOnFatal: false (default: false)
dBreakOnAbort: false (default: false)
dShowQmlObjectTree: false (default: true) ***
dNoPluginBreakpoints: false (default: false)
dSelectedPluginBreakpointsPattern: .* (default: .*)
dBreakOnThrow: false (default: false)
dBreakOnCatch: false (default: false)
dQmlInspector.ShowAppOnTop: false (default: false)
dAutoQuit: false (default: false)
dLogTimeStamps: false (default: false)
dVerboseLog: true (default: false) ***
dUseAlternatingRowColours: true (default: false) ***
dFontSizeFollowsEditor: false (default: false)
dUseMessageBoxForSignals: false (default: true) ***
dBreakpointsFullPath: false (default: false)
dRaiseOnInterrupt: true (default: true)
dStationaryEditorWhileStepping: false (default: false)
dUseDebuggingHelper: true (default: true)
dCloseBuffersOnExit: true (default: false) ***
dCloseMemoryBuffersOnExit: true (default: true)
dSwitchModeOnExit: false (default: false)
dUseToolTipsInBreakpointsView: false (default: false)
dUseToolTipsInBreakpointsView: false (default: true) ***
dUseAddressInBreakpointsView: false (default: false)
dUseAddressInStackView: false (default: false)
dUseCodeModel: true (default: true)
dShowThreadNames: false (default: false)
dUseToolTips: true (default: true)
dUseToolTipsInLocalsView: true (default: false) ***
dAdditionalArguments: (default: )
dSymbolPaths: (default: )
dSourcePaths: (default: )
dBreakEvent: (default: )
dAlwaysAdjustColumnWidths: true (default: true)
dExtraDumperFile: (default: )
dGdbCustomDumperCommands: (default: )
dLoadGdbInit: true (default: true)
dLoadGdbDumpers2: false (default: false)
dAttemptQuickStart: false (default: false)
dGdbStartupCommands: (default: )
dBreakOnCrtDbgReport: false (default: false)
dCDB_Console: false (default: false)
dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
dQUEUE: SETUP ENGINE
dCALL: SETUP ENGINE
dSTARTING LLDB: /Applications/Xcode.app/Contents/Developer/usr/bin/lldb
>(lldb) sc print('@\nlldbstartupok@\n')
>@
>lldbstartupok@
>
dADAPTER STARTED
sSetting up inferior...
>(lldb) script sys.path.insert(1, '/ApplicationPath/Qt/Qt Creator.app/Contents/Resources/debugger/')
>(lldb) script from lldbbridge import *
>(lldb) script print(dir())
>['Array10000Format', 'Array1
>000Format', 'Array100Format', 'Array10Format', 'ArrayPlotFormat', 'AttachCore', 'Attach
>CrashedExternal', 'AttachExternal', 'AttachToRemoteProcess', 'AttachToRemoteServer', 'AutomaticFormat', 'Ba
>se64Encoded16Bit', 'Base64Encoded16BitWithQuotes', 'Base64Encoded32BitWithQuotes', 'Base64Encode
>d8Bit', 'Base64Encoded8BitWithQuotes', 'Blob', 'BreakpointAtCatch', 'BreakpointAtExec', 'BreakpointAtFork'
>, 'BreakpointAtJavaScriptThrow', 'BreakpointAtMain', 'BreakpointAtSysCall', 'BreakpointAtThrow', 'Break
>pointByAddress', 'BreakpointByFileAndLine', 'BreakpointByFunction', 'BreakpointOnQmlSignalEmit', 'Childre
>n', 'CompactMapFormat', 'DateTimeInternal', 'DirectQListStorageFormat', 'DisplayImageData', 'Displa
>yImageFile', 'DisplayLatin1String', 'DisplayPlotData', 'DisplayUtf16String', 'DisplayUtf8String',
>'Dumper', 'DumperBase', 'EnhancedFormat', 'Hex2EncodedFloat4', 'Hex2EncodedFloat8', 'Hex2EncodedInt1', '
>Hex2EncodedInt2', 'Hex2EncodedInt4', 'Hex2EncodedInt8', 'Hex2EncodedLatin1', 'Hex2EncodedLocal8Bit'
>, 'Hex2EncodedUInt1', 'Hex2EncodedUInt2', 'Hex2EncodedUInt4', 'Hex2EncodedUInt8', 'Hex2EncodedUtf8', 'Hex2E
>ncodedUtf8WithoutQuotes', 'Hex4EncodedBigEndian', 'Hex4EncodedLittleEndian', 'Hex4EncodedLittleEndianWit
>houtQuotes', 'Hex8EncodedBigEndian', 'Hex8EncodedLittleEndian', 'IPv6AddressAndHexScopeId', 'Indi
>rectQListStorageFormat', 'JulianDate', 'JulianDateAndMillisecondsSinceMidnight', 'Latin1StringFormat', '
>Local8BitStringFormat', 'MillisecondsSinceMidnight', 'NoAddress', 'NoStartMode', 'PairedChildren',
>'PairedChildrenData', 'RawFormat', 'ReportItem', 'SeparateFormat', 'SeparateLatin1StringFormat', 'Separa
>teUtf8StringFormat', 'SimpleFormat', 'SpecialEmptyStructureValue', 'SpecialEmptyValue', 'SpecialInvalidVal
>ue', 'SpecialItemCountValue', 'SpecialMinimumItemCountValue', 'SpecialNotAccessibleValue', 'Specia
>lNotCallableValue', 'SpecialNullReferenceValue', 'SpecialOptimizedOutValue', 'SpecialUninitializedValue', 'StartExt
>ernal', 'StartInternal', 'StartRemoteProcess', 'StopDisplay', 'SubItem', 'Tester', 'TopLevelItem', 'Ucs4Stri
>ngFormat', 'Unencoded8Bit', 'UnknownType', 'UnnamedSubItem', 'Utf16StringFormat', 'Utf8StringFormat', 'Value'
>, 'WatchpointAtAddress', 'WatchpointAtExpression', '_builtins_', 'arrayForms', 'base64', 'check', 'copy', 'f
>ileNameAsString', 'impl_SBValue_add', 'impl_SBValuederef', 'impl_SBValuefloat', 'impl_SBValue_getit
>em_', 'impl_SBValueint', 'impl_SBValuele', 'impl_SBValuelong', 'impl_SBValuesub_', 'i
>nspect', 'json', 'keyword', 'lldb', 'mapForms', 'os', 'platform', 'pydoc', 'qqWatchpointOffset', 're', 'relo
>ad_module', 'run_one_line', 'run_python_interpreter', 'showException', 'struct', 'sys', 'threading',
>'time', 'toInteger', 'uuid', 'verbosity', 'warn']
>(lldb) script theDumper = Dumper()
eERROR: Lldb stderr: error: cannot delete one or more categories
e
eerror: cannot delete one or more categories
e
>@
>lldbversion="lldb-350.0.21.3"@
>@
>state="enginesetupok"@
dNOTE: ENGINE SETUP OK
dState changed from EngineSetupRequested(1) to EngineSetupOk(3) [master]
dQUEUE: SETUP INFERIOR
dState changed from EngineSetupOk(3) to InferiorSetupRequested(4) [master]
dQUEUE: SETUP INFERIOR
dCALL: SETUP INFERIOR
<289executeDebuggerCommand(
)
<290executeDebuggerCommand(
)
<291loadDumpers(
)
<292setupInferior(
)
>(lldb) script theDumper.executeDebuggerCommand(
)
>@
>token("289")@
>@
>success="1",output="",error=""@
>(lldb) script theDumper.executeDebuggerCommand(
)
>@
>token("290")@
>@
>success="1",output="",error=""@
>(lldb) script theDumper.loadDumpers(
)
>@
>result={token="291",dumpers=[
,
{type="CPlusPlus__Identifier"},
{type="std__stack"},
{type="std__multimap",formats="17"},
{type="std____debug__deque"},
{type="boost__optional"},
{type="QDir"},
{type="QSharedData"},
{type="Debugger__Internal__GdbMi"},
{type="boost__container__list"},
{type="Utils__FileName"},
{type="std____cxx11__basic_string"},
{type="std__deque"},
{type="QFixed"},
{type="uint8_t"},
{type="std____debug__stack"},
{type="QPoint"},
{type="std____1__vector"},
{type="QMultiMap",formats="17"},
{type="QModelIndex",formats="2, 3"},
{type="QLocale"},
{type="QV4__CallContext"},
{type="QJsonPrivate__q_littleendian"},
{type="string",editable="true"},
{type="std__set"},
{type="std__unique_ptr"},
{type="QFile"},
{type="wstring"},
{type="QByteArrayData"},
{type="QSizeF"},
{type="QIPv6Address"},
{type="Debugger__Internal__ThreadId"},
{type="Utils__ElfSection"},
{type="QGraphicsPolygonItem"},
{type="std__wstring",formats="2, 4"},
{type="Debugger__Internal__DisassemblerLine"},
{type="QTimeZone"},
{type="QMap",formats="17"},
{type="boost__posix_time__time_duration"},
{type="std__deque__QNX"},
{type="QChar"},
{type="CPlusPlus__TemplateNameId"},
{type="QQmlRefCount"},
{type="std____debug__set"},
{type="QMetaObject"},
{type="QHostAddress"},
{type="QV4__Value"},
{type="QJsonPrivate__qle_bitfield"},
{type="std__map__QNX"},
{type="QPixmap"},
{type="QJsonValue"},
{type="std____1__shared_ptr"},
{type="QV4__SimpleScriptFunction"},
{type="CPlusPlus__Internal__Value"},
{type="QFileInfo"},
{type="QHash__const_iterator"},
{type="std____1__string"},
{type="Debugger__Internal__WatchData"},
{type="QTime"},
{type="QPolygonF"},
{type="QXmlStreamStringRef"},
{type="CPlusPlus__PointerType"},
{type="std___Rb_tree_const_iterator"},
{type="QString",editable="true",formats="2, 4"},
{type="boost__bimaps__bimap"},
{type="QV4__TypedValue"},
{type="std____cxx1998__map"},
{type="QHash",formats="17"},
{type="QXmlAttributes"},
{type="QHash__iterator"},
{type="QV4__CallData"},
{type="QLinkedList"},
{type="QStack",formats="16"},
{type="CPlusPlus__Token"},
{type="std__list__QNX"},
{type="Debugger__Internal__BreakpointModelId"},
{type="boost__unordered__unordered_set"},
{type="KDSoapValue1"},
{type="std____1__basic_string"},
{type="std__set__const_iterator"},
{type="std____1__unique_ptr"},
{type="std__stringHelper1"},
{type="std__map__iterator"},
{type="QDate"},
{type="std__multiset"},
{type="std__unordered_map",formats="17"},
{type="__m128"},
{type="__m128d"},
{type="QTextCodec"},
{type="std__shared_ptr"},
{type="Debugger__Internal__WatchItem"},
{type="std__unordered_set"},
{type="QMetaObjectPrivate"},
{type="QHashedString"},
{type="__m512d"},
{type="std____cxx1998__set"},
{type="std__string",editable="true",formats="5, 6, 7, 8"},
{type="__m256"},
{type="std__map",formats="17"},
{type="boost__posix_time__ptime"},
{type="QPointF"},
{type="std____cxx11__wstring",formats="2, 4"},
{type="Eigen__Matrix"},
{type="QImage",formats="2, 4"},
{type="QSet"},
{type="std__map__const_iterator"},
{type="QJsonArray"},
{type="CPlusPlus__QualifiedNameId"},
{type="QAbstractItemModel",formats="2, 3"},
{type="QFiniteStack",formats="16"},
{type="std__set__iterator"},
{type="QTextDocument"},
{type="QTJSC__JSValue"},
{type="__gnu_cxx__hash_set"},
{type="QRegion"},
{type="std__array",formats="16"},
{type="std____cxx11__string",formats="5, 6, 7, 8"},
{type="QBasicAtomicInt"},
{type="QScriptValue"},
{type="QDateTime"},
{type="std____1__unordered_set"},
{type="boost__gregorian__date"},
{type="std__set__QNX"},
{type="CPlusPlus__ByteArrayRef"},
{type="boost__shared_ptr"},
{type="Core__Id"},
{type="std__basic_string"},
{type="std____debug__vector",formats="16"},
{type="QRectF"},
{type="QAtomicInt"},
{type="__m256i"},
{type="__m256d"},
{type="std____1__set"},
{type="QXmlStreamAttribute"},
{type="int8_t"},
{type="std__stringHelper1__QNX"},
{type="CPlusPlus__StringLiteral"},
{type="QQmlAccessorProperties__Properties"},
{type="QByteArray",formats="5, 6, 7, 8"},
{type="QV4__ExecutionContext"},
{type="CPlusPlus__Class"},
{type="std__vector",editable="true",formats="16"},
{type="QV4__FunctionObject"},
{type="std____1__unordered_map",formats="17"},
{type="ProString"},
{type="__m512i"},
{type="__m128i"},
{type="QVariantMap",formats="17"},
{type="QStringRef"},
{type="std____debug__map"},
{type="std__list"},
{type="std____debug__list"},
{type="QUuid"},
{type="QVariant (QVariantMap)",formats="17"},
{type="QSize"},
{type="QPolygon"},
{type="QSharedDataPointer"},
{type="QStringList"},
{type="std___Rb_tree_iterator"},
{type="std__complex"},
{type="QRegExp"},
{type="QTextCursor"},
{type="QFlags"},
{type="QStringData"},
{type="std____debug__unordered_map",formats="17"},
{type="QList",formats="18, 19"},
{type="QJsonPrivate__qle_signedbitfield"},
{type="QSharedPointer"},
{type="QUrl",formats="2, 4"},
{type="CPlusPlus__Symbol"},
{type="QVarLengthArray"},
{type="QV4__Object"},
{type="QScopedPointer"},
{type="__m512"},
{type="QStandardItem"},
{type="CPlusPlus__Literal"},
{type="QMapNode"},
{type="std____1__array",formats="16"},
{type="QVariant"},
{type="QV4__String"},
{type="QVector",editable="true",formats="16"},
{type="std____1__wstring"},
{type="QHashNode",formats="17"},
{type="QV4__CompilationUnit"},
{type="QTemporaryFile"},
{type="KDSoapValue"},
{type="QJsonObject"},
{type="QRect"},
{type="CPlusPlus__IntegerType"},
{type="std__vector__QNX"},
{type="std____cxx11__list"},
{type="CPlusPlus__FullySpecifiedType"},
{type="__gnu_debug___Safe_iterator"},
{type="QV4__ScriptFunction"},
{type="CPlusPlus__Internal__PPToken"},
{type="QWeakPointer"},
{type="QAtomicPointer"},
{type="CPlusPlus__NamedType"},]}@
>291^
>(lldb) script theDumper.setupInferior(
)
>@
>result=
@
>292^
dNOTE: INFERIOR SETUP OK
dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6) [master]
dState changed from InferiorSetupOk(6) to EngineRunRequested(7) [master]
dQUEUE: RUN ENGINE
dCALL: RUN ENGINE
sRunning requested...
<293runEngine(
)
>(lldb) script theDumper.runEngine(
)
>@
>pid="44949"@
>@
>state="enginerunandinferiorrunok"@
dNOTE: ENGINE RUN AND INFERIOR RUN OK
sRunning.
dState changed from EngineRunRequested(7) to InferiorRunOk(11) [master]
>@
>event={type="1",data="0x7f807c0295d0 Event: broadcaster = 0x7f807d17c038 (lldb.process), type = 0x00000001 (state-changed), data =
",msg="None",flavor="Process::ProcessEventData",state="running",bp="No value"}@
>@
>state="running"@
dNOTE: INFERIOR RUN OK - REPEATED.
ERROR: Lldb stderr: Exception in thread Thread-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self._target(*self.args, **self._kwargs)
File "/ApplicationPath/Qt/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 769, in loop
self.handleEvent(event)
File "/ApplicationPath/Qt/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 1409, in handleEvent
% self.hexencode(msg))
File "/ApplicationPath/Qt/Qt Creator.app/Contents/Resources/debugger/dumper.py", line 479, in hexencode
return s.encode("hex")
AttributeError: 'NoneType' object has no attribute 'encode'