c++ - MSMQ throws exception on MQOpenQueue after Microsoft updates are applied -


we running our c++ program (compiled vs2008) service , calling mqopenqueue. after applying microsoft updates

kb3065979
kb3054205
kb3064209
kb3063858
kb3040272
kb3059317
kb3058515

to windows server 2008 r2 sp1 enterprise machine, calls mqopenqueue failing. problem persisted after removing updates until msmq reinstalled. functioning less day, , began occurring again sporadically.

the exception being thrown exception code 0xe06d7363.

here's stack

kernelbase.dll!_raiseexception@16 ()    unknown  msvcrt.dll!__cxxthrowexception@8 () unknown  mqsec.dll!throwmissingvalue(class regentry const &,long)    unknown  mqsec.dll!registry_access_error::`scalar deleting destructor'(unsigned int) unknown mqsec.dll!cmqueryvalue(class regentry const &,unsigned char * *,unsigned long *)    unknown mqsec.dll!mqsec_getworldsid(void)   unknown mqsec.dll!mqsec_getlocalmachinesid(int,unsigned long *) unknown mqrt.dll!rtpgetthreadusersid(int *,int *,unsigned char * *,unsigned long *) unknown mqrt.dll!rtsecuritycontextbase::initializeuserinfo(void)    unknown mqrt.dll!internalsecuritycontext::createsecuritycontext(void)   unknown mqrt.dll!rtpopenqueue(wchar_t const *,unsigned long,unsigned long,unsigned long *)  unknown mqrt.dll!_mqopenqueue@16 () unknown 

our conclusion program crashing due different problem. using microsoft's debug diagnostic tool generate crash dumps. got 2 crash dumps same process id. this, think, due first dump being obtained when exception thrown down in mqsec.dll. later crash dump due real problem. it's our conjecture first exception caught somewhere in microsoft's dlls , call _mqopenqueue did return, perhaps error. however, exception generated crash dump file above stack trace in it.

we switched our method of obtaining crash dumps @ site setting value of registry key outlined here:

https://msdn.microsoft.com/en-us/library/windows/desktop/bb787181(v=vs.85).aspx

and helped concentrate on real crash , not distracted other exceptions thrown , caught.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -