Qt Application Crash when calling app.quit() in PyTango 9.2.0 (it works with PyTango 8.1.6)

guifre.cuni
Hi, could it be related to ZMQ socket/context management?

https://stackoverflow.com/questions/19795245/zeromq-context-singleton-provided-in-a-dll-crashes-when-program-exits-vs2010

Sure looks like it. Nice catch Guifre!
Yes nice catch indeed! Is this in the C++ or Python code?
Hi, sorry for the late response. The last two messages are on the second page an I missed them.

Maybe a Tango C++ expert can confirm but my guess is that the error is in 0MQ itself.
If this is true the only fix I see is to recompile the whole chain with a version of ZMQ library which fixes the problem.
Hi,

The error seems to be in 0MQ itself indeed.
You can refer to the following libzmq issues:
https://github.com/zeromq/libzmq/issues/1377
https://github.com/zeromq/libzmq/issues/1144

So it should have been fixed in 0MQ >= 4.2.0 with this Pull Request: https://github.com/zeromq/libzmq/commit/88ac63189c8320e81cc2e61613b0888d34fb463d

Please avoid 0MQ 4.2.0 and 4.2.1 because there is another annoying bug (See https://github.com/tango-controls/cppTango/issues/444 for more information).


Kind regards,
Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
 
Register or login to create to post a reply.