Unfortunately, the problem is still there... Let me run gdb on the thing
again and then I'll send you the backtrace.

Bojan

jean-frederic clere wrote:
> 
> Clere Jean-Frederic FSC EP LP COM 5 wrote:
> >
> > Bojan Smojver wrote:
> > >
> > > jean-frederic clere wrote:
> > > >
> > > > Bojan Smojver wrote:
> > > > >
> > > > > jean-frederic clere wrote:
> > > > > >
> > > > > > Bojan Smojver wrote:
> > > > > > >
> > > > > > > Don't want to be a pain in the back side... but (there is always at
> > > > > > > least one of those :-), is anyone checking this one out?
> > > > > > >
> > > > > > > I had a peek into the code and that NULL pointer is a variable called
> > > > > > > 'uwr->context'. Don't know much about mod_jk, but this one gets
> > > > > > > initialised in the same file, function uri_worker_map_add. If that thing
> > > > > > > gets blown away (or isn't redone) when Apache gracefully restarts...
> > > > > >
> > > > > > I will have a look...
> > > >
> > > > It seems uwr->context is not initialized... Do you have something like:
> > > > +++
> > > > JkMount  toto titi
> > > > +++
> > > > In your httpd.conf (uri not starting with /)? I think this leaves uwr wrongly
> > > > initialized...
> > > >
> > > > >
> > > > > Thanks.
> > > > >
> > > > > Bojan
> > >
> > > As the matter of fact I do. Here is the config:
> > >
> > > ###############################################################################
> > > #                     Apache JK Configuration
> > > File                            #
> > > ###############################################################################
> > >
> > > <IfModule mod_jk.c>
> > >
> > > JkWorkersFile /etc/tomcat/workers.properties
> > > JkLogFile     /var/apache/logs/mod_jk.log
> > > JkLogLevel    info
> > >
> > > JkMount *.jsp                   ajp13
> > > JkMount /*.jsp                  ajp13
> > > JkMount *.vm                    ajp13
> > > JkMount /*.vm                   ajp13
> > > JkMount /servlet/*              ajp13
> > > JkMount /login/j_security_check ajp13
> > >
> > > </IfModule>
> > >
> > > Does that mean that entries like *.jsp and *.vm would segfault Apache?
> >
> > Yep, they could: I have the following:
> > +++
> > <IfModule mod_jk.c>
> > JkWorkersFile /usr/local/apache/conf/workers.properties
> >
> > JkLogFile     logs/mod_jk.log
> > JkLogLevel    debug
> >
> > JkMount  toto titi
> > JkMount  /examples/* examples
> > JkMount  /servlet-tests/* servlet-tests
> > JkMount  /jsp-tests/* jsp-tests
> > #JkMount  toto titi
> > </IfModule>
> > +++
> >
> > And I have added a trace in map_uri_to_worker that shows:
> > +++
> > jk_uri_worker_map_t::map_uri_to_worker,00000000 0
> > jk_uri_worker_map_t::map_uri_to_worker,080d08b8 10
> > jk_uri_worker_map_t::map_uri_to_worker,080d0900 15
> > jk_uri_worker_map_t::map_uri_to_worker,080d0958 11
> > +++
> > I will try to fix the problem.
> 
> Well I have fixed the code to prevent using the faulting JkMount syntax.
> 
> >
> > >
> > > Bojan

Reply via email to