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

    Crash in filter.inc

    NAT
    2
    2
    501
    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.
    • N
      nater
      last edited by

      pfSense was running and the dashboard wasn't reporting any errors, but no client behind my firewall could get to the internet. I rebooted pfSense, and the Crash Reporter came up after the reboot and provided this information:

      Crash report begins. Anonymous machine information:

      amd64
      14.0-CURRENT
      FreeBSD 14.0-CURRENT #1 RELENG_2_7_0-n255866-686c8d3c1f0: Wed Jun 28 04:21:19 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/obj/amd64/LwYAddCr/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/sources/FreeBSD-src-REL

      Crash report details:

      PHP Errors:
      [19-Aug-2023 08:18:32 America/New_York] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /etc/inc/filter.inc:2764
      Stack trace:
      #0 /etc/inc/filter.inc(2764): fclose(false)
      #1 /etc/inc/filter.inc(355): filter_nat_rules_generate()
      #2 /etc/rc.bootup(383): filter_configure_sync()
      #3 {main}
      thrown in /etc/inc/filter.inc on line 2764

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That is an odd place for it to throw an error. It suggests it had a problem writing that file out.

        Gut feeling says it may be hardware (e.g. disk/ssd) but it could just be the filesystem if it's UFS. Running a filesystem check a few times might help.

        If the disk is using ZFS then it's more likely to be hardware.

        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.