| Summary: | Apache dies on SIGSEGV in mod_php5 on squirrellmail. | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Václav Haisman <v.haisman> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->clement Over to maintainer Responsible Changed From-To: clement->ale It's a PHP bug I think. State Changed From-To: open->feedback Does it still happen with php 5.1.6? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have tested it only briefly but I it seems it works now. - -- VH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRP0UtENOZDESBK8FAQIbRAf/eO6Z9bHfBtO/FiXuVhbheAIPE00jpj4I OLoJZOTmd6xDMYXBicQXmuqcDqGgy0JN3qNcIC6uAaVb6B/67nkhJUy8jcBvpHqN eV3Fvf0dtJ51HgIpwVk9IiQLr4TjZcK2eCosTnCtW798OrzeZKR9OnXKC0V/3iMc 1d6DRBvgSlYCIxFH/8wsOa4cj32L8qq1jPNycKs4MBzoX2i0qQu4Sw+srks1onoD 3BAT/zs1O3e9LrvCg7cVPqzFsCkXtCxouCAVfQktXr0SRPHpW0R51zqWXhVo8zEn WA7PCHDEHUrJthgpR+Bdi2G+3/Pvsc2X5U9jEnqEkWH0iIXlJqhGrg== =Wc2w -----END PGP SIGNATURE----- State Changed From-To: feedback->closed Submitter reported it works now. I have just update PHP to php5-5.1.6_2 and I am getting the error again, for
some scripts. This time on phpMyAdmin.
Program received signal SIGSEGV, Segmentation fault.
0x287a6598 in ZEND_UNSET_VAR_SPEC_CV_HANDLER (execute_data=0xbfbfc5a0) at
zend_hash.h:252
252 hash = ((hash << 5) + hash) + *arKey++;
(gdb) bt
#0 0x287a6598 in ZEND_UNSET_VAR_SPEC_CV_HANDLER (execute_data=0xbfbfc5a0) at
zend_hash.h:252
#1 0x28765498 in execute (op_array=0x83d6d28) at zend_vm_execute.h:92
#2 0x2876c544 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER
(execute_data=0xbfbfd2c0)
at zend_vm_execute.h:1971
#3 0x28765498 in execute (op_array=0x83acf28) at zend_vm_execute.h:92
#4 0x2874573e in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at /usr/ports/lang/php5/work/php-5.1.6/Zend/zend.c:1190
#5 0x286fee46 in php_execute_script (primary_file=0xbfbfe930)
at /usr/ports/lang/php5/work/php-5.1.6/main/main.c:1756
#6 0x287c29fa in php_handler (r=0x83cb050)
at /usr/ports/lang/php5/work/php-5.1.6/sapi/apache2handler/sapi_apache2.c:590
#7 0x08073ed3 in ap_run_handler ()
#8 0x080742d5 in ap_invoke_handler ()
#9 0x08080bd3 in ap_process_request ()
#10 0x0807e340 in ap_process_http_connection ()
#11 0x0807a8f9 in ap_run_process_connection ()
#12 0x08084b25 in child_main ()
#13 0x08084d9c in make_child ()
#14 0x08085b4a in ap_mpm_run ()
#15 0x08061fbf in main ()
(gdb) p *execute_data
$1 = {opline = 0x8533920, function_state = {function_symbol_table = 0x0,
function = 0x83d6d28,
reserved = {0x0, 0x0, 0x0, 0x0}}, fbc = 0x0, op_array = 0x83d6d28, object
= 0x0, Ts = 0xbfbf8af0,
CVs = 0xbfbf8a20, original_in_execution = 1 '\001', symbol_table = 0x28854450,
prev_execute_data = 0xbfbfd2c0, old_error_reporting = 0x0}
--
wilx
|
I have a repeatable SIGSEGV in mod_php5 with Apache 2.2.2 on Squirrellmail. It seems to be PHP5 problem. This has started happening after I updated to 6.1 from 6.0 world. I tried to rebuild both PHP5 and all PHP5-* ports and Apache 2.2 too. Nothing helped. Program received signal SIGSEGV, Segmentation fault. ZEND_UNSET_DIM_SPEC_VAR_CV_HANDLER (execute_data=0xbfbfc530) at zend_hash.h:252 252 hash = ((hash << 5) + hash) + *arKey++; (gdb) bt #0 ZEND_UNSET_DIM_SPEC_VAR_CV_HANDLER (execute_data=0xbfbfc530) at zend_hash.h:252 #1 0x2876dd58 in execute (op_array=0x845cd24) at zend_vm_execute.h:92 #2 0x2877baae in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0xbfbfd270) at zend_vm_execute.h:4402 #3 0x2876dd58 in execute (op_array=0x845c724) at zend_vm_execute.h:92 #4 0x2874d414 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/ports/lang/php5/work/php-5.1.4/Zend/zend.c:1109 #5 0x28706707 in php_execute_script (primary_file=0xbfbfe8d0) at /usr/ports/lang/php5/work/php-5.1.4/main/main.c:1732 #6 0x287cfdad in php_handler (r=0x83c0050) at /usr/ports/lang/php5/work/php-5.1.4/sapi/apache2handler/sapi_apache2.c:586 #7 0x08074ce5 in ap_run_handler () #8 0x0807515c in ap_invoke_handler () #9 0x080822c8 in ap_process_request () #10 0x0807f7fc in ap_process_http_connection () #11 0x0807ba65 in ap_run_process_connection () #12 0x08086373 in child_main () #13 0x080865e9 in make_child () #14 0x080866a0 in startup_children () #15 0x08086fbb in ap_mpm_run () #16 0x08061fe9 in main ()