Php crash on latestbuild.



  • Warning: sprintf(): Too few arguments in /usr/local/www/classes/Form/Input.class.php on line 121 Call Stack: 0.0001 228552 1. {main}() /usr/local/www/system_advanced_firewall.php:0 0.1309 2295936 2. Form_Input->setHelp() /usr/local/www/system_advanced_firewall.php:451 0.1309 2296656 3. call_user_func_array:{/usr/local/www/classes/Form/Input.class.php:121}() /usr/local/www/classes/Form/Input.class.php:121 0.1309 2297040 4. sprintf() /usr/local/www/classes/Form/Input.class.php:121 Warning: sprintf(): Too few arguments in /usr/local/www/classes/Form/Input.class.php on line 121 Call Stack: 0.0001 228552 1. {main}() /usr/local/www/system_advanced_firewall.php:0 0.1318 2298080 2. Form_Input->setHelp() /usr/local/www/system_advanced_firewall.php:463 0.1318 2298848 3. call_user_func_array:{/usr/local/www/classes/Form/Input.class.php:121}() /usr/local/www/classes/Form/Input.class.php:121 0.1318 2299232 4. sprintf() /usr/local/www/classes/Form/Input.class.php:121

    when one enters System -> Advanced -> Firewall & NAT

    SG-4860

    amd64
    11.0-RELEASE-p7
    FreeBSD 11.0-RELEASE-p7 #228 5ee3f5a72da(RELENG_2_4): Fri Feb  3 20:06:47 CST 2017    root@buildbot2.netgate.com:/builder/factory/tmp/obj/builder/factory/tmp/FreeBSD-src/sys/pfSense

    Crash report details:

    PHP Errors:
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP Warning:  sprintf(): Too few arguments in /usr/local/www/classes/Form/Input.class.php on line 121
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP Stack trace:
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP  1. {main}() /usr/local/www/system_advanced_firewall.php:0
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP  2. Form_Input->setHelp() /usr/local/www/system_advanced_firewall.php:451
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP  3. call_user_func_array:{/usr/local/www/classes/Form/Input.class.php:121}() /usr/local/www/classes/Form/Input.class.php:121
    /usr/local/www/classes/Form/Input.class.php:121
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP Warning:  sprintf(): Too few arguments in /usr/local/www/classes/Form/Input.class.php on line 121
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP Stack trace:
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP  1. {main}() /usr/local/www/system_advanced_firewall.php:0
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP  2. Form_Input->setHelp() /usr/local/www/system_advanced_firewall.php:463
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP  3. call_user_func_array:{/usr/local/www/classes/Form/Input.class.php:121}() /usr/local/www/classes/Form/Input.class.php:121
    [05-Feb-2017 09:14:17 Australia/Brisbane] PHP  4. sprintf() /usr/local/www/classes/Form/Input.class.php:121
    [05-Feb-2017 09:14:34 Australia/Brisbane] PHP Warning:  sprintf(): Too few arguments in /usr/local/www/classes/Form/Input.class.php on line 121
    [05-Feb-2017 09:14:34 Australia/Brisbane] PHP Stack trace:
    [05-Feb-2017 09:14:34 Australia/Brisbane] PHP  1. {main}() /usr/local/www/system_advanced_firewall.php:0
    [05-Feb-2017 09:14:34 Australia/Brisbane] PHP  2. Form_Input->setHelp()

    …..



  • Redmine says that this was fixed today. Bug #7202



  • Yes, if you gitsync or wait for the next snapshot or manually put the latest /usr/local/www/system_advanced_firewall.php onto your system it will be fixed.


Log in to reply