Hi Jason, I have said that ibv_query_device return non-zero, then the code will call abort function. Example: if (ibv_query_device(ctxt, device_attr)) { abort(); } The demo program could reproduce the problem i.e. ibv_query_device_device return non-zero. https://github.com/iotcg/rdma_error/blob/master/x722_mcx4.cpp B.R. Changcheng On 08:27 Wed 24 Apr, Jason Gunthorpe wrote: > On Wed, Apr 24, 2019 at 06:28:53PM +0800, Liu, Changcheng wrote: > > Hi Jason, > > When failing to query device(ibv_query_device return -13), the > > program call abort to trigger the segmental fault actively. > > Can you investigate why it crashes? What is the stack trace? > > Jason