Re: Is that a race condition bug?

2010-02-04 Thread Tianwei
On Fri, Feb 5, 2010 at 12:14 AM, Nick Kew wrote: > On Thu, 4 Feb 2010 15:20:54 +0800 > Tianwei wrote: > > > besides, the following warning indicated that developer already have > > been aware of the problem and tolerate it: > > 1. comments in

Re: Is that a race condition bug?

2010-02-03 Thread Tianwei
- aaron */ 633 if (requests_this_child <= 0) { 634 check_infinite_requests(); 635 } 2. reported by tsan: ==5876== WARNING: Possible data race during read of size 4 at 0x6FB768: {{{ ==5876==T22 (locks held: {}): ==5876== #0 listener_thread /home/tianwei/apache/ht

Is that a race condition bug?

2010-02-03 Thread Tianwei
during write of size 8 at 0x429C578: {{{ ==5876==    T2 (locks held: {L1}): ==5876==     #0  apr_atomic_casptr /home/tianwei/apache/httpd-2.2.14/srclib/apr/atomic/unix/mutex.c:184 ==5876==     #1  ap_queue_info_set_idle /home/tianwei/apache/httpd-2.2.14/server/mpm/worker/fdqueue.c:104 ==5876==     #2

Re: signal handler questions

2009-12-08 Thread Tianwei
On Wed, Dec 9, 2009 at 12:22 AM, Tom Evans wrote: > On Tue, Dec 8, 2009 at 2:57 PM, Tianwei wrote: > > Hi, all, > >I met some SIGHUP problem for my httpd-2.2.14 version. To verify this > > problem, I use a clean 2.2.14 version, and configure it with: > >

Re: signal handler questions

2009-12-08 Thread Tianwei
Hi, all, I met some SIGHUP problem for my httpd-2.2.14 version. To verify this problem, I use a clean 2.2.14 version, and configure it with: CFLAGS="-O0 -g" ./configure --prefix=/home/tianwei/apache/install/ --with-mpm=worker after installing, in gdb: (gdb) file bin/httpd Readi

signal handler questions

2009-12-07 Thread Tianwei
andler mechanism in httpd. Can anyone kindly point me to the right document or code place where I can insert my stop function? Thanks very much. Tianwei -- Sheng, Tianwei Inst. of High Performance Computing Dept. of Computer Sci. & Tech. Tsinghua Univ.