[Bug 586898] Re: php5 cli segmentation fault when executing script

2013-12-07 Thread Omid Kosari
Program received signal SIGSEGV, Segmentation fault.
0x006b57d9 in gc_zval_possible_root (zv=0x351f4c8) at 
/build/buildd/php5-5.3.2/Zend/zend_gc.c:143
143 GC_ZOBJ_CHECK_POSSIBLE_ROOT(zv);
(gdb) bt
#0  0x006b57d9 in gc_zval_possible_root (zv=0x351f4c8) at 
/build/buildd/php5-5.3.2/Zend/zend_gc.c:143
#1  0x006a3eb8 in zend_hash_destroy (ht=0x32e6ed0) at 
/build/buildd/php5-5.3.2/Zend/zend_hash.c:726
#2  0x0054efed in sxe_object_free_storage (object=0x32e3510) at 
/build/buildd/php5-5.3.2/ext/simplexml/simplexml.c:2016
#3  0x006bcadc in zend_objects_store_del_ref_by_handle_ex 
(handle=32767, handlers=0x32ecbb0) at 
/build/buildd/php5-5.3.2/Zend/zend_objects_API.c:220
#4  0x006bcb03 in zend_objects_store_del_ref (zobject=0x3535208) at 
/build/buildd/php5-5.3.2/Zend/zend_objects_API.c:172
#5  0x00719d38 in ZEND_ASSIGN_SPEC_CV_VAR_HANDLER 
(execute_data=0x77ea8438) at 
/build/buildd/php5-5.3.2/Zend/zend_execute.c:698
#6  0x006bf770 in execute (op_array=0x17cded8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#7  0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#8  0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea6640) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#9  0x006bf770 in execute (op_array=0x17cded8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#10 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#11 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea58d0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#12 0x006bf770 in execute (op_array=0x17c7520) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#13 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#14 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea4a10) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#15 0x006bf770 in execute (op_array=0x1808e90) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#16 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#17 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea40a8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#18 0x006bf770 in execute (op_array=0x1798168) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#19 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#20 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea37e0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#21 0x006bf770 in execute (op_array=0x16fdbc0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#22 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
---Type return to continue, or q return to quit---
#23 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea34a0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#24 0x006bf770 in execute (op_array=0x17348e8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#25 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#26 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e91440) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#27 0x006bf770 in execute (op_array=0x1945ae8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#28 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#29 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e90e80) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#30 0x006bf770 in execute (op_array=0x7fffea64e4c0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#31 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#32 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e90068) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#33 0x006bf770 in execute (op_array=0x1229120) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#34 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#35 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e8e730) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#36 0x006bf770 in execute (op_array=0x11d7ba8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#37 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#38 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e8e068) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#39 0x006bf770 in execute (op_array=0x1175208) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#40 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#41 0x006971bd in zend_execute_scripts (type=538976288, 
retval=0x7fffbf70, file_count=3) at 

[Bug 586898] Re: php5 cli segmentation fault when executing script

2013-12-05 Thread Hamed Narimani
I am using php with zend framework. when running codes on my local pc
everything is ok but when I run them on server, I get exactly the same
error as other comments :

Program received signal SIGSEGV, Segmentation fault.
0x006b57d9 in gc_zval_possible_root (zv=0x3470c40) 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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/586898

Title:
  php5 cli segmentation fault when executing script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/586898/+subscriptions

-- 
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

2013-12-05 Thread Omid Kosari
Program received signal SIGSEGV, Segmentation fault.
zend_mm_remove_from_free_list (heap=0xd96ac0, mm_block=0x2d3fab0) 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=0xd96ac0, mm_block=0x2d3fab0) at 
/build/buildd/php5-5.3.2/Zend/zend_alloc_canary.c:889
#1  0x006b7b9b in _zend_mm_free_canary_int (heap=0xd96ac0, p=0x2d3fa68) 
at /build/buildd/php5-5.3.2/Zend/zend_alloc_canary.c:2126
#2  0x0054efed in sxe_object_free_storage (object=0x2d3f6e8) at 
/build/buildd/php5-5.3.2/ext/simplexml/simplexml.c:2016
#3  0x006bcadc in zend_objects_store_del_ref_by_handle_ex 
(handle=32767, handlers=0x2d3fab0)
at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:220
#4  0x006bcb03 in zend_objects_store_del_ref (zobject=0x2d3f698) at 
/build/buildd/php5-5.3.2/Zend/zend_objects_API.c:172
#5  0x00719d38 in ZEND_ASSIGN_SPEC_CV_VAR_HANDLER 
(execute_data=0x77eaed18) at 
/build/buildd/php5-5.3.2/Zend/zend_execute.c:698
#6  0x006bf770 in execute (op_array=0x17cd8f8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#7  0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#8  0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77eacf20)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#9  0x006bf770 in execute (op_array=0x17cd8f8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#10 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#11 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77eab128)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#12 0x006bf770 in execute (op_array=0x17cd8f8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#13 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#14 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea9330)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#15 0x006bf770 in execute (op_array=0x17cd8f8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#16 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#17 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea7538)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
---Type return to continue, or q return to quit---
#18 0x006bf770 in execute (op_array=0x17cd8f8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#19 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#20 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea67c8)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#21 0x006bf770 in execute (op_array=0x17c6f40) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#22 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#23 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea5908)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#24 0x006bf770 in execute (op_array=0x18088b0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#25 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#26 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea4fa0)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#27 0x006bf770 in execute (op_array=0x1797b88) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#28 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#29 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea46d8)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#30 0x006bf770 in execute (op_array=0x16fd5e0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#31 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#32 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea4108)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#33 0x006bf770 in execute (op_array=0x16fca08) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#34 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#35 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea3478)
---Type return to continue, or q return to quit---
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#36 0x006bf770 in execute (op_array=0x1ae78d8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#37 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#38 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e91440)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#39 0x006bf770 in execute (op_array=0x1945508) at 

[Bug 586898] Re: php5 cli segmentation fault when executing script

2013-12-04 Thread Omid Kosari
Program received signal SIGSEGV, Segmentation fault.
0x006b57d9 in gc_zval_possible_root (zv=0x3470c40) 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  0x006b57d9 in gc_zval_possible_root (zv=0x3470c40) at 
/build/buildd/php5-5.3.2/Zend/zend_gc.c:143
#1  0x006a3eb8 in zend_hash_destroy (ht=0x3225800) at 
/build/buildd/php5-5.3.2/Zend/zend_hash.c:726
#2  0x0054efed in sxe_object_free_storage (object=0x322dbd8) at 
/build/buildd/php5-5.3.2/ext/simplexml/simplexml.c:2016
#3  0x006bcadc in zend_objects_store_del_ref_by_handle_ex 
(handle=32767, handlers=0x31f5c70)
at /build/buildd/php5-5.3.2/Zend/zend_objects_API.c:220
#4  0x006bcb03 in zend_objects_store_del_ref (zobject=0x364bca8) at 
/build/buildd/php5-5.3.2/Zend/zend_objects_API.c:172
#5  0x00719d38 in ZEND_ASSIGN_SPEC_CV_VAR_HANDLER 
(execute_data=0x77ea8438) at 
/build/buildd/php5-5.3.2/Zend/zend_execute.c:698
#6  0x006bf770 in execute (op_array=0x17cd8f8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#7  0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#8  0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea6640)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#9  0x006bf770 in execute (op_array=0x17cd8f8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#10 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#11 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea58d0)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#12 0x006bf770 in execute (op_array=0x17c6f40) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#13 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#14 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea4a10)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#15 0x006bf770 in execute (op_array=0x18088b0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#16 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#17 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea40a8)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
---Type return to continue, or q return to quit---
#18 0x006bf770 in execute (op_array=0x1797b88) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#19 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#20 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea37e0)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#21 0x006bf770 in execute (op_array=0x16fd5e0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#22 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#23 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77ea34a0)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#24 0x006bf770 in execute (op_array=0x1734308) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#25 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#26 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e91440)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#27 0x006bf770 in execute (op_array=0x1945508) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#28 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#29 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e90e80)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#30 0x006bf770 in execute (op_array=0x7fffea64e4c0) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#31 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#32 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e90068)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#33 0x006bf770 in execute (op_array=0x1228b40) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#34 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#35 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e8e730)
---Type return to continue, or q return to quit---
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#36 0x006bf770 in execute (op_array=0x11d75c8) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#37 0x7fffeb293836 in ?? () from /usr/lib/php5/20090626/suhosin.so
#38 0x006e8176 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x77e8e068)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:337
#39 0x006bf770 in execute (op_array=0x1174b08) at 
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#40 0x7fffeb293836 in ?? () from 

[Bug 586898] Re: php5 cli segmentation fault when executing script

2010-12-22 Thread Launchpad Bug Tracker
[Expired for php5 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: php5 (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/586898

Title:
  php5 cli segmentation fault when executing script

-- 
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

2010-09-28 Thread Jan K.
The problem seems to be a problem in memcache. We switched to the
memcached extension and everything is working now! No more segfaults.

Jan

-- 
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

2010-07-06 Thread raspi
Cli version PHP 5.3.2-1ubuntu4.2 with Suhosin-Patch (cli) (built: May 13
2010 20:03:45)

Program received signal SIGSEGV, Segmentation fault.
0x006b2a8c in ?? ()
(gdb) bt
#0  0x006b2a8c in ?? ()
#1  0x006b2aae in ?? ()
#2  0x006b2aae in ?? ()
#3  0x006b2aae in ?? ()
#4  0x006b2b65 in ?? ()
#5  0x006b3475 in gc_collect_cycles ()
#6  0x006b3684 in gc_zval_possible_root ()
#7  0x0070910f in ?? ()
#8  0x00709a7d in ?? ()
#9  0x006bd400 in execute ()
#10 0x0069512d in zend_execute_scripts ()
#11 0x00640d98 in php_execute_script ()
#12 0x00726236 in ?? ()
#13 0x752a6c4d in __libc_start_main () from /lib/libc.so.6
#14 0x0042c639 in _start ()

-- 
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

2010-06-11 Thread Jan K.
We got a similar problem without mysql in lucid without using mysql.
Happens in Apache at a strange point. Only happens when using memcache,
when we try to clean some objects:

Program received signal SIGSEGV, Segmentation fault.
0x73d9c980 in gc_remove_zval_from_buffer (
zv=0x7fffb7c0)
at /build/buildd/php5-5.3.2/Zend/zend_gc.h:189
189 /build/buildd/php5-5.3.2/Zend/zend_gc.h: No such file or directory.
in /build/buildd/php5-5.3.2/Zend/zend_gc.h
(gdb) bt
#0  0x73d9c980 in gc_remove_zval_from_buffer (
zv=0x7fffb7c0)
at /build/buildd/php5-5.3.2/Zend/zend_gc.h:189
#1  0x73d72a05 in _zval_ptr_dtor (
zval_ptr=0x7a79ba88)
at /build/buildd/php5-5.3.2/Zend/zend_execute_API.c:438
#2  0x73d8b988 in zend_hash_destroy (
ht=0x78e12de8)
at /build/buildd/php5-5.3.2/Zend/zend_hash.c:726
#3  0x73d7e98f in _zval_dtor_func (
zvalue=0x78e234b8)
at /build/buildd/php5-5.3.2/Zend/zend_variables.c:46
#4  0x73d729bd in _zval_ptr_dtor (
zval_ptr=0x7fffbae8)
at /build/buildd/php5-5.3.2/Zend/zend_variables.h:35
#5  0x73da3778 in zend_std_write_property (
object=0x7a79cb70, member=0x7a79cb70, 
value=0x7893da30)
at /build/buildd/php5-5.3.2/Zend/zend_object_handlers.c:435
#6  0x73df2c4a in zend_assign_to_object (
result=0x78e21b98, object_ptr=0x74476b20, 
property_name=0x78e21be0, value_op=0x78e21c30, 
Ts=0x77e85898, opcode=-92885552)
at /build/buildd/php5-5.3.2/Zend/zend_execute.c:595
#7  0x73df35dd in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_HANDLER 
(execute_data=0x77e857f0)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:17617
#8  0x73da6f60 in execute (op_array=0x78e1d5e0)
at /build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104
#9  0x73d7ec8d in zend_execute_scripts (
type=4194336, retval=0x7fffbc80, file_count=3)
at /build/buildd/php5-5.3.2/Zend/zend.c:1266
#10 0x73d2a8f8 in php_execute_script (
primary_file=0x0)
at /build/buildd/php5-5.3.2/main/main.c:2288
#11 0x73e0bf2d in php_handler (r=0x73e0bf2d)
at /build/buildd/php5-5.3.2/sapi/apache2handler/sapi_apache2.c:674
#12 0x77fd6140 in ap_run_handler (r=0x786c3fa0)
at /build/buildd/apache2-2.2.14/server/config.c:159
#13 0x77fd9aa8 in ap_invoke_handler (
r=0x786c3fa0)
at /build/buildd/apache2-2.2.14/server/config.c:373
#14 0x77fe749c in ap_internal_redirect (
new_uri=value optimized out, r=value optimized out)
at /build/buildd/apache2-2.2.14/modules/http/http_request.c:501
#15 0x713c7c95 in ?? ()
   from /usr/lib/apache2/modules/mod_rewrite.so
#16 0x77fd6140 in ap_run_handler (r=0x786adba8)
at /build/buildd/apache2-2.2.14/server/config.c:159
#17 0x77fd9aa8 in ap_invoke_handler (
r=0x786adba8)
at /build/buildd/apache2-2.2.14/server/config.c:373
#18 0x77fe7678 in ap_process_request (
r=0x786adba8)
at /build/buildd/apache2-2.2.14/modules/http/http_request.c:282
#19 0x77fe4528 in ap_process_http_connection (
c=0x786a79d8)
at /build/buildd/apache2-2.2.14/modules/http/http_core.c:190
#20 0x77fddcf8 in ap_run_process_connection (
c=0x786a79d8)
at /build/buildd/apache2-2.2.14/server/connection.c:43
#21 0x77fec037 in child_main (
child_num_arg=value optimized out)
at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:662
#22 0x77fec306 in make_child (s=0x78214938, 
slot=0)
at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:702
#23 0x77fec953 in ap_mpm_run (
_pconf=value optimized out, 
plog=value optimized out, s=value optimized out)
at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:978
#24 0x77fc2350 in main (argc=2, argv=0x7fffe6f8)
at /build/buildd/apache2-2.2.14/server/main.c:742

-- 
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

2010-06-01 Thread Adrian Almenar
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

2010-06-01 Thread Adrian Almenar
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

2010-06-01 Thread Adrian Almenar
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

2010-06-01 Thread Adrian Almenar
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

2010-05-31 Thread Adrian Almenar
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 586898] Re: php5 cli segmentation fault when executing script

2010-05-29 Thread Chuck Short
Please attach script.

chuck

** Changed in: php5 (Ubuntu)
   Importance: Undecided = Low

** Changed in: php5 (Ubuntu)
   Status: New = Incomplete

-- 
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