[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#205099: libc6: syslog makes cgi process hang after openlog() followed by syslog()



I resend this mail for apache and libapache-mod-python maintainer.

At Tue, 12 Aug 2003 18:15:30 +0200,
Gottfried.Ganssauge@HAUFE.DE wrote:
> Package: libc6
> Version: 2.3.2-2
> Severity: critical
> Justification: breaks unrelated software
> 
> After upgrading to glibc-2.3.2 (from 2.3.1-17) a cgi program of mine
> suddenly started to hang.
> The program is using syslog() to report error conditions.
> After a bit of investigation I came to the following test case:
(snip)
> When calling this program, the web browser seems to hang, the apache
> process used for the processing of this request hangs:
> 	F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME
> CMD
> 	5 S    33 11536 11534  0  69   0 -  1891 rt_sig ?        00:00:00
> apache

It's pthread issue?

BTW, I tested but it's no problem:

> dpkg -l apache libapache-mod-python python2.2 libc6
(snip)
ii  apache          1.3.27.0-2      Versatile, high-performance HTTP server
ii  libapache-mod-p 2.7.8-7         An Apache module that embeds Python within the
ii  python2.2       2.2.2-6         An interactive object-oriented scripting langu
ii  libc6           2.3.2-2         GNU C Library: Shared libraries and Timezone d
> w3m http://localhost/cgi-bin/test.py

First syslog run
openlog run
finished
> sudo tail -2 /var/log/messages
Aug 18 01:44:10 celesta python: Should be ok
Aug 18 01:44:10 celesta test_libc6[8968]: Should be also ok


It worked.  Could you reduce your apache setting, or check your
environment special setting.  Also try to use strace -f, or ltrace.

Regards,
-- gotom



Reply to: