Or, better yet a way to rollback to 5.2.8 ? Thanks
On Wed, Aug 12, 2009 at 2:58 PM, Andres Salazar<ndrsslz...@gmail.com> wrote: > Hello, > > Is there anyway to download the OLD php port 5.2.6 ? so that I > compile that one hence using php 5.2.10 doesnt work. > > I know that it exists in the packages for release of 4.5, but I need > to compile it on my own for certain options I need. > > Thank you > Andres > > > > On Wed, Aug 12, 2009 at 7:03 AM, Stuart Henderson<s...@spacehopper.org> wrote: >> On 2009/08/12 12:53, Stuart Henderson wrote: >>> On 2009/08/12 12:46, Stuart Henderson wrote: >>> > On 2009/08/11 20:01, William Yodlowsky wrote: >>> > > On 11 August 2009 at 13:37, Andres Salazar <ndrsslz...@gmail.com> wrote: >>> > > >>> > > > Does anybody know why this "bug" is not listed in the suhosin website? >>> > > >>> > > I don't know, but I'd rather they fix the bug instead... >>> > > >>> > > > , could this be a incompatibility issue bewteen openbsd and suhosin >>> > > > instead of being it a suhosin only issue? >>> > > >>> > > No, it's not limited to openbsd. Google is your friend; google for >>> > > "suhosin.session.encrypt off" and see e.g. the bug reports for debian. >>> > >>> > if someone's interested in fixing this, here's a test script to trigger >>> > the problem, taken from one of the bug reports for this. >>> > >>> > doesn't seem to crash with single-process mode (httpd -X) which makes >>> > it trickier to debug. >>> >>> oh, I see why that was. yes, it does crash with -X, I'll try and >>> get a backtrace. >>> >> >> <st...@symphytum:/usr/ports/www/php5/core:25>$ sudo gdb httpd >> GNU gdb 6.3 >> Copyright 2004 Free Software Foundation, Inc. >> GDB is free software, covered by the GNU General Public License, and you are >> welcome to change it and/or distribute copies of it under certain conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for details. >> This GDB was configured as "i386-unknown-openbsd4.6"... >> (no debugging symbols found) >> >> (gdb) set args -Xu >> (gdb) r >> Starting program: /usr/sbin/httpd -Xu >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x009cc5ac in _zend_hash_add_or_update (ht=0x50545448, >> arKey=0x805d1814 "HTTP_USER_AGENT", nKeyLength=16, pData=0xcfbc0aa0, >> nDataSize=4, pDest=0xcfbc0a9c, flag=1) >> at /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/Zend/zend_hash.c:400 >> 400 nIndex = h & ht->nTableMask; >> (gdb) bt >> #0 0x009cc5ac in _zend_hash_add_or_update (ht=0x50545448, >> arKey=0x805d1814 "HTTP_USER_AGENT", nKeyLength=16, pData=0xcfbc0aa0, >> nDataSize=4, pDest=0xcfbc0a9c, flag=1) >> at /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/Zend/zend_hash.c:400 >> #1 0x00987af8 in zend_symtable_update (ht=0x50545448, >> arKey=0x805d1814 "HTTP_USER_AGENT", nKeyLength=16, pData=0xcfbc0aa0, >> nDataSize=4, pDest=0xcfbc0a9c) at zend_hash.h:341 >> #2 0x00985f9a in php_register_variable_ex ( >> var_name=0x207f5758 "HTTP_USER_AGENT", val=0xcfbc0b00, >> track_vars_array=0x805d7b40) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/main/php_variables.c:235 >> #3 0x0084b3f9 in php_sapi_filter (arg=4, var=0x207f5758 "HTTP_USER_AGENT", >> val=0xcfbc0b9c, val_len=87, new_val_len=0x0) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/filter/filter.c:396 >> #4 0x00950ded in suhosin_input_filter_wrapper (arg=4, >> var=0x207f5758 "HTTP_USER_AGENT", val=0xcfbc0b9c, val_len=87, >> new_val_len=0x0) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/suhosin/ifilter.c:297 >> #5 0x009822e1 in sapi_getenv (name=0x207f5758 "HTTP_USER_AGENT", >> name_len=15) >> at /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/main/SAPI.c:950 >> #6 0x0095cac5 in suhosin_generate_key (key=0x207f18a8 "", ua=1 '\001', >> dr=1 '\001', raddr=0, cryptkey=0xcfbc0cc0 "") >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/suhosin/session.c:405 >> #7 0x0095ce3a in suhosin_hook_s_read (mod_data=0x20859bd0, >> key=0x805d11a4 "5deff5202d232a14ab286daa8ab6a356", val=0xcfbc0d2c, >> vallen=0xcfbc0d28) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/suhosin/session.c:496 >> #8 0x0089c331 in php_session_initialize () >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/session/session.c:481 >> #9 0x0089f3d6 in php_session_start () >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/session/session.c:1372 >> #10 0x008a0ace in zif_session_start (ht=0, return_value=0x805d5190, >> return_value_ptr=0x0, this_ptr=0x0, return_value_used=0) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/session/session.c:1796 >> #11 0x009e3d47 in execute_internal (execute_data_ptr=0xcfbc1260, >> return_value_used=0) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/Zend/zend_execute.c:1375 >> #12 0x00959707 in suhosin_execute_internal (execute_data_ptr=0xcfbc1260, >> return_value_used=0) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/suhosin/execute.c:1605 >> #13 0x009e438f in zend_do_fcall_common_helper_SPEC (execute_data=0xcfbc1260) >> at zend_vm_execute.h:202 >> #14 0x009e77d4 in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0xcfbc1260) >> at zend_vm_execute.h:1739 >> #15 0x009e3f18 in execute (op_array=0x805d165c) at zend_vm_execute.h:92 >> #16 0x00957c75 in suhosin_execute_ex (op_array=0x805d165c, zo=0, dummy=0) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/suhosin/execute.c:562 >> #17 0x00957ca8 in suhosin_execute (op_array=0x805d165c) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/ext/suhosin/execute.c:574 >> #18 0x009c3790 in zend_execute_scripts (type=8, retval=0x0, file_count=3) >> at /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/Zend/zend.c:1215 >> #19 0x009793e8 in php_execute_script (primary_file=0xcfbc2990) >> at /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/main/main.c:2046 >> #20 0x00a2eb38 in apache_php_module_main (r=0x7e9c0034, >> display_source_mode=0) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/sapi/apache/sapi_apache.c:53 >> #21 0x00a2fb26 in send_php (r=0x7e9c0034, display_source_mode=0, >> filename=0x7e9c1bb4 "/var/www/htdocs/test.php") >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/sapi/apache/mod_php5.c:664 >> #22 0x00a2fb85 in send_parsed_php (r=0x7e9c0034) >> at >> /data/obj/portbuild/php5-core-5.2.10p1/php-5.2.10/sapi/apache/mod_php5.c:679 >> #23 0x1c0369d6 in ap_invoke_handler () >> #24 0x1c047a6f in ap_some_auth_required () >> #25 0x1c047c1f in ap_process_request () >> #26 0x00000000 in ?? () >> >> >