Skip to content

Crash when try to print (linux, typora 1.9.3) #6209

Open
@profhccaesar

Description

@profhccaesar
  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


Describe the bug
After clicking menu item "file -> print" or pressing alt+shift+p, typora crashes with following output:

[1075244:0104/144047.252134:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: NSS error code: -8018
Crashing due to FD ownership violation:
#0 0x5586a2852a33 <unknown>
#1 0x5586a284ab3c <unknown>
#2 0x5586a284aaf7 close
#3 0x7ff9e881aef3 <unknown>
Trace/Breakpoint ausgelöst

Sometimes the system's print dialog flashes briefly but then disappears again immediately.

To Reproduce
Steps to reproduce the behavior:

  1. Start Typora
  2. Optional: open any markdown file
  3. Press Alt+Shift+P or execute menu item "File -> Print"
  4. See error

Expected behavior
Opening system print dialog to perform printing.

Screenshots / Screencasts
https://github.com/user-attachments/assets/7ccfb5d1-75e3-4b34-a522-f7a55f1b0f32

Sample Markdown File
Optional - crash occurs also without a file or with any file. Use following as sample:

Hello world!

Desktop (please complete the following information):

  • OS: Linux Mint 21.1 "Vera" x84-64 (based on Ubuntu 22.04 LTS "Jammy")
  • Desktop Environment: Cinnamon 5.6.8

Typora Version

  • 1.9.3-1 amd64
  • Installed per package manager "apt"

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions