I am using Ubuntu. After installing php5-dbg and running Apache with gdb: Program received signal SIGSEGV, Segmentation fault. zend_hash_destroy (ht=0xde18059d80d4971f) at /build/buildd/php5-5.3.5/Zend/zend_hash.c:723 723 /build/buildd/php5-5.3.5/Zend/zend_hash.c: No such file or directory. in /build/buildd/php5-5.3.5/Zend/zend_hash.c (gdb) bt #0 zend_hash_destroy (ht=0xde18059d80d4971f) at /build/buildd/php5-5.3.5/Zend/zend_hash.c:723 #1 0x00007ffff4141819 in zend_object_std_dtor (object=0x7ffff8c043a0) at /build/buildd/php5-5.3.5/Zend/zend_objects.c:45 #2 0x00007fffef6e5ed3 in drizzle_con_obj_free (object=0x7ffff8c043a0) at /root/drizzle-php-ext-0.5/php_drizzle.c:1571 #3 0x00007ffff4145801 in zend_objects_store_del_ref_by_handle_ex (handle=32767, handlers=0x7ffff8b3f300) at /build/buildd/php5-5.3.5/Zend/zend_objects_API.c:220 #4 0x00007ffff4145823 in zend_objects_store_del_ref (zobject=0x7ffff8c14898) at /build/buildd/php5-5.3.5/Zend/zend_objects_API.c:172 #5 0x00007ffff4112392 in _zval_ptr_dtor (zval_ptr=0x7ffff8c044b0) at /build/buildd/php5-5.3.5/Zend/zend_variables.h:35 #6 0x00007ffff412e043 in zend_hash_destroy (ht=0x7ffff8c04420) at /build/buildd/php5-5.3.5/Zend/zend_hash.c:729 #7 0x00007ffff4141819 in zend_object_std_dtor (object=0x7ffff8b301c0) at /build/buildd/php5-5.3.5/Zend/zend_objects.c:45 #8 0x00007ffff4141839 in zend_objects_free_object_storage (object=0x7ffff8b301c0) at /build/buildd/php5-5.3.5/Zend/zend_objects.c:126 #9 0x00007ffff4145801 in zend_objects_store_del_ref_by_handle_ex (handle=32767, handlers=0x7ffff8b3f300) at /build/buildd/php5-5.3.5/Zend/zend_objects_API.c:220 #10 0x00007ffff4145823 in zend_objects_store_del_ref (zobject=0x7ffff8c04350) at /build/buildd/php5-5.3.5/Zend/zend_objects_API.c:172 #11 0x00007ffff4112392 in _zval_ptr_dtor (zval_ptr=0x7ffff8b3f268) at /build/buildd/php5-5.3.5/Zend/zend_variables.h:35 #12 0x00007ffff412c87e in zend_hash_apply_deleter (ht=0x7ffff485b9c8, p=0x7ffff8b3f250) at /build/buildd/php5-5.3.5/Zend/zend_hash.c:816 #13 0x00007ffff412e1b8 in zend_hash_graceful_reverse_destroy (ht=0x7ffff485b9c8) at /build/buildd/php5-5.3.5/Zend/zend_hash.c:851 #14 0x00007ffff4112b6e in shutdown_executor () at /build/buildd/php5-5.3.5/Zend/zend_execute_API.c:256 #15 0x00007ffff4120a05 in zend_deactivate () at /build/buildd/php5-5.3.5/Zend/zend.c:962 #16 0x00007ffff40cd9ff in php_request_shutdown (dummy=0xde18059d80d4971f) at /build/buildd/php5-5.3.5/main/main.c:1649 #17 0x00007ffff41b8287 in php_handler (r=0x7ffff41b8287) at /build/buildd/php5-5.3.5/sapi/apache2handler/sapi_apache2.c:526 #18 0x00007ffff7fd5348 in ap_run_handler (r=0x7ffff8628250) at /build/buildd/apache2-2.2.17/server/config.c:159 #19 0x00007ffff7fd57ac in ap_invoke_handler (r=0x7ffff8628250) at /build/buildd/apache2-2.2.17/server/config.c:377 #20 0x00007ffff7fe5580 in ap_process_request (r=0x7ffff8628250) at /build/buildd/apache2-2.2.17/modules/http/http_request.c:282 #21 0x00007ffff7fe2558 in ap_process_http_connection (c=0x7ffff86220a0) at /build/buildd/apache2-2.2.17/modules/http/http_core.c:190 #22 0x00007ffff7fdbf28 in ap_run_process_connection (c=0x7ffff86220a0) at /build/buildd/apache2-2.2.17/server/connection.c:43 #23 0x00007ffff7fe9ed0 in child_main (child_num_arg=) at /build/buildd/apache2-2.2.17/server/mpm/prefork/prefork.c:662 #24 0x00007ffff7fea196 in make_child (s=0x7ffff8214938, slot=0) at /build/buildd/apache2-2.2.17/server/mpm/prefork/prefork.c:707 #25 0x00007ffff7fea973 in ap_mpm_run (_pconf=, plog=, s=) at /build/buildd/apache2-2.2.17/server/mpm/prefork/prefork.c:983 #26 0x00007ffff7fc03aa in main (argc=2, argv=0x7fffffffe5f8) at /build/buildd/apache2-2.2.17/server/main.c:741