[ofa-general] Re: [PATCH] opensm/osm_ucast_lash.c: Eliminate possible seg fault in get_osm_switch_from_port

Sasha Khapyorsky sashak at voltaire.com
Tue Jul 14 09:16:11 PDT 2009


On 11:52 Tue 14 Jul     , Hal Rosenstock wrote:
> 
> How about a CL_ASSERT there ?

Not much better than segfault :). I think that we don't need to patch
the main stream code until we understand the problem.

Sasha

> > If you are able to reproduce such case try to find why this happens
> > (crash OpenSM into gdb)
> 
> I put core into gdb but it doesn't show how p_port became NULL

try 'backtrace'.

Sasha



More information about the general mailing list