#38333 [Bgs->Opn]: Seg fault on graceful restart

From: Date: Sun, 06 Aug 2006 13:55:30 +0000
Subject: #38333 [Bgs->Opn]: Seg fault on graceful restart
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100423@lists.php.net to get a copy of this message
ID: 38333 User updated by: mail at dasprids dot de Reported By: mail at dasprids dot de -Status: Bogus +Status: Open Bug Type: Apache2 related Operating System: SuSE 9.3 PHP Version: 5.2.0RC2-dev New Comment: No, it must have something todo with PHP 5, because without PHP-Module or with PHP 4.4.3 it works great. And as I said, I am not the only one with this problem. Previous Comments: ------------------------------------------------------------------------ [2006-08-06 13:25:08] tony2001@php.net Well, as you can see, it has nothing to do with PHP. ------------------------------------------------------------------------ [2006-08-06 13:08:33] mail at dasprids dot de Uhm, with --enable-debug I get less than before: ------------------------------ Program received signal SIGUSR1, User defined signal 1. [Switching to Thread 1077000416 (LWP 10250)] 0xffffe410 in ?? () (gdb) bt #0 0xffffe410 in ?? () #1 0xbfa129a8 in ?? () #2 0x4017587c in ?? () from /usr/lib/libapr-0.so.0 #3 0xbfa12980 in ?? () #4 0x401f5511 in accept () from /lib/tls/libpthread.so.0 #5 0x40169f9b in apr_socket_accept () from /usr/lib/libapr-0.so.0 #6 0x4016a0eb in apr_accept () from /usr/lib/libapr-0.so.0 #7 0x08087f08 in unixd_accept () #8 0x08067e13 in ap_graceful_stop_signalled () #9 0x0806816f in ap_graceful_stop_signalled () #10 0x0806828d in ap_graceful_stop_signalled () #11 0x08068acb in ap_mpm_run () #12 0x0806f777 in main () ------------------------------------------------------------------------ [2006-08-06 12:46:06] tony2001@php.net Please reconfigure PHP with --enable-debug and try to generate the backtrace again. I can't reproduce it so far and the backtrace shows nothing related to PHP itself. ------------------------------------------------------------------------ [2006-08-06 08:39:36] mail at dasprids dot de Well, I still can crash the Apache2 with a graceful restart. Here I provide the gdb backtrace until the graceful restart: Program received signal SIGUSR1, User defined signal 1. [Switching to Thread 1077000416 (LWP 17060)] 0xffffe410 in ?? () (gdb) bt #0 0xffffe410 in ?? () #1 0xbfad3ae8 in ?? () #2 0x00003a98 in ?? () #3 0x00000001 in ?? () #4 0x402b291d in poll () from /lib/tls/libc.so.6 #5 0x40172c6a in apr_poll () from /usr/lib/libapr-0.so.0 #6 0x401730f8 in apr_wait_for_io_or_timeout () from /usr/lib/libapr-0.so.0 #7 0x40168530 in apr_socket_recv () from /usr/lib/libapr-0.so.0 #8 0x4003bba5 in apr_bucket_socket_create () from /usr/lib/libaprutil-0.so.0 #9 0x4003ae5e in apr_brigade_split_line () from /usr/lib/libaprutil-0.so.0 #10 0x080806f4 in ap_custom_response () #11 0x080771f6 in ap_get_brigade () #12 0x08080197 in ap_custom_response () #13 0x080771f6 in ap_get_brigade () #14 0x0807a0c8 in ap_rgetline_core () #15 0x0807aa37 in ap_read_request () #16 0x08061125 in _start () #17 0x082ffb90 in ?? () #18 0x00001000 in ?? () #19 0x00000001 in ?? () #20 0x082ffbd8 in ?? () #21 0x08189938 in ?? () #22 0x082ffab8 in ?? () #23 0x00000001 in ?? () #24 0x08098ce8 in ?? () #25 0x0821b7a8 in ?? () #26 0x00000000 in ?? () #27 0xbfad3e38 in ?? () #28 0x08074908 in ap_run_process_connection () #29 0x08074908 in ap_run_process_connection () #30 0x08074a40 in ap_process_connection () #31 0x08067f6f in ap_graceful_stop_signalled () #32 0x0806816f in ap_graceful_stop_signalled () #33 0x0806828d in ap_graceful_stop_signalled () #34 0x08068acb in ap_mpm_run () #35 0x0806f777 in main () ------------------------------------------------------------------------ [2006-08-04 15:40:07] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip If you're still able to reproduce it - please provide the GDB backtrace. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38333 -- Edit this bug report at http://bugs.php.net/?id=38333&edit=1

« previous php.bugs (#100423) next »