Comment 2 for bug 1877113

Revision history for this message
Helge Brands (helge-brands) wrote :

Hi Michael,

valgrind only tells me that this is uninitialized pointer as you already said. But I guess somebody already thought about this problem: There is a note in cacIO.h about bad practice

The problem can replicated easily. The question is only what is the error in terms of:

1) why is the data structure corrupted (zeroed,deleted...)
2) why there is no callback for the disconnect
3) how this can be detected.

I tried an old EPICS (3.14.12) and a new one (7.0.3.2) in debug, but both are showing the same behavior.
Can you give me some hints where to set some breakpoints to find some problems. It look that this a sync problem between the put and the release of callbacks.

Best regards
     Helge