Bug ID 599223: Prevent static destructors in tmipsecd daemon

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
12.1.0, 12.1.1, 12.1.2, 12.1.3, 12.1.3.1, 12.1.3.2, 12.1.3.3, 12.1.3.4, 12.1.3.5

Fixed In:
13.0.0, 12.1.3.6

Opened: Jun 14, 2016

Severity: 2-Critical

Symptoms

The tmipsecd daemon can leave a core when it exits main().

Impact

Generation of a distracting core, using disk space and attracting user attention unnecessarily. (Since tmipsecd was restarting anyway, the restart is not extra impact.)

Conditions

When tmipsecd exits deliberately, say in response to an exception, this can crash during program cleanup, despite the cleanup not being necessary. What begins as a clean termination turns into a messy crash.

Workaround

there is no workaround.

Fix Information

When a tmipsecd process terminates, cleaning up globals on shutdown is unnecessary, so this has now been prevented. So we cannot get a core when cleanup fails.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips