DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35864>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35864

           Summary: status worker doesn't list workers
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


The cause of problem is that the map that stores the worker properties is free'd
after being read. The values of properties, worker_env.worker_list stores just
pointers to the property map. After the property map is free'd the pointers are
invalid. This crashes if one tries to list the workers with the status worker.

Solutions: 1. copy the values (need proper allocation and freeing mem many 
places)
 2. keep the map during the whole lifetime of the ISAPI filter

The patch I attached uses the second solution.

I started with the first solution but this makes changes in many places 
necessary.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to