Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PHP Crashes | After upgrade 23.0.1

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 338 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      posix
      last edited by

      Hello,

      I am seeing some crashes on SG-5100 post upgrade 23.0.1 with the following packages:

      acme 0.7.3_1
      Avahi 2.2_3
      Cron 0.3.8_3
      darkstat 3.1.3_6
      haproxy-devel 0.62_12
      pfBlockerNG-devel 3.2.0_3
      snort 4.1.6_7
      Status_Traffic_Totals 2.3.2_3

      Below are PHP crashes:

      PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 1468, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/pfblockerng/pfblockerng.inc:1468
      Stack trace:
      #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(7253): pfb_build_if_list(true, false)
      #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(10802): sync_package_pfblockerng()
      #2 /etc/inc/pkg-utils.inc(781) : eval()'d code(1): pfblockerng_php_pre_deinstall_command()
      #3 /etc/inc/pkg-utils.inc(781): eval()
      #4 /etc/inc/pkg-utils.inc(1093): eval_once('pfblockerng_php...')
      #5 /etc/rc.packages(80): delete_package_xml('pfBlockerNG-dev...', 'deinstall')
      #6 {main}
      thrown @ 2023-02-21 08:56:24
      PHP error though is referenced pfblockerng so not sure if that had anything to do with it or not.
      

      Second PHP crash just occurred and I have the PHP crash file:

      Crash report begins.  Anonymous machine information:
      
      amd64
      14.0-CURRENT
      FreeBSD 14.0-CURRENT #0 plus-RELENG_23_01-n256037-6e914874a5e: Fri Feb 10 20:30:29 UTC 2023     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/obj/amd64/VDZvZksF/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBS
      
      Crash report details:
      
      PHP Errors:
      [21-Feb-2023 21:52:50 America/New_York] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/firewall_rules.php:805
      Stack trace:
      #0 {main}
        thrown in /usr/local/www/firewall_rules.php on line 805
      
      
      
      No FreeBSD crash data found.
      
      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That looks like this issue:

        https://redmine.pfsense.org/issues/13953

        Which is ultimately caused by an invalid configuration, there is a workaround on the redmine issue but no patch yet.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.