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

    23.05.1 frequent crash report.

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 530 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
      PatRyan
      last edited by PatRyan

      I keep getting the following crash report on pretty much a daily basis. Anyone have any thoughts? Running 23.05.1. It looks like NUT may be trying to send an email but is failing to open a file?

      If this should be posted in a different location please let me know.

      Thanks
      Pat

      Crash report begins. Anonymous machine information:

      amd64
      14.0-CURRENT
      FreeBSD 14.0-CURRENT #1 plus-RELENG_23_05_1-n256108-459fc493a87: Wed Jun 28 04:26:04 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_05_1-main/obj/amd64/f2Em2w3l/var/jenkins/workspace/pfSense-Plus-snapshots-23_05_1-main/sources/

      Crash report details:

      PHP Errors:
      [08-Aug-2023 03:32:27 America/Los_Angeles] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /etc/inc/config.lib.inc:172
      Stack trace:
      #0 /etc/inc/config.lib.inc(172): fwrite(false, 'a:41:{s:7:"vers...')
      #1 /etc/inc/config.lib.inc(147): generate_config_cache(Array)
      #2 /etc/inc/config.inc(141): parse_config()
      #3 /etc/inc/gwlb.inc(25): require_once('/etc/inc/config...')
      #4 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...')
      #5 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
      #6 /usr/local/pkg/nut/nut_email.php(24): require_once('/etc/inc/notice...')
      #7 {main}
      thrown in /etc/inc/config.lib.inc on line 172
      [08-Aug-2023 03:32:27 America/Los_Angeles] PHP Fatal error: Uncaught ValueError: Path cannot be empty in /etc/inc/notices.inc:101
      Stack trace:
      #0 /etc/inc/notices.inc(101): fopen('', 'w')
      #1 /etc/inc/config.lib.inc(1162): file_notice('phperror', 'PHP ERROR: Type...', 'PHP errors')
      #2 [internal function]: pfSense_clear_globals()
      #3 {main}
      thrown in /etc/inc/notices.inc on line 101
      [08-Aug-2023 04:02:22 America/Los_Angeles] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /etc/inc/config.lib.inc:172
      Stack trace:
      #0 /etc/inc/config.lib.inc(172): fwrite(false, 'a:41:{s:7:"vers...')
      #1 /etc/inc/config.lib.inc(147): generate_config_cache(Array)
      #2 /etc/inc/config.inc(141): parse_config()
      #3 /etc/inc/gwlb.inc(25): require_once('/etc/inc/config...')
      #4 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...')
      #5 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...')
      #6 /usr/local/pkg/nut/nut_email.php(24): require_once('/etc/inc/notice...')
      #7 {main}
      thrown in /etc/inc/config.lib.inc on line 172
      [08-Aug-2023 04:02:22 America/Los_Angeles] PHP Fatal error: Uncaught ValueError: Path cannot be empty in /etc/inc/notices.inc:101
      Stack trace:
      #0 /etc/inc/notices.inc(101): fopen('', 'w')
      #1 /etc/inc/config.lib.inc(1162): file_notice('phperror', 'PHP ERROR: Type...', 'PHP errors')
      #2 [internal function]: pfSense_clear_globals()
      #3 {main}
      thrown in /etc/inc/notices.inc on line 101

      No FreeBSD crash data found.

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

        It's this: https://redmine.pfsense.org/issues/14432

        If you can replicate it from a clean install please add notes there.

        Steve

        P 1 Reply Last reply Reply Quote 0
        • P
          PatRyan @stephenw10
          last edited by

          @stephenw10 this does look an awful lot like the issue you referenced.

          Can you point me to a firmware image for 23.05? I have a white box that started life using 2.70 beta then upgraded to Plus 23.01 and then to 23.05. I could back track and try to do that routine again but starting with an image of 23.05 would be much simpler.

          Thanks
          Pat

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

            There isn't yet an Plus installer image for whitebox devices. We are currently working on it. You can now upgrade directly from 2.7 to 23.05.1 though.

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