Comment 12 for bug 1877113

Revision history for this message
Andrew Johnson (anj) wrote :

I also uncommented this line
    result = ca_add_array_event(...,&pEventID);
and (on MacOS) get no issues from running caput against a 7.0 IOC:

woz$ caput anj:exit 1
MODIFIED MODIFIED MODIFIED MODIFIED MODIFIED MODIFIED MODIFIED MODIFIED MODIFIED
Channel: anj:exit
ca_create_channel: Normal successful completion
connect_event_handler
anj:exit has just connected with channel id=0x104259000 count=1 native type=DBF_DOUBLE
channel connected
Old : data_event_handler
anj:exit 0
channel connected
New : data_event_handler
anj:exit 1

I tried removing the call to ca_clear_event() from the connect_event_handler() (although it's never actually called there since the associated message doesn't appear in the above output) and adding a second call to ca_clear_event() in main() and I still get no crash.