Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
profhccaesar opened this issue Jan 4, 2025 · 3 comments
Open
3 tasks done

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

profhccaesar opened this issue Jan 4, 2025 · 3 comments

Comments

@profhccaesar
Copy link

  • 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.

@profhccaesar
Copy link
Author

profhccaesar commented Jan 4, 2025

Added output of strace:

$ strace typora

typora-crash-on-print-strace.log

@shujiejune
Copy link

I met similar crash as stated in #6208 , hope the developer could notice this issue asap...

@abnerlee
Copy link
Contributor

abnerlee commented Jan 9, 2025

relates electron/electron#31151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants