ID: 13139 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Suspended Bug Type: Reproducible crash Operating System: redhat linux 6.2 i386 PHP Version: 4.0.6 New Comment: This looks like a bug in midgard, can you please file them a bugreport too, and report back if you got answer from them? (You get better backtraces with a static module BTW, please try that too) Derick Previous Comments: ------------------------------------------------------------------------ [2001-09-04 13:31:23] [EMAIL PROTECTED] also php was configured in this manner: ./configure --disable-xml --with-mysql=/usr/local --with-apxs=/usr/local/apache/bin/apxs --with-midgard=/usr/local --with-imap --enable-debug and a sample of the apache log: preparser-scanner.l(450) : Freeing 0x0821DBFC (425 bytes), script=/usr/local/apache/libexec/midgard-root.php Last leak repeated 29 times midgard.c(441) : Freeing 0x0816E514 (12 bytes), script=/usr/local/apache/libexec/midgard-root.php [Tue Sep 4 13:27:59 2001] [notice] child pid 10548 exit signal Segmentation fault (11) preparser-scanner.l(450) : Freeing 0x0816F73C (329 bytes), script=/usr/local/apache/libexec/midgard-root.php Last leak repeated 4 times midgard.c(441) : Freeing 0x0816E2D4 (12 bytes), script=/usr/local/apache/libexec/midgard-root.php community-list-5(2) : Warning - file("community.inc") - No such file or directory community-list-5(2) : Warning - Bad arguments to implode() preparser-scanner.l(450) : Freeing 0x0821BFA4 (425 bytes), script=/usr/local/apache/libexec/midgard-root.php Last leak repeated 29 times midgard.c(441) : Freeing 0x0816E53C (12 bytes), script=/usr/local/apache/libexec/midgard-root.php preparser-scanner.l(450) : Freeing 0x081BD1BC (329 bytes), script=/usr/local/apache/libexec/midgard-root.php Last leak repeated 4 times midgard.c(441) : Freeing 0x0816F784 (12 bytes), script=/usr/local/apache/libexec/midgard-root.php preparser-scanner.l(450) : Freeing 0x081FA55C (425 bytes), script=/usr/local/apache/libexec/midgard-root.php Last leak repeated 29 times midgard.c(441) : Freeing 0x0816E3DC (12 bytes), script=/usr/local/apache/libexec/midgard-root.php preparser-scanner.l(450) : Freeing 0x0816F85C (329 bytes), script=/usr/local/apache/libexec/midgard-root.php Last leak repeated 4 times midgard.c(441) : Freeing 0x0816E424 (12 bytes), script=/usr/local/apache/libexec/midgard-root.php community-list-5(2) : Warning - file("community.inc") - No such file or directory community-list-5(2) : Warning - Bad arguments to implode() community-list-5(2) : Warning - file("community.inc") - No such file or directory community-list-5(2) : Warning - Bad arguments to implode() /web/sites/hitlist.com/phpAds/view.inc.php3(5) : Fatal error - Cannot redeclare get_banner() preparser-scanner.l(450) : Freeing 0x0822BAC4 (425 bytes), script=/usr/local/apache/libexec/midgard-root.php Last leak repeated 29 times midgard.c(441) : Freeing 0x081664FC (12 bytes), script=/usr/local/apache/libexec/midgard-root.php preparser-scanner.l(450) : Freeing 0x082140EC (425 bytes), script=/usr/local/apache/libexec/midgard-root.php Last leak repeated 29 times midgard.c(441) : Freeing 0x08173344 (12 bytes), script=/usr/local/apache/libexec/midgard-root.php [Tue Sep 4 13:28:01 2001] [notice] child pid 10562 exit signal Segmentation fault (11) preparser-scanner.l(450) : Freeing 0x081CF7CC (329 bytes), script=/usr/local/apache/libexec/midgard-root.php Last leak repeated 4 times midgard.c(441) : Freeing 0x08181174 (12 bytes), script=/usr/local/apache/libexec/midgard-root.php /web/sites/hitlist.com/phpAds/view.inc.php3(5) : Fatal error - Cannot redeclare get_banner() appears to be a memory leakage problem ------------------------------------------------------------------------ [2001-09-04 13:25:32] [EMAIL PROTECTED] This GDB was configured as "i386-redhat-linux"... (gdb) run -X Starting program: /usr/local/apache/bin/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x2ac57f51 in ?? () from /usr/local/apache/libexec/libphp4.so (gdb) bt #0 0x2ac57f51 in ?? () from /usr/local/apache/libexec/libphp4.so #1 0x2ac6fee6 in ?? () from /usr/local/apache/libexec/libphp4.so #2 0x2ac6f0ca in ?? () from /usr/local/apache/libexec/libphp4.so #3 0x2ac6e99d in ?? () from /usr/local/apache/libexec/libphp4.so #4 0x2afacadd in ?? () from /usr/local/apache/libexec/libphp4.so #5 0x2af82115 in ?? () from /usr/local/apache/libexec/libphp4.so #6 0x2af85417 in ?? () from /usr/local/apache/libexec/libphp4.so #7 0x2af81229 in ?? () from /usr/local/apache/libexec/libphp4.so #8 0x2af92c26 in ?? () from /usr/local/apache/libexec/libphp4.so #9 0x2af90786 in ?? () from /usr/local/apache/libexec/libphp4.so #10 0x8071cce in run_cleanups () #11 0x80704fd in ap_clear_pool () #12 0x8070571 in ap_destroy_pool () #13 0x80704ec in ap_clear_pool () #14 0x807fcff in child_main () #15 0x80802bc in make_child () #16 0x8080419 in startup_children () #17 0x8080a56 in standalone_main () #18 0x80811e3 in main () #19 0x2ab649cb in __libc_start_main (main=0x8080e9c <main>, argc=2, argv=0x7ffffb04, init=0x804ef6c <_init>, fini=0x80b59ec <_fini>, rtld_fini=0x2aab5e60 <_dl_fini>, stack_end=0x7ffffafc) at ../sysdeps/generic/libc-start.c:92 (gdb) quit The program is running. Exit anyway? (y or n) y ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13139&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]