Exceptions on killing a device that access other devices
|
|
---|---|
Hi, While testing Tango9 on Debian9 I discovered that PyPLC (a python device server using a Modbus C++ device to connect to PLC devices) triggered an "omni_thread fatal exception" error (and a coredump) when killing the device. Further debugging the issue I've made disappear the exception just adding a "del" call in the delete_device method:
This issue is completely new in PyTango 9.2 and I haven't seen it with the same device in PyTango 9.1, 8 or 7. Are anyone having the same problem or do you always delete proxies on exit? Sergi - ALBA |
|
|
---|---|
Hi Sergi, I cannot reproduce your issue with pytango-9.2.1. Could you try the following code:
Thanks |
|
|
---|---|
Hi Vincent, On PyTango-9.2.0 I miss the tango.test_context module. Anyway, my case could be harder to reproduce as I'm using asynchronous commands on a background thread. I'm going to update PyTango and check if the error persists. Sergi |
|
|
---|---|
sergi_rubio If you want to run the test with pytango-9.2.0, you can declare a new device in the database and run this code instead:
sergi_rubio Yes that is likely to be related. You can report the issue on the pytango tracker once you managed to reproduce it. Cheers |