[Cartoweb-users] Premature end of script headers

Antonio Camaiani antonio.camaiani at renomo.it
Tue Oct 10 11:22:34 EDT 2006


> If your operating system is linux, you can try to run apache with strace so 
> you can pinpoint exactly what is the problem cause.  
> strace -f -o/tmp/log /usr/sbin/apache2
> the log file will contain all the system calls within apache, so the only 
> part that will interest you is the ones just before the error occure.

I have run strace with -ff option, but I can't understand where is the
problem. seems like taking data and then dies.
At the end there is part of the log. 
If it could help more, I will post the entire log
thank you so much!!!!
bye 
tony

brk(0)                                  = 0xbf05000
brk(0xbf06000)                          = 0xbf06000
poll([{fd=11, events=POLLIN|POLLERR, revents=POLLIN}], 1, -1) = 1
recv(11, "\316\t\265\"@\212l\253\257\273\341F at Z\210\22\345\300\264"...,
2095328, 0) = 65536
recv(11, "\4\1\255`\22\342!@,H\353\301\16\337F at TKU\262:\342!@\267"...,
2029792, 0) = 24576
recv(11, 0x40f16728, 2005216, 0)        = -1 EAGAIN (Resource
temporarily unavailable)
brk(0)                                  = 0xbf06000
brk(0xbf07000)                          = 0xbf07000
brk(0)                                  = 0xbf07000
brk(0xbf08000)                          = 0xbf08000
brk(0)                                  = 0xbf08000
brk(0xbf09000)                          = 0xbf09000
brk(0)                                  = 0xbf09000
brk(0xbf0b000)                          = 0xbf0b000
brk(0)                                  = 0xbf0b000
brk(0xbf0c000)                          = 0xbf0c000
brk(0)                                  = 0xbf0c000
brk(0xbf0e000)                          = 0xbf0e000
brk(0)                                  = 0xbf0e000
brk(0xbf10000)                          = 0xbf10000
brk(0)                                  = 0xbf10000
brk(0xbf11000)                          = 0xbf11000
brk(0)                                  = 0xbf11000
brk(0xbf12000)                          = 0xbf12000
brk(0)                                  = 0xbf12000
brk(0xbf13000)                          = 0xbf13000
brk(0)                                  = 0xbf13000
brk(0xbf14000)                          = 0xbf14000
brk(0)                                  = 0xbf14000
brk(0xbf15000)                          = 0xbf15000
brk(0)                                  = 0xbf15000
brk(0xbf16000)                          = 0xbf16000
brk(0)                                  = 0xbf16000
brk(0xbf17000)                          = 0xbf17000
brk(0)                                  = 0xbf17000
brk(0xbf19000)                          = 0xbf19000
brk(0)                                  = 0xbf19000
brk(0xbf1a000)                          = 0xbf1a000
brk(0)                                  = 0xbf1a000
brk(0xbf1c000)                          = 0xbf1c000
poll([{fd=11, events=POLLIN|POLLERR, revents=POLLIN}], 1, -1) = 1
recv(11, "F at 4\315\340\23\214\232#@\246#\22\327\307\334F@\0\0\0\004"...,
2092910, 0) = 73728
recv(11, "\275\251\246{\301#@w\262\27\\\247\336F at GO>\275\270\301"...,
2019182, 0) = 8192
recv(11, "@\357&\237:\207\335F@\325\212PAT>#@\202\247[N~\335F at N5"...,
2010990, 0) = 16384
recv(11, 0x40f1909a, 1994606, 0)        = -1 EAGAIN (Resource
temporarily unavailable)
brk(0)                                  = 0xbf1c000
brk(0xbf1d000)                          = 0xbf1d000
brk(0)                                  = 0xbf1d000
brk(0xbf1e000)                          = 0xbf1e000
brk(0)                                  = 0xbf1e000
brk(0xbf1f000)                          = 0xbf1f000
brk(0)                                  = 0xbf1f000
brk(0xbf20000)                          = 0xbf20000
brk(0)                                  = 0xbf20000
brk(0xbf21000)                          = 0xbf21000
brk(0)                                  = 0xbf21000
brk(0xbf22000)                          = 0xbf22000
brk(0)                                  = 0xbf22000
brk(0xbf23000)                          = 0xbf23000
brk(0)                                  = 0xbf23000
brk(0xbf24000)                          = 0xbf24000
brk(0)                                  = 0xbf24000
brk(0xbf26000)                          = 0xbf26000
brk(0)                                  = 0xbf26000
brk(0xbf27000)                          = 0xbf27000
brk(0)                                  = 0xbf27000
brk(0xbf28000)                          = 0xbf28000
brk(0)                                  = 0xbf28000
brk(0xbf29000)                          = 0xbf29000
brk(0)                                  = 0xbf29000
brk(0xbf2a000)                          = 0xbf2a000
brk(0)                                  = 0xbf2a000
brk(0xbf2b000)                          = 0xbf2b000
brk(0)                                  = 0xbf2b000
brk(0xbf2c000)                          = 0xbf2c000
brk(0)                                  = 0xbf2c000
brk(0xbf2d000)                          = 0xbf2d000
brk(0)                                  = 0xbf2d000
brk(0xbf2e000)                          = 0xbf2e000
brk(0)                                  = 0xbf2e000
brk(0xbf2f000)                          = 0xbf2f000
brk(0)                                  = 0xbf2f000
brk(0xbf30000)                          = 0xbf30000
poll([{fd=11, events=POLLIN|POLLERR, revents=POLLIN}], 1, -1) = 1
recv(11, "F at I\336|!\345\246$@{\277\30\254\263\344F@\350!z\267\335"...,
2080929, 0) = 315
brk(0)                                  = 0xbf30000
brk(0xbf34000)                          = 0xbf34000
brk(0)                                  = 0xbf34000
brk(0xbf38000)                          = 0xbf38000
brk(0)                                  = 0xbf38000
brk(0xbf3c000)                          = 0xbf3c000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
chdir("/etc/httpd")                     = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
getpid()                                = 22043
getpid()                                = 22043
kill(22043, SIGSEGV)                    = 0
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---



More information about the Cartoweb-users mailing list