r5188 - trunk/varnish-cache/bin/varnishd
phk at varnish-cache.org
phk at varnish-cache.org
Wed Sep 8 13:25:50 CEST 2010
Author: phk
Date: 2010-09-08 13:25:50 +0200 (Wed, 08 Sep 2010)
New Revision: 5188
Modified:
trunk/varnish-cache/bin/varnishd/cache_vrt_vmod.c
Log:
Add an ugly workaround for a bug that causes coredumps in processes which
dlclose() objects compiled with gcov support. (Search "atexit dlclose" for
details).
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_vmod.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_vmod.c 2010-09-08 10:19:17 UTC (rev 5187)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_vmod.c 2010-09-08 11:25:50 UTC (rev 5188)
@@ -122,7 +122,9 @@
*hdl = NULL;
if (--v->ref != 0)
return;
+#ifndef DONT_DLCLOSE_VMODS
dlclose(v->hdl);
+#endif
free(v->nm);
free(v->path);
VTAILQ_REMOVE(&vmods, v, list);
More information about the varnish-commit
mailing list