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

    Latest snap and gitsync syntax error

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    6 Posts 3 Posters 1.5k 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.
    • M
      maverick_slo
      last edited by

      Crash report begins.  Anonymous machine information:

      amd64
      10.3-PRERELEASE
      FreeBSD 10.3-PRERELEASE #337 c50df8e(devel): Sat Jan 23 02:48:52 CST 2016    root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense

      Crash report details:

      PHP Errors:
      [23-Jan-2016 10:28:59 Etc/UTC] PHP Stack trace:
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  1. {main}() /usr/local/www/ifstats.php:0
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  2. require_once() /usr/local/www/ifstats.php:63
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  3. get_configured_interface_with_descr() /usr/local/www/guiconfig.inc:254
      [23-Jan-2016 10:28:59 Etc/UTC] PHP Stack trace:
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  1. {main}() /usr/local/www/ifstats.php:0
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  2. require_once() /usr/local/www/ifstats.php:63
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  3. require_once() /usr/local/www/guiconfig.inc:79
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  4. include_once() /etc/inc/authgui.inc:55
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  5. get_configured_ip_addresses() /etc/inc/auth.inc:201
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  6. get_configured_interface_list() /etc/inc/util.inc:1292
      [23-Jan-2016 10:28:59 Etc/UTC] PHP Stack trace:
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  1. {main}() /usr/local/www/ifstats.php:0
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  2. require_once() /usr/local/www/ifstats.php:63
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  3. require_once() /usr/local/www/guiconfig.inc:79
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  4. include_once() /etc/inc/authgui.inc:55
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  5. get_configured_ipv6_addresses() /etc/inc/auth.inc:208
      [23-Jan-2016 10:28:59 Etc/UTC] PHP  6. get_configured_interface_list() /etc/inc/util.inc:1329

      Filename: /var/crash/minfree
      2048

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        I have gitsync'd to the current master and don't see that. I added the Interface Statistics widget to the dashboard, and tried navigating directly to ifstats.php and no error.

        What happens if you use Diagnostics->Command Prompt and execute the bits of PHP mentioned in those stack traces:

        
        $spiflist = get_configured_interface_with_descr(false, true);
        var_dump($spiflist);
        $interfaces = get_configured_interface_list();
        var_dump($interfaces);
        
        

        Does it give an error, or good-looking output?

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • M
          maverick_slo
          last edited by

          All good I guess :)

          array(6) {
            'wan' =>
            string(3) "WAN"
            'lan' =>
            string(5) "LAN10"
            'opt1' =>
            string(6) "LAN172"
            'opt2' =>
            string(5) "PPPOE"
            'opt3' =>
            string(6) "LAN192"
            'opt4' =>
            string(5) "ONLY6"
          }
          array(6) {
            'wan' =>
            string(3) "wan"
            'lan' =>
            string(3) "lan"
            'opt1' =>
            string(4) "opt1"
            'opt2' =>
            string(4) "opt2"
            'opt3' =>
            string(4) "opt3"
            'opt4' =>
            string(4) "opt4"
          }
          
          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            Well, what to say? I wish those "crash" messages displayed the actual PHP error message, rather than just a trace.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply Reply Quote 0
            • M
              maverick_slo
              last edited by

              Lets ignore this one :)

              1 Reply Last reply Reply Quote 0
              • C
                cmb
                last edited by

                @phil.davis:

                Well, what to say? I wish those "crash" messages displayed the actual PHP error message, rather than just a trace.

                Indeed, those aren't really helpful. Haven't had a chance to dig into why that type of "crash" doesn't include the PHP error, but that's irked me as well.

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