[openib-general] OFED-1.1: *** stack smashing detected ***: opensm terminated

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Tue Nov 21 06:00:38 PST 2006


Hal Rosenstock wrote:
> On Mon, 2006-11-13 at 14:32, Tziporet Koren wrote:
>   
>> Hal Rosenstock wrote:
>>     
>>> Can you see if this fixes it ? Thanks.
>>>  
>>> -- Hal
>>>  
>>> Index: opensm/osm_helper.c
>>> ===================================================================
>>> --- opensm/osm_helper.c (revision 10089)
>>> +++ opensm/osm_helper.c (working copy)
>>> @@ -1264,7 +1264,7 @@
>>>    IN const ib_service_record_t* const p_sr,
>>>    IN const osm_log_level_t log_level )
>>>  {
>>> -  char buf_service_key[33];
>>> +  char buf_service_key[35];
>>>    char buf_service_name[65];
>>>    if( osm_log_is_active( p_log, log_level ) )
>>>
>>>   
>>>       
>> Hal,
>> If this patch does solve the problem please add it to the support page 
>> of OFED 1.1 on the Wiki 
>> (https://openib.org/tiki/tiki-index.php?page=OFED+Support)
>>     
>
> So do I update the OpenSM sources, just run:
> ofed_patch.sh --add -type user
> or both for a given patch ? 
>
> -- Hal
>
>   
Hal,
You can update https://openib.org/tiki/tiki-index.php?page=OFED+Support 
page under "Known Issues:"
In order to add patch to OFED-1.1:
./ofed_patch.sh --add --ofed /tmp/OFED-1.1/ --patch 
/tmp/osm_helper.patch --type user

Where osm_helper.patch:

Index: openib/src/userspace/management/osm/opensm/osm_helper.c
===================================================================
--- openib/src/userspace/management/osm/opensm/osm_helper.c (revision 10089)
+++ openib/src/userspace/management/osm/opensm/osm_helper.c (working copy)
@@ -1264,7 +1264,7 @@
   IN const ib_service_record_t* const p_sr,
   IN const osm_log_level_t log_level )
 {
-  char buf_service_key[33];
+  char buf_service_key[35];
   char buf_service_name[65];
   if( osm_log_is_active( p_log, log_level ) )


Regards,
Vladimir
>> Thanks,
>> Tziporet
>>     
>
>
> _______________________________________________
> 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