leezu opened a new issue #17988: Row-sparse constant initializer accesses out of bound elements URL: https://github.com/apache/incubator-mxnet/issues/17988 ## Description CI with updated toolchain (ie #17984) catches the bug. `vector: :_M_range_check: __n (which is 4) >= this->size() (which is 4)` ### Error Message ## To Reproduce Build with this simple patch ``` diff diff --git a/src/c_api/c_api_executor.cc b/src/c_api/c_api_executor.cc index afc64f73d..41193b596 100644 --- a/src/c_api/c_api_executor.cc +++ b/src/c_api/c_api_executor.cc @@ -809,7 +809,7 @@ int _SimpleBindImpl(SymbolHandle symbol_handle, ret->ret_vec_charp.push_back(ret->ret_vec_str.back().c_str()); } *shared_buffer_len = shared_buffer_map.size(); - *updated_shared_buffer_handle_list = &(ret->ret_handles[nd_idx]); + *updated_shared_buffer_handle_list = &(ret->ret_handles.at(nd_idx)); *updated_shared_buffer_name_list = &(ret->ret_vec_charp[0]); } ``` OR follow the instructions in https://github.com/apache/incubator-mxnet/issues/17987 to trigger this via glibc assertions in debug build. Wonder if this is related to https://github.com/apache/incubator-mxnet/issues/14189 CC: @eric-haibin-lin
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services