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

    Update from 2.4.3-p1 on SG-3100 to RC-2.4.4.r.20180917.0837 crash report on startup

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    6 Posts 5 Posters 1.3k 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.
    • luckman212L
      luckman212 LAYER 8
      last edited by

      After updating an SG-3100 from 2.4.3-p1 to the RC snapshow, I got a "Crash Report" warning when logging back in after the update was compete. Looks like just a little false positive due to maybe some extra logging that's taking place.

      0_1537218429119_de2a83e3-c3f9-44d8-8c27-02ee6cdc1243-image.png

      1 Reply Last reply Reply Quote 0
      • occamsrazorO
        occamsrazor
        last edited by occamsrazor

        [removed as realised my crash not relevant to yours]

        pfSense CE on Qotom Q355G4 8GB RAM/60GB SSD
        Ubiquiti Unifi wired and wireless network, APC UPSs
        Mac OSX and IOS devices, QNAP NAS

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

          We've opened a bug report for this:
          https://redmine.pfsense.org/issues/8915

          If you manage to reproduce it please drop ls -l /var/crash/ onto the bug.

          Steve

          1 Reply Last reply Reply Quote 0
          • T
            Tktowman
            last edited by

            I have an identical crash from 2.4.3-p1 to 2.4.4 on an SG-2440.

            0_1537829185719_pfsensecrash.PNG

            Output of ls -l /var/crash/ :

            total 8
            -rw-r--r-- 1 root wheel 5 Sep 20 10:01 minfree

            1 Reply Last reply Reply Quote 0
            • luckman212L
              luckman212 LAYER 8
              last edited by

              I looked at the code in index.php as well as crash_reporter.php and ran some tests manually from the console. Seeing your screenshot I thought it was somehow related to having the minfree file at /var/crash, but I can't replicate it.

              I see a Useless Use of Cat at index.php@L64 ... could probably do away with the whole cat | wc | awk and replace it with a simple if filesize(foo) > 0 check.

              And I'll admit, I don't understand why the $skip_files array (@L71) contains . and .. and a "" (null?)โ€” what purpose does that serve? The glob("/var/crash/*") doesn't seem to add them to the array so I don't see how they would ever get hit.

              But aside from little cleanups like that, this one is still a head scratcher for me.

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

                @luckman212 said in Update from 2.4.3-p1 on SG-3100 to RC-2.4.4.r.20180917.0837 crash report on startup:

                I looked at the code in index.php as well as crash_reporter.php and ran some tests manually from the console. Seeing your screenshot I thought it was somehow related to having the minfree file at /var/crash, but I can't replicate it.

                I see a Useless Use of Cat at index.php@L64 ... could probably do away with the whole cat | wc | awk and replace it with a simple if filesize(foo) > 0 check.

                And I'll admit, I don't understand why the $skip_files array (@L71) contains . and .. and a "" (null?)โ€” what purpose does that serve? The glob("/var/crash/*") doesn't seem to add them to the array so I don't see how they would ever get hit.

                But aside from little cleanups like that, this one is still a head scratcher for me.

                It's on my todo list to make some changes to align how both of those pages check.

                It's also entirely possible that the report you see at first is gone by the time you reach the crash reporter page, so refreshing the dashboard may no longer show the report. There is some cleanup of PHP errors done by the update process that might happen later in the boot than when the login screen becomes available. So that could be timing. Unless the dashboard keeps saying it's there repeatedly.

                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 1
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.