Hi all,

I ported our applications to MITK 2014.10 and several tests fail since. I investigated and found some facts which will hopefully help you help me :)

They do nothing if I start them individually with *TestDriver.exe. They simpy print \n and return to the command line. One time though, I was able to run one test, not sure what I did. It printed: 3: 0.18 core.int.coreAct WARNING: In `anonymous-namespace'::load_impl at ..\..\..\..\..\Core\CppMicroServices\core\src\util\usUtils.cpp:90 : L'accès à cet emplacement de la mémoire n'est pas valide.(French for: Access to this memory address is invalid) 3: 0.18 core.int.coreAct WARNING: In us::AutoLoadModulesFromPath at ..\..\..\..\..\Core\CppMicroServices\core\src\util\usUtils.cpp:176 : Auto-loading of module C:\Imeka\plitk\imeka-plitk\_VS12_x32_2014.10\bin\MitkCore\Release\ImekaIO.dll failed.
Available tests:
  0. VFFReaderTest
I understand the second message. We added a "AUTOLOAD_WITH MitkCore" in our IO module because I think it's mandatory for the Activator to Register all the readers and writers. Is there another way?

The error messages doesn't help me much:
18/N Test #18: BoundingObjectTest1 ............................***Exception: Other 0.37 sec 19/N Test #19: VFFReaderTest1 .................................***Exception: Other 0.41 sec
... and it's  not better with -VV

Running one of the failing test in debug (to understand what Other Exception is) leads me to a strange place. The place itself (dbgheap.c) is probably uninteresting to MITK, but the stack trace might be of interest. Take a look at the attachment. We can see that it never enters the test. It just kills itself before. This only happens in debug though.

I'm unsure what to do next. I know the content of my test is ok (a simple std::cout make them fail...) but I can't get them to run. I would appreciate any help! Thanks and have a nice day.

--
Logo Imeka <http://imeka.ca/>     Nil Goyette, M.Sc.
www.imeka.ca <http://imeka.ca/>

>       msvcr110d.dll!_msize_dbg(void * pUserData=0x87ee1468, int nBlockUse=2) 
> Line 1516        C++
        msvcr110d.dll!_dllonexit_nolock(int (void) * func=0xf8e1204b, void 
(void) * * * pbegin=0x0046e07c, void (void) * * * pend=0x0046e078) Line 291  C
        msvcr110d.dll!__dllonexit(int (void) * func=0xf8e1204b, void (void) * * 
* pbegin=0x0046e07c, void (void) * * * pend=0x0046e078) Line 269        C
        QtCored4.dll!_onexit(int (void) * func=0x66ce5f90) Line 158     C
        QtCored4.dll!atexit(void (void) * func=0x66ce5f90) Line 175     C
        QtCored4.dll!registeredInterpolators() Line 403 C++
        QtCored4.dll!QVariantAnimation::registerInterpolator(QVariant (const 
void *, const void *, double) * func=0x648c6424, int interpolationType=67) Line 
435        C++
        QtGuid4.dll!qRegisterAnimationInterpolator<QColor>(QVariant (const 
QColor &, const QColor &, double) * func=0x648c6424) Line 121        C++
        QtGuid4.dll!qRegisterGuiGetInterpolator() Line 69       C++
        QtGuid4.dll!`dynamic initializer for 
'qRegisterGuiGetInterpolator__init_variable__''() Line 76  C++
        msvcr110d.dll!_initterm(void (void) * * pfbegin=0x65353104, void (void) 
* * pfend=0x653534a4) Line 894  C
        QtGuid4.dll!_CRT_INIT(void * hDllHandle=0x648c0000, unsigned long 
dwReason=1, void * lpreserved=0x00000000) Line 295    C
        QtGuid4.dll!__DllMainCRTStartup(void * hDllHandle=0x648c0000, unsigned 
long dwReason=1, void * lpreserved=0x00000000) Line 502  C
        QtGuid4.dll!_DllMainCRTStartup(void * hDllHandle=0x648c0000, unsigned 
long dwReason=1, void * lpreserved=0x00000000) Line 472   C
        ntdll.dll!778c99a0()    Unknown
        [Frames below may be incorrect and/or missing, no symbols loaded for 
ntdll.dll] 
        ntdll.dll!778cd939()    Unknown
        ntdll.dll!778cc558()    Unknown
        ntdll.dll!778c7da3()    Unknown
        KernelBase.dll!76ff2ca2()       Unknown
        KernelBase.dll!76ff2cff()       Unknown
        kernel32.dll!76ee49d0() 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=0x077614e0) Line 129    C++
        MitkCore.dll!us::`anonymous 
namespace'::ModuleInitializer_MitkCore::Register() Line 461 C++
        MitkCore.dll!us::`anonymous 
namespace'::ModuleInitializer_MitkCore::ModuleInitializer_MitkCore() Line 461   
    C++
        MitkCore.dll!us::`anonymous namespace'::`dynamic initializer for 
'_InitializeModule_MitkCore''() Line 461       C++
        msvcr110d.dll!_initterm(void (void) * * pfbegin=0x1173584c, void (void) 
* * pfend=0x11735e34) Line 894  C
        MitkCore.dll!_CRT_INIT(void * hDllHandle=0x0f6a0000, unsigned long 
dwReason=1, void * lpreserved=0x0046f6f0) Line 295   C
        MitkCore.dll!__DllMainCRTStartup(void * hDllHandle=0x0f6a0000, unsigned 
long dwReason=1, void * lpreserved=0x0046f6f0) Line 502 C
        MitkCore.dll!_DllMainCRTStartup(void * hDllHandle=0x0f6a0000, unsigned 
long dwReason=1, void * lpreserved=0x0046f6f0) Line 472  C
        ntdll.dll!778c99a0()    Unknown
        ntdll.dll!778cd939()    Unknown
        ntdll.dll!778ce00d()    Unknown
        ntdll.dll!778d686c()    Unknown
        ntdll.dll!778c9ef9()    Unknown
        777034d8()      Unknown
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to