[openib-general] Re: [uDAPL] dtest server never ends when using the dapl provider "OpenIB-scm1"

Dotan Barak dotanb at mellanox.co.il
Mon Apr 17 23:37:50 PDT 2006


> >
> Hmm, not sure what this thread is waiting on. I would expect 
> to see the 
> dat_ep_disconnect messages before the wait complete or at least the 
> dat_ep_disconnect message indicating a blocking disconnect call. The 
> next 3 messages expected are as follow:
> 
> dat_ep_disconnect
> dat_ep_disconnect completed
> dat_evd_wait for h_conn_evd completed
> 
> Can you attach to the server process with gdb and get me a 
> back trace from each of the threads?
> 
> What does driver IBED-1.0-rc3 consist of? 
> 
> Thanks,
> 
> -arlin
> 
> 

Here is a back trace of the hanged process:
(gdb) bt
#0  0x00002aaaab31c86a in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/tls/libpthread.so.0
#1  0x00002aaaab42ef5b in dapl_os_wait_object_wait (wait_obj=0x516650,
timeout_val=<value optimized out>) at dapl_osd.c:276
#2  0x00002aaaab42e9ab in dapl_evd_wait (evd_handle=0x516560,
time_out=4294967295, threshold=1, event=0x7fffffdd7bf0,
nmore=0x7fffffdd7c2c)
    at dapl_evd_wait.c:233
#3  0x00000000004021ab in disconnect_ep () at dtest.c:894
#4  0x0000000000404cad in main (argc=4, argv=<value optimized out>) at
dtest.c:375

please note that my version of dtest has some small changed, but line
894 is the following code:

        ret = dat_evd_wait( h_conn_evd, DAT_TIMEOUT_INFINITE, 1, &event,
&nmore );
        if(ret != DAT_SUCCESS) {
                fprintf(stderr, "%d Error dat_evd_wait: %s\n",
                                getpid(),DT_RetToString(ret));
        }
        else {
                LOGPRINTF("%d dat_evd_wait for h_conn_evd completed\n",
getpid());
        }


thanks
Dotan



More information about the general mailing list