This is the backtrace that suggests me it's from mysqlclient: Program received signal SIGSEGV, Segmentation fault. zval_mark_grey (pz=0x13539974) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:356 warning: Source file is more recent than executable. 356 p = Z_ARRVAL_P(pz)->pListHead; (gdb) bt #0 zval_mark_grey (pz=0x13539974) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:356 #1 0x08328d08 in zval_mark_grey (pz=0x13539974) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:367 #2 0x0832970d in gc_collect_cycles () at /build/buildd/php5-5.3.2/Zend/zend_gc.c:417 #3 0x08329995 in gc_zval_possible_root (zv=0x13f32a8c) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:166 #4 0x082fd4c1 in _zval_ptr_dtor (zval_ptr=0xbfffd16c) at /build/buildd/php5-5.3.2/Zend/zend_gc.h:183 #5 0x0835cc09 in zend_do_fcall_common_helper_SPEC (execute_data=0x13f32a8c) at /build/buildd/php5-5.3.2/Zend/zend_execute.h:316 #6 0x08333d8e in execute (op_array=0x8909d28) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104 #7 0x08309fa6 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /build/buildd/php5-5.3.2/Zend/zend.c:1266 #8 0x082ae754 in php_execute_script (primary_file=0xbffff674) at /build/buildd/php5-5.3.2/main/main.c:2288 #9 0x083a0c28 in main (argc=7, argv=0xbffff7b4) at /build/buildd/php5-5.3.2/sapi/cli/php_cli.c:1196 (gdb) p op_array No symbol "op_array" in current context. (gdb) frame 6 #6 0x08333d8e in execute (op_array=0x8909d28) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104 warning: Source file is more recent than executable. 104 if ((ret = EX(opline)->handler(execute_data TSRMLS_CC)) > 0) { (gdb) p ret $2 = 324245876 (gdb) p handler $3 = {{name = 0x83abb54 "cdb", flags = 31, open = 0x80c3150 , close = 0x80c30e0 , fetch = 0x80c2fe0 , update = 0x80c2f70 , exists = 0x80c2f10 , delete = 0x80c2af0 , firstkey = 0x80c2d50 , nextkey = 0x80c2be0 , optimize = 0x80c2b00 , sync = 0x80c2b10 , info = 0x80c2b20 }, { name = 0x83abcc1 "cdb_make", flags = 31, open = 0x80c3150 , close = 0x80c30e0 , fetch = 0x80c2fe0 , update = 0x80c2f70 , exists = 0x80c2f10 , delete = 0x80c2af0 , firstkey = 0x80c2d50 , nextkey = 0x80c2be0 , optimize = 0x80c2b00 , sync = 0x80c2b10 , info = 0x80c2b20 }, {name = 0x83abcca "db4", flags = 15, open = 0x80c3390 , close = 0x80c3320 , fetch = 0x80c3a40 , update = 0x80c39a0 , exists = 0x80c38f0 , delete = 0x80c3890 , firstkey = 0x80c3810 , nextkey = 0x80c3720 , optimize = 0x80c32b0 , sync = 0x80c32c0 , info = 0x80c32f0 }, {name = 0x83abb58 "inifile", flags = 95, open = 0x80c4470 , close = 0x80c4440 , fetch = 0x80c4180 , update = 0x80c4300 , exists = 0x80c4240 , delete = 0x80c40e0 , firstkey = 0x80c4080 , nextkey = 0x80c4000 , optimize = 0x80c3fb0 , sync = 0x80c3fc0 , info = 0x80c3fd0 }, {name = 0x83abcce "flatfile", flags = 223, open = 0x80c3eb0 , close = 0x80c3e50 , fetch = 0x80c3d10 , update = 0x80c3d90 , exists = 0x80c3cb0 , delete = 0x80c3c70 , firstkey = 0x80c3bf0 , nextkey = 0x80c3b70 , optimize = 0x80c3b20 , sync = 0x80c3b30 , info = 0x80c3b40 }, {name = 0x0, flags = 0, open = 0, close = 0, fetch = 0, update = 0, exists = 0, delete = 0, firstkey = 0, nextkey = 0, optimize = 0, sync = 0, info = 0}} (gdb) p execute_data $4 = (zend_execute_data *) 0x8942960 (gdb) p * execute_data $5 = {opline = 0x0, function_state = {function = 0x2, arguments = 0x0}, fbc = 0x1, called_scope = 0x8ac2d88, op_array = 0xb75f2690, object = 0x0, Ts = 0x0, CVs = 0x0, symbol_table = 0xb75f2690, prev_execute_data = 0x0, old_error_reporting = 0x89429cc, nested = 188 '\274', original_return_value = 0x0, current_scope = 0xbfffcf78, current_called_scope = 0x0, current_this = 0x13e9d700, current_object = 0x0, call_opline = 0x9aa1544}