[ofa-general] ibv_poll_cq calling kill signal

Jeffrey Wong jwong at datallegro.com
Wed Aug 13 15:16:14 PDT 2008


I am running OFED 1.2.5.1
I have an application that contains a ibv completion event handler calling the following:


struct ibv_cq *cq;
struct ibv_comp_channel *channel;
struct ibv_context *device_context;
struct ibv_wc wc;

channel = ibv_create_comp_channel(device_context);
ret = ibv_get_cq_event(channel, &cq, &cq_ctx);
ibv_ack_cq_events(cq, 1);
ret = ibv_poll_cq(cq, 1 &wc);

Periodically I get the following error which kills my application.

[Switching to thread 251 (process 22110)]#0  0x00002b3645d2ee47 in kill ()
   from /lib64/libc.so.6
(gdb) bt
#0  0x00002b3645d2ee47 in kill () from /lib64/libc.so.6
#1  0x00002b3644cd9076 in EXsignal () from
#2  0x00002b3644cd9225 in i_EXcatch ()
#3  <signal handler called>
#4  0x00002aaaed423040 in ?? ()
#5  0x00002b364412385b in ibv_poll_cq (cq=0x2aaaec014f20, num_entries=1,
    wc=0x43001000) at /usr/include/infiniband/verbs.h:883

Any suggestions.

Jeff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080813/1df4efc6/attachment.html>


More information about the general mailing list