[ofa-general] ***SPAM*** server/client userspace application ibv_alloc_pd seg. fault

Dotan Barak dotanba at gmail.com
Mon Jan 12 23:22:46 PST 2009


Maybe you are using the wrong device context...

Did you open the device?

You are welcome to send all of the code before calling ibv_alloc_pd, i
think this will help understand what went wrong ...

Dotan

On Tue, Jan 13, 2009 at 6:41 AM, अनुज <anuj01 at gmail.com> wrote:
> Hi
>
> I am trying to run server client application in which server accepts
> two numbers from client and sends the sum of them to client.
>
> I am using ofed - 1.2 having libibverbs-1.1.1, libmthca-1.0.4 and
> librdmacm-1.0.1.
>
> The client exits at the ibv_alloc_pd() with segmentation fault. While
> I tried to create pd simply  with ibv_alloc_pd() without using rdmacm,
> it's successful.
>
> The gdb output of client is :
>
> .
> .
> main : ibv_alloc_pd()
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 182896337024 (LWP 12634)]
> 0x0000002a95685ee5 in __ibv_alloc_pd (context=0x2a9578d07c) at src/verbs.c:143
> 143     src/verbs.c: No such file or directory.
>        in src/verbs.c
>
> Any clues.
>
> Thanks in Advance
>
>
> --
> Anuj Aggarwal
>
>  .''`.
> : :Ⓐ :   # apt-get install hakuna-matata
> `. `'`
>   `-
>
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>


More information about the general mailing list