Using QTest Segmentation happens during calling of Test Case
-
The Back Trace from debugger below:
Thread 4 (Thread 16824.0x3104):
#0 0x774f216c in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#1 0x774ce4c6 in ntdll!RtlAcquirePebLock () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#2 0x000000b0 in ?? ()
No symbol table info available.
#3 0x75d90419 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\SysWOW64\kernel32.dll
No symbol table info available.
#4 0x774e662d in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#5 0x774e65fd in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#6 0x00000000 in ?? ()
No symbol table info available.Thread 3 (Thread 16824.0x5bdc):
#0 0x774f216c in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#1 0x774ce4c6 in ntdll!RtlAcquirePebLock () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#2 0x000000b0 in ?? ()
No symbol table info available.
#3 0x75d90419 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\SysWOW64\kernel32.dll
No symbol table info available.
#4 0x774e662d in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#5 0x774e65fd in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#6 0x00000000 in ?? ()
No symbol table info available.Thread 2 (Thread 16824.0x4e84):
#0 0x774f216c in ntdll!ZwWaitForWorkViaWorkerFactory () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#1 0x774ce4c6 in ntdll!RtlAcquirePebLock () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#2 0x000000b0 in ?? ()
No symbol table info available.
#3 0x75d90419 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\SysWOW64\kernel32.dll
No symbol table info available.
#4 0x774e662d in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#5 0x774e65fd in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#6 0x00000000 in ?? ()
No symbol table info available.Thread 1 (Thread 16824.0x53a8):
#0 __chkstk_ms () at ../../../../../src/gcc-4.8.2/libgcc/config/i386/cygwin.S:172
No locals.
#1 0x00405412 in OTRKTests::run_Test_OTRK_927 (this=0x900010c2) at C:\WORK\Workspace\proj1433_otrk_test\src\OTRKTests.cpp:471
No locals.
#2 0x00448085 in OTRKTests::qt_static_metacall (_o=0xe04fe94, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xe04f608) at C:/WORK/Workspace/build-proj1433_otrk_test-QTpath-Debug/src/otrk_tests_autogen/EWIEGA46WW/moc_OTRKTests.cpp:137
_t = 0xe04fe94
#3 0x3cf7ebf1 in QMetaMethod::invoke (this=0xe04f948, object=0xe04fe94, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
paramCount = 1
currentThread = 0xe3035c0
param = {0x0 <repeats 11 times>}
idx_relative = 4
callFunction = 0x447fd2 <OTRKTests::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
typeNames = {0x0 <repeats 11 times>}
metaMethodArgumentCount = 0
objectThread = 0xe3035c0
idx_offset = 4
#4 0x3cf7e15a in QMetaObject::invokeMethod (obj=0xe04fe94, member=0xe308258 "run_Test_OTRK_927", type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
sig = {a = 512, s = 20, ptr = 0xe04f738 "run_Test_OTRK_927()", {array = "run_Test_OTRK_927()", '\000' <repeats 11 times>, "\060\016\000\000\000\000\000\000\000\000\004\000\000\000\200\237\060\016\004\000\000\000 \000\000\000 \237\060\016\000\000\000\000\024\000\000\000c\001\000PX\202\060\016\000\000\060\016\327\304Vwc\001\000P\260\367\004\016>\037Lw\000\000\000\000>\037LwP\202\060\016\000\000\060\016\000\000\000\000X\202\060\016\000\000\060\016 \370\004\016\360\260Vw\231\264Mw\331\260Vw2\345\201(\000\000\060\016\354\367\004\016\254\276guX\202\060\016\364\367\004\016\323%cu\030\370\004\016xPkuX\031\060\016\000\000\000\000\214\372\004\016\016\303gu)\206Ow\254\372\004\016d\370\004\016\2600\016\207\373\004\016\272\312gu\334\371\004\016\320\206OwxPkuX\031\060\016\310\005\060\016\001\"Qw\024\000\000\000\376\344\201(", '\000' <repeats 16 times>, "\357\377\377\377\000\206Ow", '\000' <repeats 16 times>, "\254\372\004\016\000\000\000\000\000\000\060\016\030\000\000\000\021\000\000\000\377\377\377\377c\000\000\000P\373\004\016\000\000\000\000{\301\245j\001\000\000\000\000\000\060\016\000\000\000\001P\370\004\016\310\370\004\016\350\371\004\016\320\206Ow\212\203\335Q\376\377\377\377~\270Vw\370\370\004\016X\r\370< \270\016=0\202\060\016\000\000\000\000\001\000\060\016$\371\004\016\230\270VwX\002\060\016~\270Vw\351\270\016=\000\000\000\000\003\000\000\000\000\000\000\000D\371\004\016\230\270Vw\b\371\004\016pb0\016xb0\016\260
0\016(\371\004\016\032\315\367<\030\371\004\016S\301\245j\001\000\000\000\304\060u\000c\000\000Ph\372\004\016\304\060u\000\377\377\377\377\376\377\377\377\000\000\060\016\370\371\004\016n\027\244jS\301\245j \237\060\016\000\000\000\000\000\000\060\016", q_for_alignment_1 = 8391161943774098802, q_for_alignment_2 = 8.887599799915954e+252}}
len = 0
paramCount = 1
idx = 8
typeNames = {0x0 <repeats 11 times>}
method = {mobj = 0x7530c4 OTRKTests::staticMetaObject, handle = 34}
#5 0x6aa55e5e in QMetaObject::invokeMethod (obj=0xe04fe94, member=0xe308258 "run_Test_OTRK_927", type=Qt::DirectConnection, val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:418
No locals.
#6 0x6aa434a9 in QTest::qInvokeTestMethodDataEntry (slot=0xe308258 "run_Test_OTRK_927") at qtestcase.cpp:1423
invokeOk = 255
i = -1
results = {{p = {static shared_null = {ref = {{_q_value = 15}}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x3d05e074 QListData::shared_null}, d = 0x3d05e074 QListData::shared_null}}
#7 0x6aa439a0 in QTest::qInvokeTestMethod (slotName=0x7d31f8 <qt_meta_stringdata_OTRKTests+120> "run_Test_OTRK_927()", data=0x0) at qtestcase.cpp:1531
s = {<No data fields>}
curDataIndex = 0
dataCount = 0
foundFunction = true
benchmarkData = {static current = 0xe04fb50, result = {context = {slotName = {static null = {<No data fields>}, static shared_null = {ref = {{_q_value = 79}}, alloc = 0, size = 0, data = 0x3d05e116 QString::shared_null+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {{_q_value = 2}}, alloc = 0, size = 0, data = 0x3d05e12a QString::shared_empty+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3d05e104 QString::shared_null, static codecForCStrings = 0x0}, tag = {static null = {<No data fields>}, static shared_null = {ref = {{_q_value = 79}}, alloc = 0, size = 0, data = 0x3d05e116 QString::shared_null+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {{_q_value = 2}}, alloc = 0, size = 0, data = 0x3d05e12a QString::shared_empty+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3d05e104 QString::shared_null, static codecForCStrings = 0x0}, checkpointIndex = -1}, value = -1, iterations = -1, metric = 235207340, setByMacro = true, valid = false}, resultAccepted = false, runOnce = false, iterationCount = 1}
member = "run_Test_OTRK_927_data()\000_988_data()\000\001\000\000\000\000\000\000\000\000\000\060\016QE\305o\000\000\000\000\t\000\000\000b\000\000@\000\000\000\000\264\061\005u\200\061\005u\000\000\060\016", '\000' <repeats 20 times>, "\001", '\000' <repeats 11 times>, "\005\000\000\000\000\000\000\000b\000\000@(", '\000' <repeats 11 times>, " \000\000\000\000\000@\310b0\016\000\000\000\000\000\000\000\000b\000\000@H\374\004\016>\037L\000 \000\000\000>\037Lw\330\374\004\016\320\206Owb\000\000@\376\377\377\377\234\374\004\016\000\000Lw\210b0\016\240PLw\260
0\016\220b0\016\001\000\000\000xb0\016\210\374\004\016\220b0\000 \000\000\000K\000\000\000\030\375\004\016\320\206Ow\302\224\335Q\376\377\377\377\334\374\004\016\301PLw\300b0\016\240PLw\2600\016\310b0\016\001\000\000\000\000\000\060\016\000\000\000\000\310b0\016\201\317\021\274\260
0\016\001\000\000\000\001\000\000\000\031\000\000\000\244\375\004\016\b\375\004\016\031\352\377<\260\374\004\016\220b0\016\314\377\004\016(\375\004\016\325\205du\000\000\060\016\000\000\000\000\364\205duA\316\021\274\2600\016\001\000\000\000\001\000\000\000\334b0\016\244\375\004\000(\375\004\016\317\\\245j\360\374\004\016p\375\004\016\314\377\004\016p\335eu\351\256\177\307\376\377\377\377\364\205duH\003\350<\310b0\016\000\000\000\001t\340\005=\244\375\004\016p\375\004\016+\271\016=h\375\004\001X\375\004\016\352\357\377<t\340\005=\210\375\004\016\002\342\367<p\375\004\016\005\000\000\001\210\375\004\016\023[\245j\370\061}\000+\271\016=\244\375\004\016\244\375\004\016\247\234\245j\360
"
slot = 0xe308258 "run_Test_OTRK_927"
table = {d = 0xe308238}
gTable = 0xe304948
globalDataCount = 0
curGlobalDataIndex = 0
#8 0x6aa440ad in QTest::qInvokeTestMethods (testObject=0xe04fe94) at qtestcase.cpp:1696
i = 8
methodCount = 57
testMethods = 0xe3060b0
previousFailed = false
metaObject = 0x7530c4 OTRKTests::staticMetaObject
#9 0x6aa44251 in QTest::qExec (testObject=0xe04fe94, argc=1, argv=0xe303fa0) at qtestcase.cpp:1922
metaObject = 0x7530c4 OTRKTests::staticMetaObject
benchmarkData = {static current = 0xe04fe3c, measurer = 0xe3048f0, context = {slotName = {static null = {<No data fields>}, static shared_null = {ref = {{_q_value = 79}}, alloc = 0, size = 0, data = 0x3d05e116 QString::shared_null+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {{_q_value = 2}}, alloc = 0, size = 0, data = 0x3d05e12a QString::shared_empty+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xe309f28, static codecForCStrings = 0x0}, tag = {static null = {<No data fields>}, static shared_null = {ref = {{_q_value = 79}}, alloc = 0, size = 0, data = 0x3d05e116 QString::shared_null+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {{_q_value = 2}}, alloc = 0, size = 0, data = 0x3d05e12a QString::shared_empty+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3d05e118 QString::shared_empty, static codecForCStrings = 0x0}, checkpointIndex = -1}, walltimeMinimum = -1, iterationCount = -1, medianIterationCount = -1, createChart = false, verboseOutput = false, callgrindOutFileBase = {static null = {<No data fields>}, static shared_null = {ref = {{_q_value = 79}}, alloc = 0, size = 0, data = 0x3d05e116 QString::shared_null+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {{q_value = 2}}, alloc = 0, size = 0, data = 0x3d05e12a QString::shared_empty+18, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3d05e104 QString::shared_null, static codecForCStrings = 0x0}, mode = QBenchmarkGlobalData::WallTime}
#10 0x004463d6 in main (argc=1, argv=0xe303fa0) at C:\WORK\Workspace\proj1433_otrk_test\src\testMain.cpp:11
ret = 0
otrkTestCases = {<QObject> = {_vptr.QObject = 0x82d5e8 <vtable for OTRKTests+8>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x3d0eb8e0 <qt_meta_stringdata_QObject> "QObject", data = 0x3d0eb820 <qt_meta_data_QObject>, extradata = 0x3d0eb5e0 QObject::staticMetaObjectExtraData}}, static staticMetaObjectExtraData = {objects = 0x0, static_metacall = 0x3cf8d816 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, d_ptr = {d = 0xe304888}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x3d0fd420 <qt_meta_stringdata_Qt> "Qt", data = 0x3d0fae40 <qt_meta_data_Qt>, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x3d0eb5e8 QObject::staticMetaObject, stringdata = 0x7d3180 <qt_meta_stringdata_OTRKTests> "OTRKTests", data = 0x7d2d20 <qt_meta_data_OTRKTests>, extradata = 0x7d1e34 OTRKTests::staticMetaObjectExtraData}}, static staticMetaObjectExtraData = {objects = 0x0, static_metacall = 0x447fd2 <OTRKTests::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}} -
Hi and welcome to devnet,
What code are you testing ?