[openib-general] Segmentation fault when calling osmv_get_query_svc_rec()

Hal Rosenstock halr at voltaire.com
Tue Nov 21 09:38:11 PST 2006


On Tue, 2006-11-21 at 12:09, Steven Wooding wrote:
> Hi,
>  
> I've come across a problem with my code when doing a Service Record
> lookup. It's all fine until I call osmv_get_query_svc_rec(), which
> then calls osmv_get_query_result(). The segmentation fault then occurs
> on the return line.
>  
> I'm using OFED release 1.0 (I tried upgrading to 1.1, but that fails
> to build, complaining about the C++ preprocessor "/lib/cpp" failing
> it's sanity check).
>  
> A run of "osmtest -f s" works fine, so it is something in my code.
>  
> Can anybody suggest what I can do next to solve this problem?

Look at it with the debugger to see why it is seg faulting. That might
provide a clue as to what is going wrong.

-- Hal

>  
> Thanks a lot.
>  
> Cheers,
>  
> Steve.
>  
> PS. System is RHEL4, with Intel Compiler.
> 
> ______________________________________________________________________
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general





More information about the general mailing list