- **status**: assigned --> fixed
- **Comment**:
changeset: 8479:ea44e9d1f605
user:Rafael Odzakow
summary: smf: builds on ubuntu 16.04 cause segmentation fault [#2242]
Node ID ea44e9d1f60526ee713e61b4c5ee34e124baee2f
Parent 9049130e91f100f1828b0723504f881cfd6baa6c
---
** [tickets:#2242] smf: builds on ubuntu 16.04 cause segmentation fault**
**Status:** fixed
**Milestone:** 5.2.FC
**Created:** Thu Dec 22, 2016 12:49 PM UTC by Rafael
**Last Updated:** Thu Dec 22, 2016 12:49 PM UTC
**Owner:** Rafael
The following message in core dump
438 Program terminated with signal SIGSEGV, Segmentation fault.
439 #0 __memcmp_sse2 () at ../sysdeps/x86_64/multiarch/../memcmp.S:276
called from function: SmfUpgradeProcedure::addStepModificationsNode
on this usage:
... = i_newStep->getActivationUnitList().front().name;
When the list is empty on ubuntu 16 builds it will case a segfault. Solution is
to check size before assignment.
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets