On 3/20/24 03:54, Daniel Ding wrote: > After running ovs-tcpdump and inputs multiple CTRL+C, the program will > raise the following exception. > > Error in atexit._run_exitfuncs: > Traceback (most recent call last): > File "/usr/bin/ovs-tcpdump", line 421, in cleanup_mirror > ovsdb = OVSDB(db_sock) > File "/usr/bin/ovs-tcpdump", line 168, in __init__ > OVSDB.wait_for_db_change(self._idl_conn) # Initial Sync with DB > File "/usr/bin/ovs-tcpdump", line 155, in wait_for_db_change > while idl.change_seqno == seq and not idl.run(): > > The default handler of SIGINT is default_int_handler, so it was not > registered to the signal handler. When received CTRL+C again, the program > was broken, and calling hook could not be executed completely. > > Signed-off-by: Daniel Ding <[email protected]> > ---
Thanks! Applied and backported to 3.3. It seems a little risky to backport further since we're changing the behavior of the base library, so I didn't backport further for now. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
