You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/09/09 09:07:32 UTC

[Bug 59334] .NET Application Pools requests hang because Jakarta/Tomcat uses a Named Mutex that is currently owned by a different process

https://bz.apache.org/bugzilla/show_bug.cgi?id=59334

--- Comment #8 from Christian Swoboda <e9...@stud2.tuwien.ac.at> ---
Hi!

I think the link to the proposed patch should be to:
https://bz.apache.org/bugzilla/show_bug.cgi?id=58813#c1

Matthew Reiter analyzed the problem there in detail and found out that the bug
is in TerminateFilter (in jk_isapi_plugin.c) 

version 1.2.41 
Line 2424:    ReleaseMutex(&init_cs);

should be:    ReleaseMutex(init_cs);

Here is his explanation:
---
In TerminateFilter (in jk_isapi_plugin.c), ReleaseMutex is being called with
the address of the init_cs variable rather than its value, causing init_cs to
never be released. As a result, when GetExtensionVersion is subsequently
called, it is unable to acquire init_cs and so the plugin never finishes
initializing. I was able to confirm that removing the extra "&" fixes the
problem.
---

Could you please fix this, cause we are having this critical problem as well!

Thanks!
  swobi

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org