We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Due to my own code, there is a segfault only when running manager with -s web.
-s web
Current Behavior When we run any configuration of manager with -s web, I can get it to segfault every time. The issue is caused by #82 . Key points:
Expected behavior/code We should not have segmentation faults.
Steps to reproduce
./go.sh 0,1,2,3 1 0xF0 -s web
./go.sh 1 -d 1
./go.sh 1
Environment
Possible Solution I think I found the solution, but might want to wait on it until the release is complete to add more PRs. Instead of:
cJSON_Delete(onvm_json_root); cJSON_Delete(onvm_json_events_arr);
We want:
cJSON_Delete(onvm_json_events_arr); cJSON_Delete(onvm_json_root);
My thought is that there are shared members between the two cJSON objects, and when root is deleted first, cJSON faults out on line https://github.com/sdnfv/openNetVM/blob/master/onvm/lib/cJSON.c#L1877
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Due to my own code, there is a segfault only when running manager with
-s web
.Current Behavior
When we run any configuration of manager with
-s web
, I can get it to segfault every time. The issue is caused by #82 . Key points:Expected behavior/code
We should not have segmentation faults.
Steps to reproduce
./go.sh 0,1,2,3 1 0xF0 -s web
./go.sh 1 -d 1
./go.sh 1
Environment
Possible Solution
I think I found the solution, but might want to wait on it until the release is complete to add more PRs.
Instead of:
We want:
My thought is that there are shared members between the two cJSON objects, and when root is deleted first, cJSON faults out on line https://github.com/sdnfv/openNetVM/blob/master/onvm/lib/cJSON.c#L1877
The text was updated successfully, but these errors were encountered: