Re: rdma_get_devices usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux