[OpenSIPS-Devel] [OpenSIPS/opensips] 5fa431: Fixed crash in starting with HP_MALLOC
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Oct 26 07:18:51 EDT 2018
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 5fa431eb2b95fa7e275c9323a0c139bd3d929050
https://github.com/OpenSIPS/opensips/commit/5fa431eb2b95fa7e275c9323a0c139bd3d929050
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2018-10-26 (Fri, 26 Oct 2018)
Changed paths:
M main.c
Log Message:
-----------
Fixed crash in starting with HP_MALLOC
The HP allocator seems to init its stats after the statistics collector starts, so any malloc operatation translates into a crash (before init'ing the stats colector).
Move the first shm malloc after the the collector init.
Reported by Nick Altmann
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Devel
mailing list