I have uploaded my warm-standby emaconfig.xml file. It appears that the configuration item <EnableSessionManagement value="1"/> significantly affects the app's behavior.
Is the WSB feature mandatory for using <ChannelType value="ChannelType::RSSL_ENCRYPTED"/> and <EnableSessionManagement value="1"/>?
I extracted the items above by referring to the 470 tutorial. When I don’t use the WSB feature, no segmentation fault is triggered—this is based on the 113 tutorial.
My app's simplified entrance code show below. Could you please point out my problems?
ps:
I find that SIGINT is used by EMA framework itself, so I use SIGTERM for elegant exit for my own app.