Is this a known issue while creating a DACS authorization context? The release libraries work fine, the only debug build has this error. I'm using OpenDACS 8.0.0L1 with RFA 8.1.3.L1 linked statically on Windows 32 bit / Visual C++ 12. Got following error:
Assertion failed: pDacsSystem != NULL, file C:\Jenkins\workspace\RFACPPDEV_RCDEV\OS\VS120-32\rcdev\source\dlib\cppdacslib\src\DacsLibThread.cpp, line 184
Failed stack trace:
NtWaitForSingleObject (ntdll.dll)
WaitForSingleObjectEx (kernel32.dll)
WaitForSingleObject (kernel32.dll)
crt_sig_handler (...]
raise (MSVCR120D.dll)
CrtSetReportHookW2 (MSVCR120D.dll)
VCrtDbgReportW (MSVCR120D.dll)
CrtDbgReportW (MSVCR120D.dll)
CrtDbgReportW (MSVCR120D.dll)
memcmp (MSVCR120D.dll)
abort (MSVCR120D.dll)
wassert (MSVCR120D.dll)
rfa::dacs::CDacsLibThread::runThread (...) [c:\jenkins\workspace\rfacppdev_rcdev\os\vs120-32\rcdev\source\dlib\cppdacslib\src\dacslibthread.cpp:184]
rfa::support::Thread::startWrapper (...) [c:\jenkins\workspace\rfacppdev_rcdev\os\vs120-32\rcdev\source\rfaut\common\support\os\impl\thread.cpp:46]
beginthreadex (MSVCR120D.dll)
endthreadex (MSVCR120D.dll)
BaseThreadInitThunk (kernel32.dll)
RtlInitializeExceptionChain (ntdll.dll)
RtlInitializeExceptionChain (ntdll.dll)
I have following code for creating the context. I checked that dacsAuthSystem is not NULL.
dacsAuthSystem->createAuthorizationAgent( rfac::RFA_String( "some name" ), false /*withCompleteEvents*/ );
The issue is not consistent.