Menu

#5481 1.973 divide by 0 error on upload

1.973
closed-fixed
nobody
5
2021-05-01
2021-05-01
No

Raspbery Pi Rasbian Stretch
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
...

uname -a
Linux rdiallstar 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux

Webmin 1.973 Just updated from 1.890
Attempt to upload several files produces following error in the file progress popup before any transfer:

HTTP/1.0 500 Perl execution failed
Server: MiniServ/1.973
Date: Fri, 30 Apr 2021 23:53:55 GMT
Content-type: text/html; Charset=utf-8
Connection: close
Error — Perl execution failed
Illegal division by zero at /usr/share/webmin/uptracker.cgi line 87.

This is repeatable.

I have narrowed it down to if any file in the list of files is a named pipe file then this happens. It does not matter where in the list this file is.

Related

Bugs: #5481

Discussion

  • Jamie Cameron

    Jamie Cameron - 2021-05-01

    Does this also happen if one of the uploaded files is zero bytes long?

     
    • Rich Painter

      Rich Painter - 2021-05-01

      let me check!
      r

      On Fri, Apr 30, 2021 at 9:36 PM Jamie Cameron jcameron@users.sourceforge.net wrote:

      Does this also happen if one of the uploaded files is zero bytes long?

      Status: open
      Group: 1.973
      Labels: Upload and Download Perl Modules divide by 0
      Created: Sat May 01, 2021 12:15 AM UTC by Rich Painter
      Last Updated: Sat May 01, 2021 12:16 AM UTC
      Owner: nobody

      Raspbery Pi Rasbian Stretch
      cat /etc/os-release
      PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
      ...

      uname -a
      Linux rdiallstar 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l
      GNU/Linux

      Webmin 1.973 Just updated from 1.890
      Attempt to upload several files produces following error in the file
      progress popup before any transfer:

      HTTP/1.0 500 Perl execution failed
      Server: MiniServ/1.973
      Date: Fri, 30 Apr 2021 23:53:55 GMT
      Content-type: text/html; Charset=utf-8
      Connection: close
      Error — Perl execution failed
      Illegal division by zero at /usr/share/webmin/uptracker.cgi line 87.

      This is repeatable.

      I have narrowed it down to if any file in the list of files is a named
      pipe file then this happens. It does not matter where in the list this file
      is.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/5481/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Richard A. Painter, P.E. Retired

       

      Related

      Bugs: #5481

    • Rich Painter

      Rich Painter - 2021-05-01

      When one tries to upload a 0 length "normal" files the pop up pops and
      appears to work...
      Except the Upload page resorts the status of:
      Failed to upload files : No files selected to upload!

      which is completely different.
      In this case I would say this is a bug too! One should be able to upload 0
      length regular file.

      thanks
      rich

      On Fri, Apr 30, 2021 at 9:36 PM Jamie Cameron jcameron@users.sourceforge.net wrote:

      Does this also happen if one of the uploaded files is zero bytes long?

      Status: open
      Group: 1.973
      Labels: Upload and Download Perl Modules divide by 0
      Created: Sat May 01, 2021 12:15 AM UTC by Rich Painter
      Last Updated: Sat May 01, 2021 12:16 AM UTC
      Owner: nobody

      Raspbery Pi Rasbian Stretch
      cat /etc/os-release
      PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
      ...

      uname -a
      Linux rdiallstar 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l
      GNU/Linux

      Webmin 1.973 Just updated from 1.890
      Attempt to upload several files produces following error in the file
      progress popup before any transfer:

      HTTP/1.0 500 Perl execution failed
      Server: MiniServ/1.973
      Date: Fri, 30 Apr 2021 23:53:55 GMT
      Content-type: text/html; Charset=utf-8
      Connection: close
      Error — Perl execution failed
      Illegal division by zero at /usr/share/webmin/uptracker.cgi line 87.

      This is repeatable.

      I have narrowed it down to if any file in the list of files is a named
      pipe file then this happens. It does not matter where in the list this file
      is.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/5481/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Richard A. Painter, P.E. Retired

       

      Related

      Bugs: #5481

  • Jamie Cameron

    Jamie Cameron - 2021-05-01
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2021-05-01

    Ok, I see the bug that causes this - it will be fixed in the next Webmin release (1.975)

     

Log in to post a comment.