Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109706

Save Debug - FAILED - [EFAULT] 'utf-8' codec can't decode byte 0xff in position 4339: invalid start byte

    XMLWordPrintable

    Details

      Description

      When trying to use the save debug feature, the following error is recieved:

      FAILED

      [EFAULT] 'utf-8' codec can't decode byte 0xff in position 4339: invalid start byte

      Error: Traceback (most recent call last):
        File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 367, in run
          await self.future
        File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 405, in __run_body
          rv = await self.middleware.run_in_thread(self.method, *([self] + args))
        File "/usr/local/lib/python3.8/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
          return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
        File "/usr/local/lib/python3.8/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
          result = self.fn(*self.args, **self.kwargs)
        File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 977, in nf
          return f(*args, **kwargs)
        File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/system.py", line 761, in debug
          raise CallError(debug_job.error)
      middlewared.service_exception.CallError: [EFAULT] 'utf-8' codec can't decode byte 0xff in position 4339: invalid start byte

       

      This is likely the same issue causing the "attach debug" option not to work when opening a support case, but the error isn't shown there and it silently fails.

       

      This has been happening for a few versions but I just reproduced it again in 12.0-U2.1

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                joshwisely Josh Wisely
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: