Crashes when printing

Describe the bug
When I select print from the upper right menu my AnyType app crashes. Seems to happen on any page, regardless of the content and it fails before the print dialog appears.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a page/document view
  2. Click on print in the upper right menu
  3. App aborts and returns the following error message:
(node:208355) UnhandledPromiseRejectionWarning: Error: An object could not be cloned.
    at EventEmitter.t.ipcRendererInternal.send (node:electron/js2c/renderer_init:85:328)
    at EventEmitter.<anonymous> (node:electron/js2c/renderer_init:81:357)
(Use `anytype2 --trace-warnings ...` to show where the warning was created)
(node:208355) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see (rejection id: 1)
Crashing due to FD ownership violation:
#0 0x56538e570ff3 <unknown>
#1 0x56538e61a04c <unknown>
#2 0x56538e61a011 <unknown>
#3 0x7fcb41921cdb <unknown>
Illegal instruction

System Information:

  • OS: Ubuntu 20.04
  • Intel x86
  • Anytype Version: 0.23.5
1 Like

Marking it as solved as it is not reproducing in the latest version of the app. Confirmed with @kpw as well