Navigation

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

    Widget crash anyone ?

    2.4 Development Snapshots
    6
    12
    1603
    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.
    • S
      singerie last edited by

      Crash report begins.  Anonymous machine information:

      amd64
      11.0-RELEASE-p6
      FreeBSD 11.0-RELEASE-p6 #67 69cfe67ee69(RELENG_2_4): Tue Jan 17 18:35:56 CST 2017    root@buildbot2.netgate.com:/builder/ce/tmp/obj/builder/ce/tmp/FreeBSD-src/sys/pfSense

      Crash report details:

      PHP Errors:
      [18-Jan-2017 01:26:13 America/Toronto] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
      [18-Jan-2017 01:26:13 America/Toronto] PHP Stack trace:
      [18-Jan-2017 01:26:13 America/Toronto] PHP  1. {main}() /usr/local/www/index.php:0
      [18-Jan-2017 01:26:13 America/Toronto] PHP  2. include_once() /usr/local/www/index.php:401
      [18-Jan-2017 01:26:14 America/Toronto] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
      [18-Jan-2017 01:26:14 America/Toronto] PHP Stack trace:
      [18-Jan-2017 01:26:14 America/Toronto] PHP  1. {main}() /usr/local/www/index.php:0
      [18-Jan-2017 01:26:14 America/Toronto] PHP  2. include_once() /usr/local/www/index.php:401
      [18-Jan-2017 01:26:16 America/Toronto] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
      [18-Jan-2017 01:26:16 America/Toronto] PHP Stack trace:
      [18-Jan-2017 01:26:16 America/Toronto] PHP  1. {main}() /usr/local/www/index.php:0
      [18-Jan-2017 01:26:16 America/Toronto] PHP  2. include_once() /usr/local/www/index.php:401
      [18-Jan-2017 01:32:55 America/Toronto] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
      [18-Jan-2017 01:32:55 America/Toronto] PHP Stack trace:
      [18-Jan-2017 01:32:55 America/Toronto] PHP  1. {main}() /usr/local/www/index.php:0
      [18-Jan-2017 01:32:55 America/Toronto] PHP  2. include_once() /usr/local/www/index.php:401
      [18-Jan-2017 01:34:22 America/Toronto] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
      [18-Jan-2017 01:34:22 America/Toronto] PHP Stack trace:
      [18-Jan-2017 01:34:22 America/Toronto] PHP  1. {main}() /usr/local/www/index.php:0
      [18-Jan-2017 01:34:22 America/Toronto] PHP  2. include_once() /usr/local/www/index.php:401
      [18-Jan-2017 11:14:38 America/Toronto] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
      [18-Jan-2017 11:14:38 America/Toronto] PHP Stack trace:
      [18-Jan-2017 11:14:38 America/Toronto] PHP  1. {main}() /usr/local/www/index.php:0
      [18-Jan-2017 11:14:38 America/Toronto] PHP  2. include_once() /usr/local/www/index.php:401

      No FreeBSD crash data found.

      Anyone else having this ?

      1 Reply Last reply Reply Quote 0
      • KOM
        KOM last edited by

        Never seen that before.  Did you have an interface that suddenly died?  Anything in the System log just before that crash?

        1 Reply Last reply Reply Quote 0
        • S
          singerie last edited by

          It happened after an upgrade to the latest snapshot. before that, I was running something from Jan 9 ( i think ).

          1 Reply Last reply Reply Quote 0
          • P
            Phil.Scarr last edited by

            @singerie:

            It happened after an upgrade to the latest snapshot. before that, I was running something from Jan 9 ( i think ).

            FWIW, +1 on this.  I've seen this multiple times, usually when returning to the dashboard from another part of the GUI.

            1 Reply Last reply Reply Quote 0
            • P
              Phil.Scarr last edited by

              Actually, I think I've got a different PHP error…

              [17-Jan-2017 14:53:51 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
              [17-Jan-2017 14:53:51 America/Chicago] PHP Stack trace:
              [17-Jan-2017 14:53:51 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
              [17-Jan-2017 14:53:51 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406
              [17-Jan-2017 15:05:55 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
              [17-Jan-2017 15:05:55 America/Chicago] PHP Stack trace:
              [17-Jan-2017 15:05:55 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
              [17-Jan-2017 15:05:55 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406
              [17-Jan-2017 15:23:42 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
              [17-Jan-2017 15:23:42 America/Chicago] PHP Stack trace:
              [17-Jan-2017 15:23:42 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
              [17-Jan-2017 15:23:42 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406
              [17-Jan-2017 16:02:23 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
              [17-Jan-2017 16:02:23 America/Chicago] PHP Stack trace:
              [17-Jan-2017 16:02:23 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
              [17-Jan-2017 16:02:23 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406
              [17-Jan-2017 16:23:58 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
              [17-Jan-2017 16:23:58 America/Chicago] PHP Stack trace:
              [17-Jan-2017 16:23:58 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
              [17-Jan-2017 16:23:58 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406

              1 Reply Last reply Reply Quote 0
              • S
                singerie last edited by

                I reported the bug to redmine.

                https://redmine.pfsense.org/issues/7134

                1 Reply Last reply Reply Quote 0
                • P
                  Phil.Scarr last edited by

                  @singerie:

                  I reported the bug to redmine.

                  https://redmine.pfsense.org/issues/7134

                  Ditto.

                  https://redmine.pfsense.org/issues/7135

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned last edited by

                    @Phil.Scarr:

                    @singerie:

                    I reported the bug to redmine.

                    https://redmine.pfsense.org/issues/7134

                    Ditto.

                    https://redmine.pfsense.org/issues/7135

                    Congrats on duplicate bug.  ::)

                    1 Reply Last reply Reply Quote 0
                    • P
                      Phil.Scarr last edited by

                      @doktornotor:

                      @Phil.Scarr:

                      @singerie:

                      I reported the bug to redmine.

                      https://redmine.pfsense.org/issues/7134

                      Ditto.

                      https://redmine.pfsense.org/issues/7135

                      Congrats on duplicate bug.  ::)

                      ::)  Crap… Good point.  Closing it and will follow the other one.

                      1 Reply Last reply Reply Quote 0
                      • D
                        doktornotor Banned last edited by

                        It's already fixed, gitsync or wait for next snapshot.

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

                          I still get the issue if I have just the Interface Statistics widget open (and not the Interfaces widget).
                          "Final solution" proposed in https://github.com/pfsense/pfsense/pull/3396
                          and see notes on the issue at https://redmine.pfsense.org/issues/7134

                          (original bug introduced by me - my bad! but it highlights how it would be nice to have some automated test environment that can set up/tear down an environment for each test and automagically try a lot of combinations to make sure they work together and apart)

                          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
                          • ?
                            Guest last edited by

                            @phil.davis:

                            I still get the issue if I have just the Interface Statistics widget open (and not the Interfaces widget).
                            "Final solution" proposed in https://github.com/pfsense/pfsense/pull/3396
                            and see notes on the issue at https://redmine.pfsense.org/issues/7134

                            (original bug introduced by me - my bad! but it highlights how it would be nice to have some automated test environment that can set up/tear down an environment for each test and automagically try a lot of combinations to make sure they work together and apart)

                            Hmm, I use the following tagline on one forum I use:

                            Artificial Intelligence is no match for Natural Stupidity.

                            Not referring to your bad, it's just that someone will still manage to break it.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post