Re: [MRBS-general] Browser-specific codepath?
Brought to you by:
jberanek
From: Diego Z. <die...@un...> - 2013-06-20 11:46:41
|
Il 20/06/2013 12:21, Diego Zuccato ha scritto: > I'm having a reallt worrisome problem: sometimes I get a "500 internal server error" when accessing my MRBS install (1.4.8 w/ ACL patch). What I don't understand is that the same code works as expected in another browser on the same machine! > The log file doesn't help much: it only says "premature end of script headers". Seems it was something in Themes/default/header.inc , but I still couldn't find WHAT. No apparent difference between a working one and a SIGSEGV-one ... Bahf! Maybe the real problem lies elsewhere, ready to byte my back when I less expect... 0x0829905f in tsrm_realpath_r (path=Cannot access memory at address 0xbf01df9c ) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:609 609 /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c: No such file or directory. in /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c (gdb) bt #0 0x0829905f in tsrm_realpath_r (path=Cannot access memory at address 0xbf01df9c ) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:609 #1 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=13, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=1, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #2 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=17, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=1, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #3 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=25, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=1, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #4 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=33, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=1, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #5 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=39, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=1, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #6 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=43, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=1, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #7 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=56, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=1, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #8 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=63, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=1, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #9 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=71, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=1, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #10 0x08299230 in tsrm_realpath_r (path=0xbf01ec8c "/srv/webhosts", start=1, len=82, ll=0xbf01ec88, t=0xbf01ec84, use_realpath=1, is_dir=0, link_is_dir=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:948 #11 0x08299ba9 in virtual_file_ex (state=0xbf01fcd4, path=0x9cb241c "Themes/default/header.inc", verify_path=0, use_realpath=1) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/TSRM/tsrm_virtual_cwd.c:1128 #12 0x082a2f33 in expand_filepath_ex (filepath=0x9cb241c "Themes/default/header.inc", real_path=0xbf024d5c "otazioni@", relative_to=0x0, relative_to_len=<error type>) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/main/fopen_wrappers.c:867 #13 0x082a30c4 in expand_filepath (filepath=0x9cb241c "Themes/default/header.inc", real_path=0xbf024d5c "otazioni@") at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/main/fopen_wrappers.c:815 #14 0x082a3c64 in php_check_specific_open_basedir (basedir=0xb25de8c "/var/www/clients/client1/web20/web", path=0x9cb241c "Themes/default/header.inc") at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/main/fopen_wrappers.c:163 #15 0x082a3fbe in php_check_open_basedir_ex (path=0x9cb241c "Themes/default/header.inc", warn=1) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/main/fopen_wrappers.c:298 #16 0x082a4065 in php_check_open_basedir (path=0x9cb241c "Themes/default/header.inc") at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/main/fopen_wrappers.c:274 #17 0x08229746 in php_stat (filename=0x9cb241c "Themes/default/header.inc", filename_length=25, type=15, return_value=0xb25de60) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/ext/standard/filestat.c:806 #18 0x0822ad6b in zif_file_exists (ht=1, return_value=0xb25de60, return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/ext/standard/filestat.c:1122 #19 0x08159f95 in phar_file_exists (ht=1, return_value=0xb25de60, return_value_ptr=0x0, this_ptr=0x0, return_value_used=1) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/ext/phar/func_interceptors.c:887 #20 0x0831ed1b in execute_internal (execute_data_ptr=0xb393408, return_value_used=1) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_execute.c:1261 #21 0xb4da6fa3 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so #22 0x0834abe8 in zend_do_fcall_common_helper_SPEC (execute_data=0xc) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_vm_execute.h:318 #23 0x083216ae in execute (op_array=0x9ce2b48) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_vm_execute.h:107 #24 0xb4da7404 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so #25 0x0834a8d6 in zend_do_fcall_common_helper_SPEC (execute_data=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_vm_execute.h:340 #26 0x083216ae in execute (op_array=0x9ded110) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_vm_execute.h:107 #27 0xb4da7404 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so #28 0x0834a8d6 in zend_do_fcall_common_helper_SPEC (execute_data=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_vm_execute.h:340 #29 0x083216ae in execute (op_array=0x9dec718) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_vm_execute.h:107 #30 0xb4da7404 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so #31 0x0834a8d6 in zend_do_fcall_common_helper_SPEC (execute_data=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_vm_execute.h:340 #32 0x083216ae in execute (op_array=0x9df0c08) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_vm_execute.h:107 #33 0xb4da7404 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so #34 0x0834a8d6 in zend_do_fcall_common_helper_SPEC (execute_data=0x0) at /build/buildd-php5_5.3.3-7+squeeze15-i386-ZkI3KT/php5-5.3.3/Zend/zend_vm_execute.h:340 -- Diego Zuccato Servizi Informatici Dip. di Fisica e Astronomia (DIFA) - Università di Bologna V.le Berti-Pichat 6/2 - 40127 Bologna - Italy tel.: +39 051 20 95786 mail: die...@un... 5x1000 AI GIOVANI RICERCATORI DELL'UNIVERSITÀ DI BOLOGNA Codice Fiscale: 80007010376 www.unibo.it/Vademecum5permille Questa informativa è inserita in automatico dal sistema al fine esclusivo della realizzazione dei fini istituzionali dell’ente. |