Hi, when i compile php with dmalloc (because i develop an own extension), php crashes in combination with apache 2, but i think this is not a problem with apache 2 or with dmalloc. Maybe it is a problem with the --with-config-file-path option. I have set it to /etc/debug/php.ini ...
here is the backtrace from gdb: -- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 30068)] 0x4043bf07 in virtual_file_ex (state=0xbfffe6d8, path=0xbfffc670 "/etc/debug/php.ini", verify_path=0) at /usr/src/php4/TSRM/tsrm_virtual_cwd.c:362 362 state->cwd[copy_amount] = '\0'; (gdb) bt #0 0x4043bf07 in virtual_file_ex (state=0xbfffe6d8, path=0xbfffc670 "/etc/debug/php.ini", verify_path=0) at /usr/src/php4/TSRM/tsrm_virtual_cwd.c:362 #1 0x40442ef6 in expand_filepath (filepath=0xbfffe790 "/etc/debug/php.ini", real_path=0x0) at /usr/src/php4/main/fopen_wrappers.c:509 #2 0x404423bf in php_fopen_and_set_opened_path (path=0xbfffe790 "/etc/debug/php.ini", mode=0x404ab1df "r", opened_path=0x404ea490) at /usr/src/php4/main/fopen_wrappers.c:237 #3 0x40442d29 in php_fopen_with_path (filename=0x404ab1e1 "php.ini", mode=0x404ab1df "r", path=0x8175024 ".:/etc/debug", opened_path=0x404ea490) at /usr/src/php4/main/fopen_wrappers.c:446 #4 0x404437d1 in php_init_config () at /usr/src/php4/main/php_ini.c:315 #5 0x4043e7fa in php_module_startup (sf=0x404ed640) at /usr/src/php4/main/main.c:930 #6 0x4048cfb1 in php_apache_server_startup (pconf=0x80a2330, plog= 0x80d03e8, ptemp=0x80a4338, s=0x80d46d0) at /usr/src/php4/sapi/apache2filter/sapi_apache2.c:492 #7 0x0806ca1f in ap_run_post_config (pconf=0x80a2330, plog=0x80d03e8, ptemp=0x80a4338, s=0x80d46d0) at config.c:127 #8 0x08071187 in main (argc=2, argv=0xbffffa14) at main.c:633 #9 0x401f0280 in __libc_start_main () from /lib/libc.so.6 -- Regards, Steve -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php