[ofw] memory violation in wv_srq Query
    Hefty, Sean 
    sean.hefty at intel.com
       
    Thu Jul 15 10:45:12 PDT 2010
    
    
  
> > I got a memory violation error in wv_srq.cpp Query() function around line
> > 202. It seems using uninitialized verbsData.output_size for memcpy. The
> > verbsData.input_size is initialized in WvPreQueryQp (wvuverbs.cpp), and
> it
> > has a similar memcpy in this function too.
> >
> > Could this be a bug? It happens when I call ibv_modify_srq() in the
> > application.
> 
> I'm not sure if any other app has ever called through the SRQ code path.
> I'll take a look at this.
This definitely looks like a bug.  I believe that I need to add:
p_umv_buf->output_size = 0;
to wv_uverbs.cpp everywhere that the input_size is set to 0.
I'll make that change and provide you an updated copy of winverbs.dll for further testing.  What OS and CPU architecture are you running on?
- Sean
    
    
More information about the ofw
mailing list