jean-frederic clere wrote:
> 
> Bojan Smojver wrote:
> >
> > GOMEZ Henri wrote:
> > >
> > > >> Good information, and could send us a strace ?
> > > >
> > > >This may sound strange to all you Apache experts, but how do I do that?
> > > >How do I run strace on a detached process?
> > >
> > > strace httpd -f (follow forks)
> >
> > Thanks for the tip. The log file (bziped) is attached.
> >
> > Bojan
> >
> >   --------------------------------------------------------------------------------
> >                      Name: strace.log.bz2
> >    strace.log.bz2    Type: unspecified type (application/octet-stream)
> >                  Encoding: base64
> 
> +++
> 15329 <... rt_sigaction resumed> {0x814df6c, [], SA_INTERRUPT|0x4000000}, 8) =
> 015329 getsockname(8, {sin_family=AF_INET, sin_port=htons(80),
> sin_addr=inet_addr("10.0.0.20")}}, [16]) = 0
> 15329 setsockopt(8, IPPROTO_TCP1, [1], 4) = 0
> 15329 brk(0x8347000)                    = 0x8347000
> 15329 brk(0x834a000)                    = 0x834a000
> 15329 read(8, "GET /about.html HTTP/1.0\r\nIf-Mod"..., 4096) = 436
> 15329 rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
> 15329 time(NULL)                        = 995959824
> 15329 gettimeofday({995959824, 346428}, NULL) = 0
> 15329 --- SIGSEGV (Segmentation fault) ---
> 15329 chdir("/etc/httpd")               = 0
> 15329 rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
> 15329 getpid()                          = 15329
> 15329 kill(15329, SIGSEGV)              = 0
> 15329 sigreturn()                       = ? (mask now [])
> 15329 --- SIGSEGV (Segmentation fault) ---
> +++
> That the core?

Don't quite follow (my C debugging skills are so rusty you can call them
non-existent)...

Bojan

Reply via email to