[openib-general] [libibverbs] destroying an AH causes a seg fault (this failure appeared during the last night)

Dotan Barak dotanb at dev.mellanox.co.il
Wed Jan 31 02:11:10 PST 2007


Hi Roland.

During the last night many tests failed in our regression (new failure 
that appeared only during
the last night).

It seems that destroy an AH causes a seg fault, i reproduced it using 
the ibv_ud_pingpong.

Here are the machine props:
*************************************************************
Host Architecture : x86_64
Linux Distribution: SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10
Kernel Version    : 2.6.16.21-0.8-smp
GCC Version       : gcc (GCC) 4.1.0 (SUSE Linux)
Memory size       : 5081168 kB
Driver Version    : gen2_devel-20070130-1817
HCA ID(s)         : mthca0
HCA model(s)      : 25218
FW version(s)     : 5.2.0
Board(s)          : MT_0150000002
*************************************************************

Driver Checksums:
gen2_devel-20070130-1817
Kernel:
Git:
git://git.openfabrics.org/~vlad/ofed_1_2/.git
commit ab8b772956b6178ef14c983fd215d0dda3fb6842
Kernel:
Git:
git://git.openfabrics.org/~vlad/ofed_1_2/.git
commit ab8b772956b6178ef14c983fd215d0dda3fb6842



Here is the backtrace of the core dump:

# gdb ibv_ud_pingpong core
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db 
library "/lib64/libthread_db.so.1".

Core was generated by `ibv_ud_pingpong sw031'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib64/libibverbs.so.1...done.
Loaded symbols for /usr/local//lib64/libibverbs.so.1
Reading symbols from /lib64/libpthread.so.0...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/local/lib64/libcxgb3-rdmav2.so...done.
Loaded symbols for /usr/local/lib64/libcxgb3-rdmav2.so
Reading symbols from /usr/local/lib64/libmthca-rdmav2.so...done.
Loaded symbols for /usr/local/lib64/libmthca-rdmav2.so
#0  0x00002b94b6612263 in __ibv_destroy_ah (ah=0x504e60) at src/verbs.c:475
475             return ah->context->ops.destroy_ah(ah);
(gdb) bt
#0  0x00002b94b6612263 in __ibv_destroy_ah (ah=0x504e60) at src/verbs.c:475
#1  0x0000000000401cb8 in pp_close_ctx (ctx=0x505340) at 
examples/ud_pingpong.c:387
#2  0x0000000000402a2b in main (argc=<value optimized out>, argv=<value 
optimized out>) at examples/ud_pingpong.c:749



thanks
Dotan






More information about the general mailing list