Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Crash report FreeBSD 16.0-CURRENT #12 plus-RELENG_26_03_1-n256546-1d1bfd578383

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 2.8k Views 3 Watching
    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.
    • yon 0Y Offline
      yon 0
      last edited by

      Crash report begins. Anonymous machine information:

      amd64
      16.0-CURRENT
      FreeBSD 16.0-CURRENT #12 plus-RELENG_26_03_1-n256546-1d1bfd578383: Wed May 20 15:20:10 UTC 2026 root@pfsense-build-release-amd64-2.eng.atx.netgate.com:/var/jenkins/workspace/pfSense-Plus-snapshots-26_03_1-main/obj/amd64/fvF1vE9r/var/jenkins/workspace/

      Crash report details:

      PHP Errors:
      [27-Jun-2026 14:07:25 Asia/Shanghai] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
      Stack trace:
      #0 /etc/inc/filter.inc(3941): fwrite()
      #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
      #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
      #3 {main}
      thrown in /etc/inc/filter.inc on line 3941
      [27-Jun-2026 14:07:36 Asia/Shanghai] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
      Stack trace:
      #0 /etc/inc/filter.inc(3941): fwrite()
      #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
      #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
      #3 {main}
      thrown in /etc/inc/filter.inc on line 3941
      [27-Jun-2026 14:08:02 Asia/Shanghai] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
      Stack trace:
      #0 /etc/inc/filter.inc(3941): fwrite()
      #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
      #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
      #3 {main}
      thrown in /etc/inc/filter.inc on line 3941
      [27-Jun-2026 14:09:02 Asia/Shanghai] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
      Stack trace:
      #0 /etc/inc/filter.inc(3941): fwrite()
      #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
      #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
      #3 {main}
      thrown in /etc/inc/filter.inc on line 3941
      [27-Jun-2026 14:23:43 Asia/Shanghai] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
      Stack trace:
      #0 /etc/inc/filter.inc(3941): fwrite()
      #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
      #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
      #3 {main}
      thrown in /etc/inc/filter.inc on line 3941

      No FreeBSD crash data found.

      yon 0Y 1 Reply Last reply Reply Quote 0
      • yon 0Y Offline
        yon 0 @yon 0
        last edited by

        Crash report begins.  Anonymous machine information:
        
        amd64
        16.0-CURRENT
        FreeBSD 16.0-CURRENT #12 plus-RELENG_26_03_1-n256546-1d1bfd578383: Wed May 20 15:20:10 UTC 2026     root@pfsense-build-release-amd64-2.eng.atx.netgate.com:/var/jenkins/workspace/pfSense-Plus-snapshots-26_03_1-main/obj/amd64/fvF1vE9r/var/jenkins/workspace/
        
        Crash report details:
        
        PHP Errors:
        [27-Jun-2026 14:59:54 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [27-Jun-2026 14:59:56 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [27-Jun-2026 18:47:40 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [27-Jun-2026 18:47:42 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [28-Jun-2026 01:33:35 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [28-Jun-2026 01:33:37 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [28-Jun-2026 01:33:45 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [28-Jun-2026 01:33:47 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [28-Jun-2026 01:33:50 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [28-Jun-2026 01:33:52 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [28-Jun-2026 01:33:55 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        [28-Jun-2026 01:33:56 Asia/Shanghai] PHP Fatal error:  Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /etc/inc/filter.inc:3941
        Stack trace:
        #0 /etc/inc/filter.inc(3941): fwrite()
        #1 /etc/inc/filter.inc(1001): filter_nat_rules_generate()
        #2 /etc/rc.filter_configure_sync(32): filter_configure_sync()
        #3 {main}
          thrown in /etc/inc/filter.inc on line 3941
        
        
        
        No FreeBSD crash data found.
        			
        
        1 Reply Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          Those are all the same issue.

          Did you make some change before that appeared? It looks to be triggered when creating NAT reflection instances with NAT+Proxy.

          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            The actual error there is in fwrite. Is the filesystem full or the drive damaged perhaps?

            yon 0Y 1 Reply Last reply Reply Quote 0
            • yon 0Y Offline
              yon 0 @stephenw10
              last edited by

              @stephenw10 said in Crash report FreeBSD 16.0-CURRENT #12 plus-RELENG_26_03_1-n256546-1d1bfd578383:

              The actual error there is in fwrite. Is the filesystem full or the drive damaged perhaps?

              The /var RAM Disk setting was 1000, and it was full. Now I have to disable RAM disk; I don't know why it got full.

              1 Reply Last reply Reply Quote 0
              • stephenw10S Offline
                stephenw10 Netgate Administrator
                last edited by

                Check what's in /var. When that happens it's usually some package writing logs and not being rotated.

                dennypageD 1 Reply Last reply Reply Quote 0
                • dennypageD Offline
                  dennypage @stephenw10
                  last edited by

                  @stephenw10 said in Crash report FreeBSD 16.0-CURRENT #12 plus-RELENG_26_03_1-n256546-1d1bfd578383:

                  Check what's in /var. When that happens it's usually some package writing logs and not being rotated.

                  Or perhaps a package such as ntopng that stores a large amount of data in /var/db.

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