tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@mail.more.net>
Subject Re: AW: mod_jk 1.2.3 release source distribution
Date Wed, 30 Apr 2003 17:07:22 GMT
The latest patch which changes when cleanup happens causes
seg faults on unix.

We will need to look into this more. The logging code is
only using apache ap_ and apr_ functions which are supposed
to be portable across different OS's.

Regards,

Glenn

Mladen Turk wrote:
> 
>>-----Original Message-----
>>From: Glenn Nielsen
>>
>>Your patch caused seg faults on unix.  Looking at the code I 
>>think I may have found a solution.  Using the static main_log 
>>in jk_apr_pool_cleanup rather than conf->log.
>>
> 
> 
> Sorry the latest patch doesn't work on WIN32 :(.
> 
> The problem is that the pool cleanups are run in LIFO manner,
> meaning last registered cleanup is run as first.
> So you have jk_apr_pool_cleanup that runs after the log file is
> closed by it's cleanup function.
> 
> Using static main_log doesn't solve the problem, cause you have a
> pointer, but the file
> is closed anyway.
> 
> I'll commit the patch that registers cleanup inside post_config.
> That at least solves the problem on WIN32.
> 
> If that fails on UNIX then we'll need some redesign.
> 
> MT.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 


-- 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------


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


Mime
View raw message