PHP 4.0 Bug #4629: PHP crashes on mySQL access
| From: | php at drearyrainbow dot com | Date: | Fri, 26 May 2000 21:12:02 +0000 |
| Subject: | PHP 4.0 Bug #4629: PHP crashes on mySQL access | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19561@lists.php.net to get a copy of this message | ||
From: php@drearyrainbow.com
Operating system: Linux/2.2.10
PHP version: 4.0.0 Release
PHP Bug Type: Reproduceable crash
Bug description: PHP crashes on mySQL access
When using mySQL functions - php4 crashes. The script ran fine under php3 - same compiling options
as php4.
Program received signal SIGSEGV, Segmentation fault.
0x400c3bf8 in chunk_free (ar_ptr=0x401519c0, p=0x817e520) at malloc.c:3030
3030 malloc.c: No such file or directory.
(gdb) backtrace
#0 0x400c3bf8 in chunk_free (ar_ptr=0x401519c0, p=0x817e520) at malloc.c:3030
#1 0x400c3a8f in __libc_free (mem=0x817e528) at malloc.c:2942
#2 0x401870cd in shutdown_memory_manager (silent=0, clean_cache=0)
at zend_alloc.c:413
#3 0x4017a32b in php_request_shutdown (dummy=0x0) at main.c:718
#4 0x401aac2d in php_apache_request_shutdown (dummy=0x0) at mod_php4.c:301
#5 0x8077fda in run_cleanups ()
#6 0x80767d4 in ap_clear_pool ()
#7 0x807684d in ap_destroy_pool ()
#8 0x80767c0 in ap_clear_pool ()
#9 0x80858c8 in child_main ()
#10 0x8085e58 in make_child ()
#11 0x8085fb3 in startup_children ()
#12 0x80865c8 in standalone_main ()
#13 0x8086d1b in main ()
#14 0x4008444b in __libc_start_main (main=0x8086a00 , argc=2,
argv=0xbffff9c4, init=0x805b95c <_init>, fini=0x80e3dc0 <_fini>,
rtld_fini=0x4000a128 <_dl_fini>, stack_end=0xbffff9bc)
at ../sysdeps/generic/libc-start.c:78
(gdb) quit