-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
orchagent core dump when executing with -s option (syncMode) #1014
Conversation
dzhangalibaba
commented
Aug 1, 2019
- before changes:
- orchagent create_switch first, which is using redis_generic_create() to write ASIC_DB, and syncd will handle this request, since syncd is in syncMode, a response with op "getresponse" is send via internal_syncd_api_send_response().
- but in orchagent , g_syncMode is not set yet at this moment, so there is no internal_api_wait_for_response() waiting the response generated by internal_syncd_api_send_response()
- later internal_redis_generic_get() is invoked and got the response which is not for it. That response cause get_switch_attr into segfault and orchagent exit
- after the changes:
- set g_syncMode first before create_switch
- internal_api_wait_for_response() will be there when using redis_generic_create() to consume the response generated via internal_syncd_api_send_response
- later, internal_redis_generic_get() got its expected response
this issue is a must seen issue. Looks the merged syncMode commit is not tested |
retest this please |
looks the vs test itself has some issues? |
yes seems like it, @lguohan have you seen this before? i saw other issues with tests before not related to actual PR, all of the error are: AHH it maybe related to the reboot of test bed today |
retest this please |
3 similar comments
retest this please |
retest this please |
retest this please |
Retest this please |
The original fan status can be one of "OK", "Not OK", "N/A". This PR allows a new fan status "Updating". If fan status is not "true" or "false", display the status field value in CLI output.