Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate complex typed static variables #37

Open
wants to merge 1 commit into
base: patched-5
Choose a base branch
from

Conversation

espakm
Copy link

@espakm espakm commented Feb 12, 2016

Complex typed static variables (e.g. maps) in dll-s are to avoid.
On Windows they are initialised late when the dll
is being loaded dynamically. The current use of static QHash data members
results in crash on Windows when a PythonQt.dll static function is called from a static initialization code from a dependent library, and PythonQt.dll has not been loaded before, already.

See details here:
http://stackoverflow.com/questions/5114683/loading-dll-not-initializing-static-c-classes

Complex typed static variables (e.g. maps) in dll-s are to avoid.
On Windows they are not initialised in time (or at all) when the dll
is dynamically loaded. The current use of static QHash data members
results in crash on Windows when the PythonQt.dll is loaded.

See details here:
http://stackoverflow.com/questions/5114683/loading-dll-not-initializing-static-c-classes
@jcfr
Copy link
Member

jcfr commented Feb 15, 2016

Thanks for the updated PR. I will test and integrate later this afternoon (EST time)

@jcfr
Copy link
Member

jcfr commented Feb 16, 2016

As suggested by Florian, may be a first patch would be to put all [...] state into a single struct ?

@jcfr
Copy link
Member

jcfr commented Feb 16, 2016

@espakm Based on the description

The problem happens when you load a library dynamically that depends 
on PythonQt. The crash occurs when this library tries to initialise Python. 
The static initialisers of PythonQt.dll have not been executed at this point, 
probably because the dynamic loading of the dependent library (the one that 
you are loading dynamically and which depends on PythonQt) has not 
been finished.

I pushed a branch where I added a test attempting to reproduce the problem:

See patched-5...jcfr:37-python-init-crash

But it passes on both Linux and Windows (using either VS2008 or VS2013 for a Release build of PythonQt built against a release build of Qt and Python)

@jcfr
Copy link
Member

jcfr commented Feb 16, 2016

Moving execution of PythonQt tests into the static initializer causes the test to fail.
See jcfr@287806b

Failure is the following:

    Start 2: tests_PythonQtDynamicLoading

2: Test command: "C:\D\Support\CMake 3.4.1\bin\cmake.exe" "-DTARGET_FILE=C:/D/E/PythonQt-vs2013-build/Release/PythonQtDy
namicLoader.exe" "-P" "C:/D/E/PythonQt-vs2013-build/test_wrapper.cmake"
2: Test timeout computed to be: 1500
2: PATH [%PATH;C:\D\Support\qt-4.8.7-64-vs2013-rel\bin;C:\D\N\Slicer-1-build\python-install\bin;.]
2: PythonQtDynamicLoaderSharedLibrary::StaticInitializer
2: ********* Start testing of PythonQtTestApi *********
2: Config: Using QTest library 4.8.7, Qt 4.8.7
2: PASS   : PythonQtTestApi::initTestCase()
2: FAIL!  : PythonQtTestApi::testCall() '_helper->call("testCallNoArgs", QVariantList(), QVariant())' returned FALSE. ()

2: C:\D\E\PythonQt\tests\PythonQtTests.cpp(529) : failure location
[...]

@jcfr
Copy link
Member

jcfr commented Feb 16, 2016

Commit c891272 causes test to also fail on Linux

@espakm
Copy link
Author

espakm commented Feb 16, 2016

"Moving execution of PythonQt tests into the static initializer causes the test to fail."

Yes, that's exactly the point. The crash happens when PythonQt is initialised from the static initialiser of a library. (And PythonQt has not been loaded beforehand.)

@espakm
Copy link
Author

espakm commented Feb 16, 2016

Could you try if my original fix that eliminated the complex typed static local variables lets the test pass?

NifTK/PythonQt@127d894950

You can apply it cleanly after reverting c891272.

Today I tried what happens if I declare the static maps as static locals and return a reference to them from the getters.

NifTK/PythonQt@d8982e9f384a

It crashes. So, this tells me that we thought it wrong that the static locals are constructed at the first invocation. What means that compound typed static locals must be eliminated throughout the library.

I might be wrong, but thanks to your new test, it is easy to check.

@jcfr
Copy link
Member

jcfr commented Feb 16, 2016

Baseline results

crash happens when PythonQt is initialised from the static initialiser

To be exact, initializing PythonQt from within the static initializer is not causing the crash. But running the tests suite during static initialization is what is causing problem.

I updated test framework to include these two tests:

  • tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0: PythonQt initialized in static initializer + test suite run in function invoked by loading program
  • tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1: PythonQt initialized in static initializer + test suite run in static initializer

Question: @espakm Does this capture the problem your are experiencing ? I want to make sure we work considering a valid scenario.

The topic I will use to test your fixes (and mine) will be this one: jcfr:37-python-init-crash

Documentation describing the two tests is here

Within no specific fixes, we have the following baseline:

  • Ubuntu gcc 5.2.1 20151010 / No C++11 support / Release:
$ ctest
Test project /home/jcfr/Projects/PythonQt-Release
1/3 Test #1: tests_PythonQtTestMain ...............................................   Passed    0.04 sec
2/3 Test #2: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ...   Passed    0.03 sec
3/3 Test #3: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ...   Passed    0.03 sec
  • VS2008 / No C++11 support / Release:
C:\D\E\PythonQt-build>"C:\D\Support\CMake 3.4.1\bin\ctest.exe" -C Release
Test project C:/D/E/PythonQt-build
1/3 Test #1: tests_PythonQtTestMain ...............................................   Passed    0.06 sec
2/3 Test #2: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ...   Passed    0.09 sec
3/3 Test #3: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ...***Failed    0.06 sec
  • VS2013 / No C++11 support / Release:
C:\D\E\PythonQt-vs2013-build>"C:\D\Support\CMake 3.4.1\bin\ctest.exe" -C Release
Test project C:/D/E/PythonQt-vs2013-build
1/3 Test #1: tests_PythonQtTestMain ...............................................   Passed    0.14 sec
2/3 Test #2: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ...   Passed    0.08 sec
3/3 Test #3: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ...***Failed    0.06 sec

Results with espakm original fix

try if my original fix that eliminated the complex typed static local variables lets the test pass

Applying your original fix NifTK/PythonQt@127d894 on top of jcfr:37-python-init-crash with two more commit allowing compiling without C++11 and fixing a double const keyword error (see jcfr:37-python-init-crash-espakm-original-fix), here are the results:

  • Ubuntu gcc 5.2.1 20151010 / No C++11 support / Release:
$ ctest 
Test project /home/jcfr/Projects/PythonQt-Release
1/3 Test #1: tests_PythonQtTestMain ...............................................***Exception: Other  0.12 sec
2/3 Test #2: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ...***Failed    0.10 sec
3/3 Test #3: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ...***Failed    0.10 sec
  • VS2013 / No C++11 support / Release:
C:\D\E\PythonQt-vs2013-build>"C:\D\Support\CMake 3.4.1\bin\ctest.exe" -C Release
Test project C:/D/E/PythonQt-vs2013-build
1/3 Test #1: tests_PythonQtTestMain ...............................................***Exception: SegFault  0.11 sec
2/3 Test #2: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ...***Failed    0.09 sec
3/3 Test #3: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ...***Failed    0.08 sec
  • VS2008 / No C++11 support / Release:
C:\D\E\PythonQt-build>"C:\D\Support\CMake 3.4.1\bin\ctest.exe" -C Release
Test project C:/D/E/PythonQt-build
1/3 Test #1: tests_PythonQtTestMain ...............................................***Exception: SegFault  0.13 sec
2/3 Test #2: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ...***Failed    0.11 sec
3/3 Test #3: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ...***Failed    0.08 sec

Results with espakm static maps and locals fix

if declare the static maps as static locals and return a reference to them from the getters.

Change integrated in jcfr:37-python-init-crash-espakm-static-maps-and-locals-fix

  • Ubuntu gcc 5.2.1 20151010 / No C++11 support / Release:
$ ctest 
Test project /home/jcfr/Projects/PythonQt-Release
1/3 Test #1: tests_PythonQtTestMain ...............................................   Passed    0.07 sec
2/3 Test #2: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ...   Passed    0.03 sec
3/3 Test #3: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ...   Passed    0.03 sec
  • VS2008 / No C++11 support / Release:
C:\D\E\PythonQt-build>"C:\D\Support\CMake 3.4.1\bin\ctest.exe" -C Release
Test project C:/D/E/PythonQt-build
1/3 Test #1: tests_PythonQtTestMain ...............................................   Passed    0.09 sec
2/3 Test #2: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ...   Passed    0.11 sec
3/3 Test #3: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ...***Failed    0.06 sec
  • VS2013 / No C++11 support / Release:
C:\D\E\PythonQt-vs2013-build>"C:\D\Support\CMake 3.4.1\bin\ctest.exe" -C Release
Test project C:/D/E/PythonQt-vs2013-build
1/3 Test #1: tests_PythonQtTestMain ...............................................   Passed    0.06 sec
2/3 Test #2: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ...   Passed    0.09 sec
3/3 Test #3: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ...***Failed    0.06 sec

Miscellaneous

As a side note, here is a one-liner allowing to list all location where static variable are declared:

$ ack "^\s+static[^=^\(]+\;$"
PythonQt.h
605:  static PythonQt* _self;
606:  static int _uniqueModuleCount;

PythonQtMethodInfo.h
128:  static QHash<QByteArray, int> _parameterTypeDict;
129:  static QHash<QByteArray, QByteArray> _parameterNameAliases;
132:  static QHash<QByteArray, PythonQtMethodInfo*> _cachedSignatures;
134:  static QHash<int, ParameterInfo> _cachedParameterInfos;

PythonQtConversion.h
185:  static PythonQtValueStorage<qint64, 128>  global_valueStorage;
186:  static PythonQtValueStorage<void*, 128>   global_ptrStorage;
187:  static PythonQtValueStorageWithCleanup<QVariant, 128>  global_variantStorage;

PythonQtSignalReceiver.h
138:  static int _destroyedSignal1Id;
139:  static int _destroyedSignal2Id;

@jcfr
Copy link
Member

jcfr commented Feb 17, 2016

More details about the failure. I further instrumented the test infrastructure to run all sub test cases for each scenario. That give a better idea of what is failing:

C:\D\E\PythonQt-vs2013-build>"C:\D\Support\CMake 3.4.1\bin\ctest.exe" -C Release
Test project C:/D/E/PythonQt-vs2013-build
      Start  1: tests_PythonQtTestMain_Api_testCall
 1/75 Test  #1: tests_PythonQtTestMain_Api_testCall ...........................................................................   Passed    0.05 sec
      Start  2: tests_PythonQtTestMain_Api_testVariables
 2/75 Test  #2: tests_PythonQtTestMain_Api_testVariables ......................................................................   Passed    0.05 sec
      Start  3: tests_PythonQtTestMain_Api_testRedirect
 3/75 Test  #3: tests_PythonQtTestMain_Api_testRedirect .......................................................................   Passed    0.03 sec
      Start  4: tests_PythonQtTestMain_Api_testImporter
 4/75 Test  #4: tests_PythonQtTestMain_Api_testImporter .......................................................................   Passed    0.03 sec
      Start  5: tests_PythonQtTestMain_Api_testQColorDecorators
 5/75 Test  #5: tests_PythonQtTestMain_Api_testQColorDecorators ...............................................................   Passed    0.03 sec
      Start  6: tests_PythonQtTestMain_Api_testQtNamespace
 6/75 Test  #6: tests_PythonQtTestMain_Api_testQtNamespace ....................................................................   Passed    0.03 sec
      Start  7: tests_PythonQtTestMain_Api_testConnects
 7/75 Test  #7: tests_PythonQtTestMain_Api_testConnects .......................................................................   Passed    0.03 sec
      Start  8: tests_PythonQtTestMain_Api_testProperties
 8/75 Test  #8: tests_PythonQtTestMain_Api_testProperties .....................................................................   Passed    0.03 sec
      Start  9: tests_PythonQtTestMain_Api_testDynamicProperties
 9/75 Test  #9: tests_PythonQtTestMain_Api_testDynamicProperties ..............................................................   Passed    0.05 sec
      Start 10: tests_PythonQtTestMain_SlotCalling_testNoArgSlotCall
10/75 Test #10: tests_PythonQtTestMain_SlotCalling_testNoArgSlotCall ..........................................................   Passed    0.03 sec
      Start 11: tests_PythonQtTestMain_SlotCalling_testPODSlotCalls
11/75 Test #11: tests_PythonQtTestMain_SlotCalling_testPODSlotCalls ...........................................................   Passed    0.03 sec
      Start 12: tests_PythonQtTestMain_SlotCalling_testCPPSlotCalls
12/75 Test #12: tests_PythonQtTestMain_SlotCalling_testCPPSlotCalls ...........................................................   Passed    0.03 sec
      Start 13: tests_PythonQtTestMain_SlotCalling_testQVariantSlotCalls
13/75 Test #13: tests_PythonQtTestMain_SlotCalling_testQVariantSlotCalls ......................................................   Passed    0.03 sec
      Start 14: tests_PythonQtTestMain_SlotCalling_testQListSlotCalls
14/75 Test #14: tests_PythonQtTestMain_SlotCalling_testQListSlotCalls .........................................................   Passed    0.05 sec
      Start 15: tests_PythonQtTestMain_SlotCalling_testQMapSlotCalls
15/75 Test #15: tests_PythonQtTestMain_SlotCalling_testQMapSlotCalls ..........................................................   Passed    0.03 sec
      Start 16: tests_PythonQtTestMain_SlotCalling_testObjectSlotCalls
16/75 Test #16: tests_PythonQtTestMain_SlotCalling_testObjectSlotCalls ........................................................   Passed    0.03 sec
      Start 17: tests_PythonQtTestMain_SlotCalling_testMultiArgsSlotCall
17/75 Test #17: tests_PythonQtTestMain_SlotCalling_testMultiArgsSlotCall ......................................................   Passed    0.03 sec
      Start 18: tests_PythonQtTestMain_SlotCalling_testPyObjectSlotCall
18/75 Test #18: tests_PythonQtTestMain_SlotCalling_testPyObjectSlotCall .......................................................   Passed    0.05 sec
      Start 19: tests_PythonQtTestMain_SlotCalling_testOverloadedCall
19/75 Test #19: tests_PythonQtTestMain_SlotCalling_testOverloadedCall .........................................................   Passed    0.03 sec
      Start 20: tests_PythonQtTestMain_SlotCalling_testInheritance
20/75 Test #20: tests_PythonQtTestMain_SlotCalling_testInheritance ............................................................   Passed    0.03 sec
      Start 21: tests_PythonQtTestMain_SlotCalling_testAutoConversion
21/75 Test #21: tests_PythonQtTestMain_SlotCalling_testAutoConversion .........................................................   Passed    0.05 sec
      Start 22: tests_PythonQtTestMain_SlotCalling_testProperties
22/75 Test #22: tests_PythonQtTestMain_SlotCalling_testProperties .............................................................   Passed    0.05 sec
      Start 23: tests_PythonQtTestMain_SignalHandler_testSignalHandler
23/75 Test #23: tests_PythonQtTestMain_SignalHandler_testSignalHandler ........................................................   Passed    0.03 sec
      Start 24: tests_PythonQtTestMain_SignalHandler_testRecursiveSignalHandler
24/75 Test #24: tests_PythonQtTestMain_SignalHandler_testRecursiveSignalHandler ...............................................   Passed    0.05 sec
      Start 25: tests_PythonQtTestMain
25/75 Test #25: tests_PythonQtTestMain ........................................................................................   Passed    0.08 sec
      Start 26: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testCall
26/75 Test #26: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testCall ...............................   Passed    0.06 sec
      Start 27: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testVariables
27/75 Test #27: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testVariables ..........................   Passed    0.08 sec
      Start 28: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testRedirect
28/75 Test #28: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testRedirect ...........................   Passed    0.06 sec
      Start 29: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testImporter
29/75 Test #29: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testImporter ...........................   Passed    0.06 sec
      Start 30: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testQColorDecorators
30/75 Test #30: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testQColorDecorators ...................   Passed    0.08 sec
      Start 31: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testQtNamespace
31/75 Test #31: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testQtNamespace ........................   Passed    0.06 sec
      Start 32: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testConnects
32/75 Test #32: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testConnects ...........................   Passed    0.08 sec
      Start 33: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testProperties
33/75 Test #33: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testProperties .........................   Passed    0.08 sec
      Start 34: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testDynamicProperties
34/75 Test #34: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testDynamicProperties ..................   Passed    0.06 sec
      Start 35: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testNoArgSlotCall
35/75 Test #35: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testNoArgSlotCall ..............   Passed    0.08 sec
      Start 36: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testPODSlotCalls
36/75 Test #36: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testPODSlotCalls ...............   Passed    0.06 sec
      Start 37: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testCPPSlotCalls
37/75 Test #37: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testCPPSlotCalls ...............   Passed    0.06 sec
      Start 38: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQVariantSlotCalls
38/75 Test #38: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQVariantSlotCalls ..........   Passed    0.08 sec
      Start 39: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQListSlotCalls
39/75 Test #39: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQListSlotCalls .............   Passed    0.06 sec
      Start 40: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQMapSlotCalls
40/75 Test #40: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQMapSlotCalls ..............   Passed    0.08 sec
      Start 41: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testObjectSlotCalls
41/75 Test #41: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testObjectSlotCalls ............   Passed    0.06 sec
      Start 42: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testMultiArgsSlotCall
42/75 Test #42: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testMultiArgsSlotCall ..........   Passed    0.08 sec
      Start 43: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testPyObjectSlotCall
43/75 Test #43: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testPyObjectSlotCall ...........   Passed    0.06 sec
      Start 44: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testOverloadedCall
44/75 Test #44: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testOverloadedCall .............   Passed    0.08 sec
      Start 45: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testInheritance
45/75 Test #45: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testInheritance ................   Passed    0.06 sec
      Start 46: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testAutoConversion
46/75 Test #46: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testAutoConversion .............   Passed    0.06 sec
      Start 47: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testProperties
47/75 Test #47: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testProperties .................   Passed    0.08 sec
      Start 48: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SignalHandler_testSignalHandler
48/75 Test #48: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SignalHandler_testSignalHandler ............   Passed    0.06 sec
      Start 49: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SignalHandler_testRecursiveSignalHandler
49/75 Test #49: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SignalHandler_testRecursiveSignalHandler ...   Passed    0.06 sec
      Start 50: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0
50/75 Test #50: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ............................................   Passed    0.11 sec
      Start 51: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testCall
51/75 Test #51: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testCall ...............................***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.06 sec
      Start 52: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testVariables
52/75 Test #52: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testVariables ..........................   Passed    0.08 sec
      Start 53: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testRedirect
53/75 Test #53: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testRedirect ...........................   Passed    0.06 sec
      Start 54: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testImporter
54/75 Test #54: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testImporter ...........................   Passed    0.06 sec
      Start 55: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testQColorDecorators
55/75 Test #55: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testQColorDecorators ...................   Passed    0.06 sec
      Start 56: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testQtNamespace
56/75 Test #56: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testQtNamespace ........................   Passed    0.06 sec
      Start 57: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testConnects
57/75 Test #57: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testConnects ...........................   Passed    0.06 sec
      Start 58: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testProperties
58/75 Test #58: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testProperties .........................***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.08 sec
      Start 59: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testDynamicProperties
59/75 Test #59: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testDynamicProperties ..................***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.06 sec
      Start 60: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testNoArgSlotCall
60/75 Test #60: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testNoArgSlotCall ..............***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.06 sec
      Start 61: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPODSlotCalls
61/75 Test #61: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPODSlotCalls ...............***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.08 sec
      Start 62: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testCPPSlotCalls
62/75 Test #62: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testCPPSlotCalls ...............***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.06 sec
      Start 63: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQVariantSlotCalls
63/75 Test #63: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQVariantSlotCalls ..........***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.08 sec
      Start 64: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQListSlotCalls
64/75 Test #64: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQListSlotCalls .............***Failed    0.06 sec
      Start 65: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQMapSlotCalls
65/75 Test #65: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQMapSlotCalls ..............***Failed    0.06 sec
      Start 66: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testObjectSlotCalls
66/75 Test #66: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testObjectSlotCalls ............***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.08 sec
      Start 67: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testMultiArgsSlotCall
67/75 Test #67: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testMultiArgsSlotCall ..........***Failed    0.06 sec
      Start 68: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPyObjectSlotCall
68/75 Test #68: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPyObjectSlotCall ...........***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.06 sec
      Start 69: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testOverloadedCall
69/75 Test #69: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testOverloadedCall .............***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.06 sec
      Start 70: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testInheritance
70/75 Test #70: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testInheritance ................***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.08 sec
      Start 71: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testAutoConversion
71/75 Test #71: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testAutoConversion .............***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.08 sec
      Start 72: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testProperties
72/75 Test #72: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testProperties .................***Failed    0.06 sec
      Start 73: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testSignalHandler
73/75 Test #73: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testSignalHandler ............***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.06 sec
      Start 74: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testRecursiveSignalHandler
74/75 Test #74: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testRecursiveSignalHandler ...***Failed  Error regula
r expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.06 sec
      Start 75: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1
75/75 Test #75: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ............................................***Failed    0.08 sec

75% tests passed, 19 tests failed out of 75

Total Test time (real) =  11.91 sec

The following tests FAILED:
         51 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testCall (Failed)
         58 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testProperties (Failed)
         59 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testDynamicProperties (Failed)
         60 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testNoArgSlotCall (Failed)
         61 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPODSlotCalls (Failed)
         62 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testCPPSlotCalls (Failed)
         63 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQVariantSlotCalls (Failed)
         64 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQListSlotCalls (Failed)
         65 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQMapSlotCalls (Failed)
         66 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testObjectSlotCalls (Failed)
         67 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testMultiArgsSlotCall (Failed)
         68 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPyObjectSlotCall (Failed)
         69 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testOverloadedCall (Failed)
         70 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testInheritance (Failed)
         71 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testAutoConversion (Failed)
         72 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testProperties (Failed)
         73 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testSignalHandler (Failed)
         74 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testRecursiveSignalHandler (Failed)
         75 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 (Failed)

@espakm
Copy link
Author

espakm commented Feb 17, 2016

Commit 949c056� (that is the HEAD of jcfr:37-python-init-crash now) crashes for me at this line:

PythonQtConv::global_valueStorage.init();

Tested on Windows with VS2012, release mode with debug symbols.

Full stack trace:

>   PythonQt.dll!PythonQtPrivate::PythonQtPrivate() Line 1302   C++
    PythonQt.dll!PythonQt::PythonQt(int flags, const QByteArray & pythonQtModuleName) Line 262  C++
    PythonQt.dll!PythonQt::init(int flags, const QByteArray & pythonQtModuleName) Line 72   C++
    CTKScriptingPythonCore.dll!ctkAbstractPythonManager::initPythonQt(int flags) Line 141   C++
    CTKScriptingPythonCore.dll!ctkAbstractPythonManager::initialize() Line 122  C++
    MitkPythonService.dll!mitk::PythonService::PythonService() Line 120 C++
    MitkPythonService.dll!mitk::PythonActivator::Load(us::ModuleContext * context) Line 39  C++
    CppMicroServices.dll!us::Module::Start() Line 160   C++
    CppMicroServices.dll!us::ModuleRegistry::Register(us::ModuleInfo * info) Line 129   C++
    MitkPythonService.dll!us::`anonymous namespace'::`dynamic initializer for '_InitializeModule_MitkPythonService''() Line 24  C++
    msvcr110.dll!_initterm(void (void) * * pfbegin, void (void) * * pfend) Line 894 C
    MitkPythonService.dll!_CRT_INIT(void * hDllHandle, unsigned long dwReason, void * lpreserved) Line 300  C
    MitkPythonService.dll!__DllMainCRTStartup(void * hDllHandle, unsigned long dwReason, void * lpreserved) Line 502    C
    ntdll.dll!TpAllocTimer() + 2600 bytes   Unknown
    ntdll.dll!TpAllocTimer() + 2041 bytes   Unknown
    ntdll.dll!LdrLoadDll() + 131 bytes  Unknown
    KernelBase.dll!LoadLibraryExW() + 359 bytes Unknown
    KernelBase.dll!LoadLibraryExA() + 81 bytes  Unknown
    kernel32.dll!LoadLibraryA() + 52 bytes  Unknown
    CppMicroServices.dll!`anonymous namespace'::load_impl(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & modulePath) Line 87  C++
    CppMicroServices.dll!us::AutoLoadModulesFromPath(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & absoluteBasePath, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & subDir) Line 174   C++
    CppMicroServices.dll!us::AutoLoadModules(const us::ModuleInfo & moduleInfo) Line 220    C++
    CppMicroServices.dll!us::Module::Start() Line 162   C++
    CppMicroServices.dll!us::ModuleRegistry::Register(us::ModuleInfo * info) Line 129   C++
    MitkPython.dll!us::`anonymous namespace'::`dynamic initializer for '_InitializeModule_MitkPython''() Line 24    C++
    msvcr110.dll!_initterm(void (void) * * pfbegin, void (void) * * pfend) Line 894 C
    MitkPython.dll!_CRT_INIT(void * hDllHandle, unsigned long dwReason, void * lpreserved) Line 300 C
    MitkPython.dll!__DllMainCRTStartup(void * hDllHandle, unsigned long dwReason, void * lpreserved) Line 502   C
    ntdll.dll!TpAllocTimer() + 2600 bytes   Unknown
    ntdll.dll!TpAllocTimer() + 2041 bytes   Unknown
    ntdll.dll!LdrLoadDll() + 131 bytes  Unknown
    KernelBase.dll!LoadLibraryExW() + 359 bytes Unknown
    QtCore4.dll!QLibrary::unload() + 783 bytes  Unknown
    QtCore4.dll!QLibrary::load() + 103 bytes    Unknown
    QtCore4.dll!QLibrary::loadHints() + 125 bytes   Unknown
    CTKPluginFramework.dll!ctkPluginStorageSQL::insertArchive(QSharedPointer<ctkPluginArchiveSQL> pa, QSqlQuery * query) Line 431   C++
    CTKPluginFramework.dll!ctkPluginStorageSQL::insertArchive(QSharedPointer<ctkPluginArchiveSQL> pa) Line 400  C++
    CTKPluginFramework.dll!ctkPluginStorageSQL::insertPlugin(const QUrl & location, const QString & localPath) Line 378 C++
    CTKPluginFramework.dll!ctkPlugins::install(const QUrl & location, QIODevice * in) Line 119  C++
    CTKPluginFramework.dll!ctkPluginContext::installPlugin(const QUrl & location, QIODevice * in) Line 102  C++
    CTKPluginFramework.dll!ctkPluginFrameworkLauncherPrivate::install(const QUrl & pluginPath, ctkPluginContext * context) Line 239 C++
    CTKPluginFramework.dll!ctkPluginFrameworkLauncherPrivate::loadBasicPlugins() Line 336   C++
    CTKPluginFramework.dll!ctkPluginFrameworkLauncher::startup(QRunnable * __formal) Line 524   C++
    CTKPluginFramework.dll!ctkPluginFrameworkLauncher::run(QRunnable * endSplashHandler, const QVariant & argument) Line 425    C++
    MitkAppUtil.dll!mitk::BaseApplication::main(const std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > & args) Line 684 C++
    PocoUtil.dll!Poco::Util::Application::run() Line 329    C++
    NiftyView.exe!main(int argc, char * * argv) Line 33 C++
    NiftyView.exe!__tmainCRTStartup() Line 536  C
    kernel32.dll!BaseThreadInitThunk() + 13 bytes   Unknown
    ntdll.dll!RtlUserThreadStart() + 33 bytes   Unknown

@espakm
Copy link
Author

espakm commented Feb 17, 2016

This is one of the variables that you found with your regex. Note that int-s and pointers are fine. I will make a patch and run the new tests as well.

@espakm
Copy link
Author

espakm commented Feb 17, 2016

I tried to track down the tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testCall crash. It is not related to the static variables. Something has not be initialised for the signal-slot connection.

Call stack before the crash:

>   PythonQtDynamicLoaderSharedLibrary_1.dll!PythonQtTestApiHelper::qt_metacall(QMetaObject::Call _c, int _id, void * * _a) Line 571    C++
    PythonQt.dll!PythonQtCallSlot(PythonQtClassInfo * classInfo, QObject * objectToCall, _object * args, bool strict, PythonQtSlotInfo * info, void * firstArgument, _object * * pythonReturnValue, void * * directReturnValuePointer, PythonQtPassThisOwnershipType * passThisOwnershipToCPP) Line 180 C++
    PythonQt.dll!PythonQtSlotFunction_CallImpl(PythonQtClassInfo * classInfo, QObject * objectToCall, PythonQtSlotInfo * info, _object * args, _object * __formal, void * firstArg, void * * directReturnValuePointer, PythonQtPassThisOwnershipType * passThisOwnershipToCPP) Line 379 C++
    PythonQt.dll!PythonQtMemberFunction_Call(PythonQtSlotInfo * info, _object * m_self, _object * args, _object * kw) Line 275  C++
    python27.dll!PyObject_Call(_object * func, _object * arg, _object * kw) Line 2530   C
    python27.dll!do_call(_object * func, _object * * * pp_stack, int na, int nk) Line 4239  C
    python27.dll!call_function(_object * * * pp_stack, int oparg) Line 4046 C
    python27.dll!PyEval_EvalFrameEx(_frame * f, int throwflag) Line 2666    C
    python27.dll!PyEval_EvalCodeEx(PyCodeObject * co, _object * globals, _object * locals, _object * * args, int argcount, _object * * kws, int kwcount, _object * * defs, int defcount, _object * closure) Line 3253   C
    python27.dll!function_call(_object * func, _object * arg, _object * kw) Line 531    C
    python27.dll!PyObject_Call(_object * func, _object * arg, _object * kw) Line 2530   C
    python27.dll!PyEval_CallObjectWithKeywords(_object * func, _object * arg, _object * kw) Line 3891   C
    PythonQt.dll!PythonQt::callAndReturnPyObject(_object * callable, const QList<QVariant> & args, const QMap<QString,QVariant> & kwargs) Line 1216 C++
    PythonQt.dll!PythonQt::call(_object * callable, const QList<QVariant> & args, const QMap<QString,QVariant> & kwargs) Line 1180  C++
    PythonQt.dll!PythonQt::call(_object * object, const QString & name, const QList<QVariant> & args, const QMap<QString,QVariant> & kwargs) Line 1170  C++
    PythonQtDynamicLoaderSharedLibrary_1.dll!PythonQtTestApiHelper::call(const QString & function, const QList<QVariant> & args, const QVariant & expectedResult) Line 518  C++
    PythonQtDynamicLoaderSharedLibrary_1.dll!PythonQtTestApi::testCall() Line 529   C++
    QtCore4.dll!QMetaMethod::invoke() + 1070 bytes  Unknown
    QtCore4.dll!QMetaObject::invokeMethod() + 1370 bytes    Unknown
    QtTest4.dll!QTest::qGlobalData() + 1592 bytes   Unknown
    QtTest4.dll!QTest::qGlobalData() + 520 bytes    Unknown
    QtTest4.dll!QTest::qGlobalData() + 2922 bytes   Unknown
    QtTest4.dll!QTest::qExec() + 255 bytes  Unknown
    PythonQtDynamicLoaderSharedLibrary_1.dll!_run_pythonqt_tests() Line 57  C++
    msvcr110.dll!_initterm(void (void) * * pfbegin, void (void) * * pfend) Line 894 C
    PythonQtDynamicLoaderSharedLibrary_1.dll!_CRT_INIT(void * hDllHandle, unsigned long dwReason, void * lpreserved) Line 300   C
    PythonQtDynamicLoaderSharedLibrary_1.dll!__DllMainCRTStartup(void * hDllHandle, unsigned long dwReason, void * lpreserved) Line 502 C
    ntdll.dll!TpAllocTimer() + 2600 bytes   Unknown
    ntdll.dll!TpAllocTimer() + 2041 bytes   Unknown
    ntdll.dll!LdrLoadDll() + 131 bytes  Unknown
    KernelBase.dll!LoadLibraryExW() + 359 bytes Unknown
    QtCore4.dll!QLibrary::unload() + 783 bytes  Unknown
    QtCore4.dll!QLibrary::load() + 103 bytes    Unknown
    PythonQtDynamicLoader_1_Api.exe!main(int argc, char * * argv) Line 31   C++
    PythonQtDynamicLoader_1_Api.exe!__tmainCRTStartup() Line 536    C
    kernel32.dll!BaseThreadInitThunk() + 13 bytes   Unknown
    ntdll.dll!RtlUserThreadStart() + 33 bytes   Unknown

Hope that helps.

@jcfr
Copy link
Member

jcfr commented Feb 17, 2016

Thanks for the update.

Do you have the result of all tests on your system ?

@espakm
Copy link
Author

espakm commented Feb 18, 2016

NifTK@0b3cd63

1>------ Build started: Project: RUN_TESTS, Configuration: Release x64 ------
1>  Test project D:/n/niftk-sb/CTK/build/PythonQt-build
1>        Start  1: tests_PythonQtTestMain_Api_testCall
1>   1/75 Test  #1: tests_PythonQtTestMain_Api_testCall ...........................................................................   Passed    0.03 sec
1>        Start  2: tests_PythonQtTestMain_Api_testVariables
1>   2/75 Test  #2: tests_PythonQtTestMain_Api_testVariables ......................................................................   Passed    0.03 sec
1>        Start  3: tests_PythonQtTestMain_Api_testRedirect
1>   3/75 Test  #3: tests_PythonQtTestMain_Api_testRedirect .......................................................................   Passed    0.04 sec
1>        Start  4: tests_PythonQtTestMain_Api_testImporter
1>   4/75 Test  #4: tests_PythonQtTestMain_Api_testImporter .......................................................................   Passed    0.03 sec
1>        Start  5: tests_PythonQtTestMain_Api_testQColorDecorators
1>   5/75 Test  #5: tests_PythonQtTestMain_Api_testQColorDecorators ...............................................................   Passed    0.03 sec
1>        Start  6: tests_PythonQtTestMain_Api_testQtNamespace
1>   6/75 Test  #6: tests_PythonQtTestMain_Api_testQtNamespace ....................................................................   Passed    0.03 sec
1>        Start  7: tests_PythonQtTestMain_Api_testConnects
1>   7/75 Test  #7: tests_PythonQtTestMain_Api_testConnects .......................................................................   Passed    0.03 sec
1>        Start  8: tests_PythonQtTestMain_Api_testProperties
1>   8/75 Test  #8: tests_PythonQtTestMain_Api_testProperties .....................................................................   Passed    0.03 sec
1>        Start  9: tests_PythonQtTestMain_Api_testDynamicProperties
1>   9/75 Test  #9: tests_PythonQtTestMain_Api_testDynamicProperties ..............................................................   Passed    0.03 sec
1>        Start 10: tests_PythonQtTestMain_SlotCalling_testNoArgSlotCall
1>  10/75 Test #10: tests_PythonQtTestMain_SlotCalling_testNoArgSlotCall ..........................................................   Passed    0.03 sec
1>        Start 11: tests_PythonQtTestMain_SlotCalling_testPODSlotCalls
1>  11/75 Test #11: tests_PythonQtTestMain_SlotCalling_testPODSlotCalls ...........................................................   Passed    0.03 sec
1>        Start 12: tests_PythonQtTestMain_SlotCalling_testCPPSlotCalls
1>  12/75 Test #12: tests_PythonQtTestMain_SlotCalling_testCPPSlotCalls ...........................................................   Passed    0.05 sec
1>        Start 13: tests_PythonQtTestMain_SlotCalling_testQVariantSlotCalls
1>  13/75 Test #13: tests_PythonQtTestMain_SlotCalling_testQVariantSlotCalls ......................................................   Passed    0.03 sec
1>        Start 14: tests_PythonQtTestMain_SlotCalling_testQListSlotCalls
1>  14/75 Test #14: tests_PythonQtTestMain_SlotCalling_testQListSlotCalls .........................................................   Passed    0.03 sec
1>        Start 15: tests_PythonQtTestMain_SlotCalling_testQMapSlotCalls
1>  15/75 Test #15: tests_PythonQtTestMain_SlotCalling_testQMapSlotCalls ..........................................................   Passed    0.03 sec
1>        Start 16: tests_PythonQtTestMain_SlotCalling_testObjectSlotCalls
1>  16/75 Test #16: tests_PythonQtTestMain_SlotCalling_testObjectSlotCalls ........................................................   Passed    0.03 sec
1>        Start 17: tests_PythonQtTestMain_SlotCalling_testMultiArgsSlotCall
1>  17/75 Test #17: tests_PythonQtTestMain_SlotCalling_testMultiArgsSlotCall ......................................................   Passed    0.03 sec
1>        Start 18: tests_PythonQtTestMain_SlotCalling_testPyObjectSlotCall
1>  18/75 Test #18: tests_PythonQtTestMain_SlotCalling_testPyObjectSlotCall .......................................................   Passed    0.03 sec
1>        Start 19: tests_PythonQtTestMain_SlotCalling_testOverloadedCall
1>  19/75 Test #19: tests_PythonQtTestMain_SlotCalling_testOverloadedCall .........................................................   Passed    0.03 sec
1>        Start 20: tests_PythonQtTestMain_SlotCalling_testInheritance
1>  20/75 Test #20: tests_PythonQtTestMain_SlotCalling_testInheritance ............................................................   Passed    0.03 sec
1>        Start 21: tests_PythonQtTestMain_SlotCalling_testAutoConversion
1>  21/75 Test #21: tests_PythonQtTestMain_SlotCalling_testAutoConversion .........................................................   Passed    0.03 sec
1>        Start 22: tests_PythonQtTestMain_SlotCalling_testProperties
1>  22/75 Test #22: tests_PythonQtTestMain_SlotCalling_testProperties .............................................................   Passed    0.03 sec
1>        Start 23: tests_PythonQtTestMain_SignalHandler_testSignalHandler
1>  23/75 Test #23: tests_PythonQtTestMain_SignalHandler_testSignalHandler ........................................................   Passed    0.03 sec
1>        Start 24: tests_PythonQtTestMain_SignalHandler_testRecursiveSignalHandler
1>  24/75 Test #24: tests_PythonQtTestMain_SignalHandler_testRecursiveSignalHandler ...............................................   Passed    0.04 sec
1>        Start 25: tests_PythonQtTestMain
1>  25/75 Test #25: tests_PythonQtTestMain ........................................................................................   Passed    0.05 sec
1>        Start 26: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testCall
1>  26/75 Test #26: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testCall ...............................   Passed    0.15 sec
1>        Start 27: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testVariables
1>  27/75 Test #27: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testVariables ..........................   Passed    0.04 sec
1>        Start 28: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testRedirect
1>  28/75 Test #28: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testRedirect ...........................   Passed    0.04 sec
1>        Start 29: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testImporter
1>  29/75 Test #29: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testImporter ...........................   Passed    0.04 sec
1>        Start 30: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testQColorDecorators
1>  30/75 Test #30: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testQColorDecorators ...................   Passed    0.04 sec
1>        Start 31: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testQtNamespace
1>  31/75 Test #31: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testQtNamespace ........................   Passed    0.05 sec
1>        Start 32: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testConnects
1>  32/75 Test #32: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testConnects ...........................   Passed    0.04 sec
1>        Start 33: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testProperties
1>  33/75 Test #33: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testProperties .........................   Passed    0.04 sec
1>        Start 34: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testDynamicProperties
1>  34/75 Test #34: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_Api_testDynamicProperties ..................   Passed    0.04 sec
1>        Start 35: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testNoArgSlotCall
1>  35/75 Test #35: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testNoArgSlotCall ..............   Passed    0.04 sec
1>        Start 36: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testPODSlotCalls
1>  36/75 Test #36: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testPODSlotCalls ...............   Passed    0.04 sec
1>        Start 37: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testCPPSlotCalls
1>  37/75 Test #37: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testCPPSlotCalls ...............   Passed    0.04 sec
1>        Start 38: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQVariantSlotCalls
1>  38/75 Test #38: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQVariantSlotCalls ..........   Passed    0.04 sec
1>        Start 39: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQListSlotCalls
1>  39/75 Test #39: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQListSlotCalls .............   Passed    0.05 sec
1>        Start 40: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQMapSlotCalls
1>  40/75 Test #40: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testQMapSlotCalls ..............   Passed    0.04 sec
1>        Start 41: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testObjectSlotCalls
1>  41/75 Test #41: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testObjectSlotCalls ............   Passed    0.06 sec
1>        Start 42: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testMultiArgsSlotCall
1>  42/75 Test #42: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testMultiArgsSlotCall ..........   Passed    0.05 sec
1>        Start 43: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testPyObjectSlotCall
1>  43/75 Test #43: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testPyObjectSlotCall ...........   Passed    0.04 sec
1>        Start 44: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testOverloadedCall
1>  44/75 Test #44: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testOverloadedCall .............   Passed    0.04 sec
1>        Start 45: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testInheritance
1>  45/75 Test #45: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testInheritance ................   Passed    0.05 sec
1>        Start 46: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testAutoConversion
1>  46/75 Test #46: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testAutoConversion .............   Passed    0.04 sec
1>        Start 47: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testProperties
1>  47/75 Test #47: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SlotCalling_testProperties .................   Passed    0.04 sec
1>        Start 48: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SignalHandler_testSignalHandler
1>  48/75 Test #48: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SignalHandler_testSignalHandler ............   Passed    0.07 sec
1>        Start 49: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SignalHandler_testRecursiveSignalHandler
1>  49/75 Test #49: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0_SignalHandler_testRecursiveSignalHandler ...   Passed    0.04 sec
1>        Start 50: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0
1>  50/75 Test #50: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_0 ............................................   Passed    0.06 sec
1>        Start 51: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testCall
1>  51/75 Test #51: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testCall ...............................***Failed    0.04 sec
1>        Start 52: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testVariables
1>  52/75 Test #52: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testVariables ..........................   Passed    0.04 sec
1>        Start 53: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testRedirect
1>  53/75 Test #53: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testRedirect ...........................   Passed    0.07 sec
1>        Start 54: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testImporter
1>  54/75 Test #54: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testImporter ...........................   Passed    0.06 sec
1>        Start 55: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testQColorDecorators
1>  55/75 Test #55: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testQColorDecorators ...................   Passed    0.07 sec
1>        Start 56: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testQtNamespace
1>  56/75 Test #56: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testQtNamespace ........................   Passed    0.04 sec
1>        Start 57: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testConnects
1>  57/75 Test #57: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testConnects ...........................   Passed    0.04 sec
1>        Start 58: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testProperties
1>  58/75 Test #58: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testProperties .........................***Failed  Error regular expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.04 sec
1>        Start 59: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testDynamicProperties
1>  59/75 Test #59: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testDynamicProperties ..................***Failed  Error regular expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.04 sec
1>        Start 60: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testNoArgSlotCall
1>  60/75 Test #60: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testNoArgSlotCall ..............***Failed    0.04 sec
1>        Start 61: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPODSlotCalls
1>  61/75 Test #61: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPODSlotCalls ...............***Failed    0.04 sec
1>        Start 62: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testCPPSlotCalls
1>  62/75 Test #62: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testCPPSlotCalls ...............***Failed    0.04 sec
1>        Start 63: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQVariantSlotCalls
1>  63/75 Test #63: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQVariantSlotCalls ..........***Failed    0.04 sec
1>        Start 64: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQListSlotCalls
1>  64/75 Test #64: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQListSlotCalls .............***Failed    0.04 sec
1>        Start 65: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQMapSlotCalls
1>  65/75 Test #65: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQMapSlotCalls ..............***Failed    0.04 sec
1>        Start 66: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testObjectSlotCalls
1>  66/75 Test #66: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testObjectSlotCalls ............***Failed  Error regular expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.04 sec
1>        Start 67: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testMultiArgsSlotCall
1>  67/75 Test #67: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testMultiArgsSlotCall ..........***Failed    0.04 sec
1>        Start 68: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPyObjectSlotCall
1>  68/75 Test #68: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPyObjectSlotCall ...........***Failed    0.04 sec
1>        Start 69: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testOverloadedCall
1>  69/75 Test #69: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testOverloadedCall .............***Failed    0.04 sec
1>        Start 70: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testInheritance
1>  70/75 Test #70: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testInheritance ................***Failed  Error regular expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.04 sec
1>        Start 71: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testAutoConversion
1>  71/75 Test #71: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testAutoConversion .............***Failed  Error regular expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.06 sec
1>        Start 72: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testProperties
1>  72/75 Test #72: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testProperties .................***Failed    0.04 sec
1>        Start 73: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testSignalHandler
1>  73/75 Test #73: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testSignalHandler ............***Failed    0.04 sec
1>        Start 74: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testRecursiveSignalHandler
1>  74/75 Test #74: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testRecursiveSignalHandler ...***Failed  Error regular expression found in output. Regex=[Problem running _run_pythonqt_tests]  0.04 sec
1>        Start 75: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1
1>  75/75 Test #75: tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 ............................................***Failed    0.05 sec
1>  
1>  75% tests passed, 19 tests failed out of 75
1>  
1>  Total Test time (real) =   3.93 sec
1>  
1>  The following tests FAILED:
1>       51 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testCall (Failed)
1>       58 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testProperties (Failed)
1>       59 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_Api_testDynamicProperties (Failed)
1>       60 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testNoArgSlotCall (Failed)
1>       61 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPODSlotCalls (Failed)
1>       62 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testCPPSlotCalls (Failed)
1>       63 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQVariantSlotCalls (Failed)
1>       64 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQListSlotCalls (Failed)
1>       65 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testQMapSlotCalls (Failed)
1>       66 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testObjectSlotCalls (Failed)
1>       67 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testMultiArgsSlotCall (Failed)
1>       68 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testPyObjectSlotCall (Failed)
1>       69 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testOverloadedCall (Failed)
1>       70 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testInheritance (Failed)
1>       71 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testAutoConversion (Failed)
1>       72 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SlotCalling_testProperties (Failed)
1>       73 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testSignalHandler (Failed)
1>       74 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1_SignalHandler_testRecursiveSignalHandler (Failed)
1>       75 - tests_PythonQtDynamicLoading_RUN_TESTSUITE_IN_STATIC_INITIALIZER_1 (Failed)
1>  Errors while running CTest
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: The command "setlocal
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: "C:\Program Files (x86)\CMake\bin\ctest.exe" --force-new-ctest-process -C Release
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :cmEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :cmErrorLevel
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: exit /b %1
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :cmDone
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :VCEnd" exited with code 8.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

@espakm
Copy link
Author

espakm commented Feb 18, 2016

It looks the same as your test results.

@espakm
Copy link
Author

espakm commented Feb 18, 2016

I tried debug mode as well but then it crashes much earlier. But that's another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants