]
Work on MODCLUSTER-526 started by Michal Karm Babacek.
------------------------------------------------------
SIGSEGV in remove_workers_node (mod_proxy_cluster.so) when using
LoadBalancingGroup
-----------------------------------------------------------------------------------
Key: MODCLUSTER-526
URL:
https://issues.jboss.org/browse/MODCLUSTER-526
Project: mod_cluster
Issue Type: Bug
Components: Native (httpd modules)
Affects Versions: 1.3.3.Final
Environment: Fedora 20, x86_64, httpd 2.4.20
Reporter: Michal Karm Babacek
Assignee: Michal Karm Babacek
Priority: Blocker
Fix For: 1.3.4.Final
* 3 tomcats
* 2 load balancing groups
* 1 request every 3 seconds (no load at all)
* shutdown and kill of various nodes
* no later than third kill/start iteration causes SIGSEGV
{code}
#if AP_MODULE_MAGIC_AT_LEAST(20101223,1)
/* Here that is tricky the worker needs shared memory but we don't and
CONFIG will reset it */
helper->index = 0; /* mark it removed */
worker->s = helper->shared;
crash---> memcpy(worker->s, stat, sizeof(proxy_worker_shared));
#else
worker->id = 0; /* mark it removed */
#endif
{code}