[Bug 343870] Re: php-cli segmentation fault with mysql extension
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=0xb674) at /build/buildd/php5-5.3.2/main/main.c:2288 #9 0x083a0c28 in main (argc=7, argv=0xb7b4) 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 dba_open_cdb, close = 0x80c30e0 dba_close_cdb, fetch = 0x80c2fe0 dba_fetch_cdb, update = 0x80c2f70 dba_update_cdb, exists = 0x80c2f10 dba_exists_cdb, delete = 0x80c2af0 dba_delete_cdb, firstkey = 0x80c2d50 dba_firstkey_cdb, nextkey = 0x80c2be0 dba_nextkey_cdb, optimize = 0x80c2b00 dba_optimize_cdb, sync = 0x80c2b10 dba_sync_cdb, info = 0x80c2b20 dba_info_cdb}, { name = 0x83abcc1 cdb_make, flags = 31, open = 0x80c3150 dba_open_cdb, close = 0x80c30e0 dba_close_cdb, fetch = 0x80c2fe0 dba_fetch_cdb, update = 0x80c2f70 dba_update_cdb, exists = 0x80c2f10 dba_exists_cdb, delete = 0x80c2af0 dba_delete_cdb, firstkey = 0x80c2d50 dba_firstkey_cdb, nextkey = 0x80c2be0 dba_nextkey_cdb, optimize = 0x80c2b00 dba_optimize_cdb, sync = 0x80c2b10 dba_sync_cdb, info = 0x80c2b20 dba_info_cdb}, {name = 0x83abcca db4, flags = 15, open = 0x80c3390 dba_open_db4, close = 0x80c3320 dba_close_db4, fetch = 0x80c3a40 dba_fetch_db4, update = 0x80c39a0 dba_update_db4, exists = 0x80c38f0 dba_exists_db4, delete = 0x80c3890 dba_delete_db4, firstkey = 0x80c3810 dba_firstkey_db4, nextkey = 0x80c3720 dba_nextkey_db4, optimize = 0x80c32b0 dba_optimize_db4, sync = 0x80c32c0 dba_sync_db4, info = 0x80c32f0 dba_info_db4}, {name = 0x83abb58 inifile, flags = 95, open = 0x80c4470 dba_open_inifile, close = 0x80c4440 dba_close_inifile, fetch = 0x80c4180 dba_fetch_inifile, update = 0x80c4300 dba_update_inifile, exists = 0x80c4240 dba_exists_inifile, delete = 0x80c40e0 dba_delete_inifile, firstkey = 0x80c4080 dba_firstkey_inifile, nextkey = 0x80c4000 dba_nextkey_inifile, optimize = 0x80c3fb0 dba_optimize_inifile, sync = 0x80c3fc0 dba_sync_inifile, info = 0x80c3fd0 dba_info_inifile}, {name = 0x83abcce flatfile, flags = 223, open = 0x80c3eb0 dba_open_flatfile, close = 0x80c3e50 dba_close_flatfile, fetch = 0x80c3d10 dba_fetch_flatfile, update = 0x80c3d90 dba_update_flatfile, exists = 0x80c3cb0 dba_exists_flatfile, delete = 0x80c3c70 dba_delete_flatfile, firstkey = 0x80c3bf0 dba_firstkey_flatfile, nextkey = 0x80c3b70 dba_nextkey_flatfile, optimize = 0x80c3b20 dba_optimize_flatfile, sync = 0x80c3b30 dba_sync_flatfile, info = 0x80c3b40 dba_info_flatfile}, {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} -- php-cli segmentation fault with mysql extension https://bugs.launchpad.net/bugs/343870 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or
[Bug 586898] Re: php5 cli segmentation fault when executing script
Also in dmesg i get these logs: [341181.619018] php[10488]: segfault at ca88972a ip 08328de7 sp bfaf5c50 error 5 in php5[8048000+6d9000] [341509.211242] php[11579]: segfault at 69396420 ip 08328ef9 sp bfcbada0 error 4 in php5[8048000+6d9000] [341653.136945] php[11991]: segfault at 486dc821 ip 08328ef9 sp bfea9650 error 4 in php5[8048000+6d9000] [341902.914159] php[12844]: segfault at b1f81c20 ip 08328ef9 sp bf8d85f0 error 4 in php5[8048000+6d9000] [343515.576780] php[17983]: segfault at 7f2f341b ip 08328cd0 sp bfe1bc90 error 4 in php5[8048000+6d9000] [343775.020288] php[18690]: segfault at ada2501d ip 08329620 sp bfe65b90 error 4 in php5[8048000+6d9000] [343897.493101] php[19220]: segfault at ed789421 ip 08328ef9 sp bfd0c880 error 5 in php5[8048000+6d9000] [344024.024374] php[19595]: segfault at 29289420 ip 08328ef9 sp bfc32310 error 4 in php5[8048000+6d9000] [344219.065977] php[20192]: segfault at 43e2501d ip 08329620 sp bf8eade0 error 4 in php5[8048000+6d9000] [345468.780574] php[24585]: segfault at f9343027 ip 08328ef9 sp bfe776f0 error 4 in php5[8048000+6d9000] [346602.453770] php[26910]: segfault at a6fc ip 08328e51 sp bfd0ba20 error 4 in php5[8048000+6d9000] [348591.313900] php[28845]: segfault at 18952023 ip 08328ef9 sp bfaf40a0 error 4 in php5[8048000+6d9000] -- php5 cli segmentation fault when executing script https://bugs.launchpad.net/bugs/586898 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 586898] Re: php5 cli segmentation fault when executing script
I though it was libmysqlclient or mysql related since it dies when executing a query, but randomly, no specific query: With strace: poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout) write(4, \234\1\0\0\3SELECT TABLE.FKTABLEID..., 416) = 416 read(4, \1\0\0\1\rK\0\0\2\3def\7testdatabase\10ITEM\10D..., 16384) = 1096 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ -- php5 cli segmentation fault when executing script https://bugs.launchpad.net/bugs/586898 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 586898] Re: php5 cli segmentation fault when executing script
Making more tests, some times the script finishes but also segfaults when exiting with this backtrace: Program received signal SIGSEGV, Segmentation fault. zend_mm_remove_from_free_list (heap=0x, mm_block=0xb0908bc) at /build/buildd/php5-5.3.2/Zend/zend_alloc_canary.c:889 889 /build/buildd/php5-5.3.2/Zend/zend_alloc_canary.c: No such file or directory. in /build/buildd/php5-5.3.2/Zend/zend_alloc_canary.c (gdb) bt #0 zend_mm_remove_from_free_list (heap=0x, mm_block=0xb0908bc) at /build/buildd/php5-5.3.2/Zend/zend_alloc_canary.c:889 #1 0x0832bedd in _zend_mm_free_canary_int (heap=0x877c5b0, p=0xb090a0c) at /build/buildd/php5-5.3.2/Zend/zend_alloc_canary.c:2131 #2 0x082eb8c8 in _efree (ptr=0xb090a0c) at /build/buildd/php5-5.3.2/Zend/zend_alloc.c:2619 #3 0x08316fd2 in zend_hash_destroy (ht=0xb0b39b0) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:733 #4 0x08309c96 in _zval_dtor_func (zvalue=0xb0ba1bc) at /build/buildd/php5-5.3.2/Zend/zend_variables.c:46 #5 0x082fd48d in _zval_ptr_dtor (zval_ptr=0xb0b95b4) at /build/buildd/php5-5.3.2/Zend/zend_variables.h:35 #6 0x08316f94 in zend_hash_destroy (ht=0xb0b7fcc) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:726 #7 0x0832d2b3 in zend_object_std_dtor (object=0xb0ba764) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:45 #8 0x0832d2f2 in zend_objects_free_object_storage (object=0xb0ba764) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:114 #9 0x083307f2 in zend_objects_store_free_object_storage (objects=0x877b850) at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:92 #10 0x082fd88d in shutdown_executor () at /build/buildd/php5-5.3.2/Zend/zend_execute_API.c:302 #11 0x0830a9af in zend_deactivate () at /build/buildd/php5-5.3.2/Zend/zend.c:962 #12 0x082af368 in php_request_shutdown (dummy=0x0) at /build/buildd/php5-5.3.2/main/main.c:1649 #13 0x0839fb31 in main (argc=7, argv=0xb7b4) at /build/buildd/php5-5.3.2/sapi/cli/php_cli.c:1377 (gdb) -- php5 cli segmentation fault when executing script https://bugs.launchpad.net/bugs/586898 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 586898] Re: php5 cli segmentation fault when executing script
A new backtrace with more information: Program received signal SIGSEGV, Segmentation fault. zval_mark_grey (pz=0x13539974) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:356 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=0xb674) at /build/buildd/php5-5.3.2/main/main.c:2288 #9 0x083a0c28 in main (argc=7, argv=0xb7b4) at /build/buildd/php5-5.3.2/sapi/cli/php_cli.c:1196 (gdb) frame 6 #6 0x08333d8e in execute (op_array=0x8909d28) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104 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 dba_open_cdb, close = 0x80c30e0 dba_close_cdb, fetch = 0x80c2fe0 dba_fetch_cdb, update = 0x80c2f70 dba_update_cdb, exists = 0x80c2f10 dba_exists_cdb, delete = 0x80c2af0 dba_delete_cdb, firstkey = 0x80c2d50 dba_firstkey_cdb, nextkey = 0x80c2be0 dba_nextkey_cdb, optimize = 0x80c2b00 dba_optimize_cdb, sync = 0x80c2b10 dba_sync_cdb, info = 0x80c2b20 dba_info_cdb}, { name = 0x83abcc1 cdb_make, flags = 31, open = 0x80c3150 dba_open_cdb, close = 0x80c30e0 dba_close_cdb, fetch = 0x80c2fe0 dba_fetch_cdb, update = 0x80c2f70 dba_update_cdb, exists = 0x80c2f10 dba_exists_cdb, delete = 0x80c2af0 dba_delete_cdb, firstkey = 0x80c2d50 dba_firstkey_cdb, nextkey = 0x80c2be0 dba_nextkey_cdb, optimize = 0x80c2b00 dba_optimize_cdb, sync = 0x80c2b10 dba_sync_cdb, info = 0x80c2b20 dba_info_cdb}, {name = 0x83abcca db4, flags = 15, open = 0x80c3390 dba_open_db4, close = 0x80c3320 dba_close_db4, fetch = 0x80c3a40 dba_fetch_db4, update = 0x80c39a0 dba_update_db4, exists = 0x80c38f0 dba_exists_db4, delete = 0x80c3890 dba_delete_db4, firstkey = 0x80c3810 dba_firstkey_db4, nextkey = 0x80c3720 dba_nextkey_db4, optimize = 0x80c32b0 dba_optimize_db4, sync = 0x80c32c0 dba_sync_db4, info = 0x80c32f0 dba_info_db4}, {name = 0x83abb58 inifile, flags = 95, open = 0x80c4470 dba_open_inifile, close = 0x80c4440 dba_close_inifile, fetch = 0x80c4180 dba_fetch_inifile, update = 0x80c4300 dba_update_inifile, exists = 0x80c4240 dba_exists_inifile, delete = 0x80c40e0 dba_delete_inifile, firstkey = 0x80c4080 dba_firstkey_inifile, nextkey = 0x80c4000 dba_nextkey_inifile, optimize = 0x80c3fb0 dba_optimize_inifile, sync = 0x80c3fc0 dba_sync_inifile, info = 0x80c3fd0 dba_info_inifile}, {name = 0x83abcce flatfile, flags = 223, open = 0x80c3eb0 dba_open_flatfile, close = 0x80c3e50 dba_close_flatfile, fetch = 0x80c3d10 dba_fetch_flatfile, update = 0x80c3d90 dba_update_flatfile, exists = 0x80c3cb0 dba_exists_flatfile, delete = 0x80c3c70 dba_delete_flatfile, firstkey = 0x80c3bf0 dba_firstkey_flatfile, nextkey = 0x80c3b70 dba_nextkey_flatfile, optimize = 0x80c3b20 dba_optimize_flatfile, sync = 0x80c3b30 dba_sync_flatfile, info = 0x80c3b40 dba_info_flatfile}, {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} -- php5 cli segmentation fault when executing script https://bugs.launchpad.net/bugs/586898 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 586898] Re: php5 cli segmentation fault when executing script
I cant include the script at this time. Will try to make the same functionality and test it. -- php5 cli segmentation fault when executing script https://bugs.launchpad.net/bugs/586898 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 343870] Re: php-cli segmentation fault with mysql extension
This still happens to me on Lucid 64 Bits. Will try with lucid 32 bits and let you know -- php-cli segmentation fault with mysql extension https://bugs.launchpad.net/bugs/343870 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 343870] Re: php-cli segmentation fault with mysql extension
OK, tested on Lucid 32 bits, it still happens, segfaults while executing a database query... -- php-cli segmentation fault with mysql extension https://bugs.launchpad.net/bugs/343870 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 343870] Re: php-cli segmentation fault with mysql extension
Here is attached the gdb session: Program received signal SIGSEGV, Segmentation fault. 0x08329955 in gc_zval_possible_root (zv=0xa56a6e4) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:143 143 /build/buildd/php5-5.3.2/Zend/zend_gc.c: No such file or directory. in /build/buildd/php5-5.3.2/Zend/zend_gc.c (gdb) bt #0 0x08329955 in gc_zval_possible_root (zv=0xa56a6e4) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:143 #1 0x082fd4c1 in _zval_ptr_dtor (zval_ptr=0xa53fd54) at /build/buildd/php5-5.3.2/Zend/zend_gc.h:183 #2 0x08316f94 in zend_hash_destroy (ht=0xa58a674) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:726 #3 0x0832d2b3 in zend_object_std_dtor (object=0xa55c4b8) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:45 #4 0x0832d2f2 in zend_objects_free_object_storage (object=0xa55c4b8) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:114 #5 0x08330e1d in zend_objects_store_del_ref_by_handle_ex (handle=error type, handlers=0x8764700) at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:220 #6 0x08330e5f in zend_objects_store_del_ref (zobject=0xa5a50bc) at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:172 #7 0x08309cd9 in _zval_dtor_func (zvalue=0xa5a50bc) at /build/buildd/php5-5.3.2/Zend/zend_variables.c:55 #8 0x082fd48d in _zval_ptr_dtor (zval_ptr=0xa58ecd4) at /build/buildd/php5-5.3.2/Zend/zend_variables.h:35 #9 0x08316f94 in zend_hash_destroy (ht=0x8903d1c) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:726 #10 0x08309c96 in _zval_dtor_func (zvalue=0xa5afb00) at /build/buildd/php5-5.3.2/Zend/zend_variables.c:46 #11 0x082fd48d in _zval_ptr_dtor (zval_ptr=0xa581904) at /build/buildd/php5-5.3.2/Zend/zend_variables.h:35 #12 0x08316f94 in zend_hash_destroy (ht=0xa57a8d4) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:726 #13 0x0832d2b3 in zend_object_std_dtor (object=0xa5afb2c) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:45 #14 0x0832d2f2 in zend_objects_free_object_storage (object=0xa5afb2c) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:114 #15 0x08330e1d in zend_objects_store_del_ref_by_handle_ex (handle=error type, handlers=0x8764700) at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:220 #16 0x08330e5f in zend_objects_store_del_ref (zobject=0xa5be2a8) at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:172 #17 0x08309cd9 in _zval_dtor_func (zvalue=0xa5be2a8) at /build/buildd/php5-5.3.2/Zend/zend_variables.c:55 #18 0x082fd48d in _zval_ptr_dtor (zval_ptr=0xbfffc984) at /build/buildd/php5-5.3.2/Zend/zend_variables.h:35 #19 0x083301fb in zend_std_write_property (object=0xa5c56d8, member=0xa0299e0, value=0xa5d17d8) at /build/buildd/php5-5.3.2/Zend/zend_object_handlers.c:435 #20 0x0837a9d9 in zend_assign_to_object (result=0xa0299b4, object_ptr=0x877b788, property_name=0xa0299e0, value_op=0xa029a14, Ts=0x893febc, opcode=136) at /build/buildd/php5-5.3.2/Zend/zend_execute.c:589 #21 0x0837b268 in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_HANDLER (execute_data=0x893fe60) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:17617 #22 0x08333d8e in execute (op_array=0x8a3fa50) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104 #23 0x082ffbf1 in zend_call_function (fci=0xbfffcbe0, fci_cache=0xbfffcc04) at /build/buildd/php5-5.3.2/Zend/zend_execute_API.c:947 #24 0x0822eaa5 in zif_call_user_func_array (ht=2, return_value=0x8c81364, return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at /build/buildd/php5-5.3.2/ext/standard/basic_functions.c:4782 #25 0x0835d26a in zend_do_fcall_common_helper_SPEC (execute_data=0x893d630) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:313 #26 0x08333d8e in execute (op_array=0x8909eac) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104 #27 0x08309fa6 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /build/buildd/php5-5.3.2/Zend/zend.c:1266 #28 0x082ae754 in php_execute_script (primary_file=0xb1d4) at /build/buildd/php5-5.3.2/main/main.c:2288 #29 0x083a0c28 in main (argc=5, argv=0xb314) at /build/buildd/php5-5.3.2/sapi/cli/php_cli.c:1196 (gdb) frame 22 #22 0x08333d8e in execute (op_array=0x8a3fa50) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104 104 /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h: No such file or directory. in /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h Hope this helps. -- php-cli segmentation fault with mysql extension https://bugs.launchpad.net/bugs/343870 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 343870] Re: php-cli segmentation fault with mysql extension
Kir, this happens when mysql is activated and at the time I issue a sql query. If i disable mysql, (fetching everything from memcache) this does not happens, only happens on php-cli not on the webservers not other place. -- php-cli segmentation fault with mysql extension https://bugs.launchpad.net/bugs/343870 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 586898] [NEW] php5 cli segmentation fault when executing script
Public bug reported: Binary package hint: php5-cli Description:Ubuntu 10.04 LTS Release:10.04 php5-cli: Installed: 5.3.2-1ubuntu4.2 Candidate: 5.3.2-1ubuntu4.2 Version table: *** 5.3.2-1ubuntu4.2 0 500 http://es.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages 100 /var/lib/dpkg/status 5.3.2-1ubuntu4 0 500 http://es.archive.ubuntu.com/ubuntu/ lucid/main Packages When I execute a php script on the command line i get segmentation fault. On the log, i see this happens at the moment a SQL Query to the mysql is raised. The gdb backtrace is this: Program received signal SIGSEGV, Segmentation fault. 0x08329955 in gc_zval_possible_root (zv=0xa56a6e4) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:143 143 /build/buildd/php5-5.3.2/Zend/zend_gc.c: No such file or directory. in /build/buildd/php5-5.3.2/Zend/zend_gc.c (gdb) bt #0 0x08329955 in gc_zval_possible_root (zv=0xa56a6e4) at /build/buildd/php5-5.3.2/Zend/zend_gc.c:143 #1 0x082fd4c1 in _zval_ptr_dtor (zval_ptr=0xa53fd54) at /build/buildd/php5-5.3.2/Zend/zend_gc.h:183 #2 0x08316f94 in zend_hash_destroy (ht=0xa58a674) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:726 #3 0x0832d2b3 in zend_object_std_dtor (object=0xa55c4b8) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:45 #4 0x0832d2f2 in zend_objects_free_object_storage (object=0xa55c4b8) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:114 #5 0x08330e1d in zend_objects_store_del_ref_by_handle_ex (handle=error type, handlers=0x8764700) at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:220 #6 0x08330e5f in zend_objects_store_del_ref (zobject=0xa5a50bc) at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:172 #7 0x08309cd9 in _zval_dtor_func (zvalue=0xa5a50bc) at /build/buildd/php5-5.3.2/Zend/zend_variables.c:55 #8 0x082fd48d in _zval_ptr_dtor (zval_ptr=0xa58ecd4) at /build/buildd/php5-5.3.2/Zend/zend_variables.h:35 #9 0x08316f94 in zend_hash_destroy (ht=0x8903d1c) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:726 #10 0x08309c96 in _zval_dtor_func (zvalue=0xa5afb00) at /build/buildd/php5-5.3.2/Zend/zend_variables.c:46 #11 0x082fd48d in _zval_ptr_dtor (zval_ptr=0xa581904) at /build/buildd/php5-5.3.2/Zend/zend_variables.h:35 #12 0x08316f94 in zend_hash_destroy (ht=0xa57a8d4) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:726 #13 0x0832d2b3 in zend_object_std_dtor (object=0xa5afb2c) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:45 #14 0x0832d2f2 in zend_objects_free_object_storage (object=0xa5afb2c) at /build/buildd/php5-5.3.2/Zend/zend_objects.c:114 #15 0x08330e1d in zend_objects_store_del_ref_by_handle_ex (handle=error type, handlers=0x8764700) at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:220 #16 0x08330e5f in zend_objects_store_del_ref (zobject=0xa5be2a8) at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:172 #17 0x08309cd9 in _zval_dtor_func (zvalue=0xa5be2a8) at /build/buildd/php5-5.3.2/Zend/zend_variables.c:55 #18 0x082fd48d in _zval_ptr_dtor (zval_ptr=0xbfffc984) at /build/buildd/php5-5.3.2/Zend/zend_variables.h:35 #19 0x083301fb in zend_std_write_property (object=0xa5c56d8, member=0xa0299e0, value=0xa5d17d8) at /build/buildd/php5-5.3.2/Zend/zend_object_handlers.c:435 #20 0x0837a9d9 in zend_assign_to_object (result=0xa0299b4, object_ptr=0x877b788, property_name=0xa0299e0, value_op=0xa029a14, Ts=0x893febc, opcode=136) at /build/buildd/php5-5.3.2/Zend/zend_execute.c:589 #21 0x0837b268 in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_HANDLER (execute_data=0x893fe60) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:17617 #22 0x08333d8e in execute (op_array=0x8a3fa50) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104 #23 0x082ffbf1 in zend_call_function (fci=0xbfffcbe0, fci_cache=0xbfffcc04) at /build/buildd/php5-5.3.2/Zend/zend_execute_API.c:947 #24 0x0822eaa5 in zif_call_user_func_array (ht=2, return_value=0x8c81364, return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at /build/buildd/php5-5.3.2/ext/standard/basic_functions.c:4782 #25 0x0835d26a in zend_do_fcall_common_helper_SPEC (execute_data=0x893d630) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:313 #26 0x08333d8e in execute (op_array=0x8909eac) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104 #27 0x08309fa6 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /build/buildd/php5-5.3.2/Zend/zend.c:1266 #28 0x082ae754 in php_execute_script (primary_file=0xb1d4) at /build/buildd/php5-5.3.2/main/main.c:2288 #29 0x083a0c28 in main (argc=5, argv=0xb314) at /build/buildd/php5-5.3.2/sapi/cli/php_cli.c:1196 (gdb) frame 22 #22 0x08333d8e in execute (op_array=0x8a3fa50) at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104 104 /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h: No such file or directory. in /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h This was reported on bug 343870 but people said it's not mysql related. Using strace i see that it locks after sending the query to mysql server. If anything else is
[Bug 557924] [NEW] php5-cgi crashed with SIGSEGV in zend_get_constant_ex()
Public bug reported: Binary package hint: php5 Executing php5-cgi with spawn-fcgi using nginx produces this error. ProblemType: Crash DistroRelease: Ubuntu 10.04 Package: php5-cgi 5.3.2-1ubuntu3 ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1 Uname: Linux 2.6.32-17-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 Date: Wed Apr 7 16:00:15 2010 ExecutablePath: /usr/bin/php5-cgi InstallationMedia: Ubuntu 10.04 Lucid Lynx - Beta amd64 (20100318) ProcCmdline: /usr/bin/php-cgi ProcEnviron: PATH=(custom, no user) SegvAnalysis: Segfault happened at: 0x686dbd zend_get_constant_ex+29: cmpb $0x5c,(%rdi) PC (0x00686dbd) ok source $0x5c ok destination (%rdi) (0x01ede0a8) not located in a known VMA region (needed writable region)! SegvReason: writing unknown VMA Signal: 11 SourcePackage: php5 StacktraceTop: zend_get_constant_ex () zval_update_constant_ex () zend_hash_apply_with_argument () zend_update_class_constants () zend_std_get_static_property () Title: php5-cgi crashed with SIGSEGV in zend_get_constant_ex() UserGroups: ** Affects: php5 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-crash lucid -- php5-cgi crashed with SIGSEGV in zend_get_constant_ex() https://bugs.launchpad.net/bugs/557924 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 557924] Re: php5-cgi crashed with SIGSEGV in zend_get_constant_ex()
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/43418040/Dependencies.txt ** Attachment added: Disassembly.txt http://launchpadlibrarian.net/43418041/Disassembly.txt ** Attachment added: PHPConf.etc.php5.apache2.php.ini.txt http://launchpadlibrarian.net/43418043/PHPConf.etc.php5.apache2.php.ini.txt ** Attachment added: PHPInstalledModules.txt http://launchpadlibrarian.net/43418044/PHPInstalledModules.txt ** Attachment added: ProcMaps.txt http://launchpadlibrarian.net/43418045/ProcMaps.txt ** Attachment added: ProcStatus.txt http://launchpadlibrarian.net/43418046/ProcStatus.txt ** Attachment added: Registers.txt http://launchpadlibrarian.net/43418047/Registers.txt ** Attachment added: Stacktrace.txt http://launchpadlibrarian.net/43418048/Stacktrace.txt ** Attachment added: ThreadStacktrace.txt http://launchpadlibrarian.net/43418049/ThreadStacktrace.txt -- php5-cgi crashed with SIGSEGV in zend_get_constant_ex() https://bugs.launchpad.net/bugs/557924 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 543212] Re: php5-cli in lucid-beta1 missing readline/libedit support
Again in php5-cli (5.3.2-1ubuntu3) readline/libedit support was removed. -- php5-cli in lucid-beta1 missing readline/libedit support https://bugs.launchpad.net/bugs/543212 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs