strange crashes

From: Date: Mon, 26 Jun 2000 02:28:36 +0000
Subject: strange crashes
Groups: php.dev 
Request: Send a blank email to php-dev+get-22323@lists.php.net to get a copy of this message
Does this backtrace mean anything to anyone? I'm seeing a lot of segfaults with php4 (built from cvs) and imp. They don't seem to be entirely consistent, and so far I've been unable to reduce anything to a simple script that always causes a crash. I know that you're probably going to tell me to do more digging, which is fine. However, I'm _really_ hoping that someone can point me in the right direction. PHP is compiled as a DSO (apache 1.3.9, debian 2.2 package) with the following modules: imap, ldap, mysql, gettext, ftp, mcal, xml. The scripts that seem to crash make fairly heavy use of include_once, classes, and templates with html. I'm perfectly willing to dig more, but like I said, some direction would be great. (gdb) run -X Starting program: /usr/sbin/apache.dbg -X Program received signal SIGSEGV, Segmentation fault. 0x40207be1 in zend_html_putc (c=64 '@') at zend_highlight.c:38 38 switch (c) { (gdb) bt #0 0x40207be1 in zend_html_putc (c=64 '@') at zend_highlight.c:38 #1 0x40376a8c in __DTOR_END__ () from /usr/lib/apache/1.3/libphp4.so #2 0x4021240e in zend_list_find (id=136399980, type=0x4017fc00) at zend_list.c:74 #3 0x4020e1ab in zend_get_parameters (ht=136388380, param_count=1075313664) at zend_API.c:51 #4 0x40207bf9 in zend_html_putc (c=0 '\000') at zend_highlight.c:38 #5 0x4021240e in zend_list_find (id=136382044, type=0x4017fc00) at zend_list.c:74 #6 0x4020e185 in zend_get_parameters (ht=136429828, param_count=1075313664) at zend_API.c:44 #7 0x40207bf9 in zend_html_putc (c=64 '@') at zend_highlight.c:38 #8 0x4021240e in zend_list_find (id=136382108, type=0x4017fc00) at zend_list.c:74 #9 0x4020976e in convert_to_object (op=0x8201444) at zend_operators.c:480 #10 0x40209688 in convert_scalar_to_array (op=0x8201444, type=136399832) at zend_operators.c:448 #11 0x4021240e in zend_list_find (id=136399856, type=0x4017fc00) at zend_list.c:74 #12 0x402096e0 in convert_to_array (op=0x8214bd8) at zend_operators.c:467 #13 0x4021259c in zend_fetch_resource (passed_id=0x80bde00, default_id=136399784, resource_type_name=0xbffff3ec ",ôÿ¿\232z @ÐÝ\013\b\230w @", found_resource_type=0x402126d6, num_resource_types=1077373580) at zend_list.c:216 #14 0x40212703 in zend_init_rsrc_list () at zend_list.c:284 #15 0x40207aac in zend_ptr_stack_clear_multiple () at zend_execute_API.c:630 #16 0x4020eed5 in add_assoc_bool (arg=0x40376a8c, key=0x0, b=0) at zend_API.c:253 #17 0x4021d67e in cfg_get_string (varname=0x0, result=0x0) at /home/chuck/code/php4/main/configuration-parser.y:113 #18 0x4021b296 in php_info_apache (zend_module=0x0) at php_apache.c:213 #19 0x8051bec in run_cleanups (c=0x80f4e94) at alloc.c:1939 #20 0x8050c64 in ap_clear_pool (a=0x80f2a9c) at alloc.c:682 #21 0x8050cc4 in ap_destroy_pool (a=0x80f2a9c) at alloc.c:712 #22 0x8050c50 in ap_clear_pool (a=0x80a6204) at alloc.c:675 #23 0x805c16f in child_main (child_num_arg=0) at http_main.c:3845 #24 0x805c69c in make_child (s=0x8099f44, slot=0, now=961986038) at http_main.c:4235 #25 0x805c7b9 in startup_children (number_to_start=5) at http_main.c:4317 #26 0x805cc6b in standalone_main (argc=2, argv=0xbffff704) at http_main.c:4605 #27 0x805d31d in main (argc=2, argv=0xbffff704) at http_main.c:4933 Thanks, -chuck

« previous php.dev (#22323) next »