httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50916] New: RewriteMap program: mod_rewrite sends request but does not read response?!?!
Date Fri, 11 Mar 2011 17:13:39 GMT

           Summary: RewriteMap program: mod_rewrite sends request but does
                    not read response?!?!
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite

Created an attachment (id=26764)
 --> (
mod_rewrite additional debug logs

It looks like a thread acquires the lock, sends a request line to the map
program and `disappears'??

The next thread acquires the lock (?) sends it's request line and reads the
response from the previous request:-(

After that, the synchronisation is broken:-(

I added a couple of debug prints to mod_rewrite (diff attached) and they
generated the following log (after about two days of running fine:-()

ii.247 - - [10/Mar/2011:10:02:27 +0000] (1) mw before
lookup_map_program(http://ih/api;usersguide) thread= 0x00000014
ii.247 - - [10/Mar/2011:10:02:27 +0000] (1) mw lookup_map_program thread=
0x00000014 aquire_lock
ii.247 - - [10/Mar/2011:10:02:28 +0000] (1) mw before
lookup_map_program(http://ih/api;versioncontrol) thread= 0x00000009
ii.247 - - [10/Mar/2011:10:02:28 +0000] (1) mw lookup_map_program
thread= 0x00000009 aquire_lock
ii.247 - - [10/Mar/2011:10:02:28 +0000] (1) mw lookup_map_program
thread= 0x00000009 release_lock
ii.247 - - [10/Mar/2011:10:02:28 +0000] (1) mw after
lookup_map_program(http://ih/api;versioncontrol)= /projects/usersguide/content
thread= 0x00000009
ii.247 - - [10/Mar/2011:10:02:28 +0000] (1) go-ahead with proxy

Thread 0x14 acquires the lock but somehow 0x09 can acquire the lock as well and
gets the line actually intended for 0x14. It looks like 0x14 never finishes
that request. It's later showing up with other requests. But after this, the
results are off by one line.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message