utmapp / utmapp/UTM

TestFlight: Crash in visit_type_q_obj_RDMA_GID_STATUS_CHANGED_arg

Open
#3,516 0 comments 0 reactions 0 assignees View on GitHub
crash macOS
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

This one is weird because we should never be calling `visit_type_q_obj_RDMA_GID_STATUS_CHANGED_arg()`. The only way the code could be called is through `qapi-emit-events.c` with

```c
case QAPI_EVENT_RDMA_GID_STATUS_CHANGED:
if (qapi_enum_handler_registry_data.qapi_rdma_gid_status_changed_handler) {
qapi_event_dispatch_RDMA_GID_STATUS_CHANGED(qapi_enum_handler_registry_data.qapi_rdma_gid_status_changed_handler, data, ctx);
}
```

But that handler is always NULL.

[2022-01-21_13-15-13.3643_-0600-9236c8808f6bc53d0d410214e5885517fd08827e.txt](https://github.com/utmapp/UTM/files/7917944/2022-01-21_13-15-13.3643_-0600-9236c8808f6bc53d0d410214e5885517fd08827e.txt)
[2022-01-21_13-17-24.1375_-0600-a603560e28d9a5eedcc2ba0034de56b206f6da83.txt](https://github.com/utmapp/UTM/files/7917945/2022-01-21_13-17-24.1375_-0600-a603560e28d9a5eedcc2ba0034de56b206f6da83.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.