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

CopyQ v8 and v9 crash often #2781

Open
kayanco opened this issue Jul 14, 2024 · 5 comments
Open

CopyQ v8 and v9 crash often #2781

kayanco opened this issue Jul 14, 2024 · 5 comments
Labels
bug Qt bug Caused by a bug in Qt framework Windows Relates to Windows OS

Comments

@kayanco
Copy link

kayanco commented Jul 14, 2024

Hi,

Version 7 of CopyQ is stable for me. But when I tested v8 and v9, both would often crash on Windows 11.

How I find out is that CopyQ wouldn't appear on Shortcut press. Checking the system tray, CopyQ isn't present. So I re-launch again. Then the same thing after some time (maybe few hours).

Same behavior on v8 and v8. OS is Windows 11. Version 7 didn't have this issue.

Note [2024-07-14 12:57:35.109] : Command "Copy a Secret If a Modifier Held": Finished in 1490 ms
ERROR [2024-07-14 12:57:40.118] : Connection lost!
ERROR [2024-07-14 12:57:40.119] : [] QtCritical: QWindowsPipeWriter: write failed. (The pipe has been ended.)
ERROR [2024-07-14 12:57:40.253] : Connection lost!
ERROR [2024-07-14 12:57:40.118] : Connection lost!
ERROR [2024-07-14 12:57:40.121] : Connection lost!
ERROR [2024-07-14 12:57:40.120] : Connection lost!
Warning [2024-07-14 12:57:41.712] : Command "Copy a Secret If a Modifier Held": Finished in 7033 ms
ERROR [2024-07-14 12:57:40.121] : Connection lost!
ERROR [2024-07-14 12:57:40.120] : Connection lost!
ERROR [2024-07-14 12:57:40.120] : Connection lost!
ERROR [2024-07-14 12:57:40.120] : Connection lost!
ERROR [2024-07-14 12:57:40.120] : Connection lost!
Warning [2024-07-14 13:03:30.537] : [default] QtWarning: QSystemTrayIcon::setVisible: No Icon set

@kayanco kayanco added the bug label Jul 14, 2024
@EvgTG
Copy link

EvgTG commented Jul 15, 2024

The same thing on Mac OS, once a 1-2 days.

@EvgTG
Copy link

EvgTG commented Jul 16, 2024

Now CopyQ crashed while using it and generated logs. Most likely it is connected with this error.
error.txt

@hluk hluk added help wanted Needs a volunteer to investigate/implement the issue Windows Relates to Windows OS labels Jul 25, 2024
@hluk
Copy link
Owner

hluk commented Jul 25, 2024

Now CopyQ crashed while using it and generated logs. Most likely it is connected with this error. error.txt

The crash is related to sanitizing HTML document fonts. This is needed so that the application does not crash when there is some HTML text item with huge fonts. Unfortunately, this still does not seem to be fixed in Qt.

You can try disabling Text plugin - in Preferences dialog, under Items tab:

image

@kayanco
Copy link
Author

kayanco commented Jul 26, 2024

Hi hluk, is this related to the original issue I posted as well (post 1)?

Also, what happens if we disable Text Plugin?

Now CopyQ crashed while using it and generated logs. Most likely it is connected with this error. error.txt

The crash is related to sanitizing HTML document fonts. This is needed so that the application does not crash when there is some HTML text item with huge fonts. Unfortunately, this still does not seem to be fixed in Qt.

You can try disabling Text plugin - in Preferences dialog, under Items tab:

image

@hluk
Copy link
Owner

hluk commented Jul 27, 2024

Hi hluk, is this related to the original issue I posted as well (post 1)?

Not sure. Unfortunately, I don't know a way to get an additional info for the crash on Windows.

Also, what happens if we disable Text Plugin?

CopyQ won't sanitize the fonts because it will render only plain text (not HTML). The sanitization can still occur if opening the built-in editor for an HTML item.

@hluk hluk added Qt bug Caused by a bug in Qt framework and removed help wanted Needs a volunteer to investigate/implement the issue labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Qt bug Caused by a bug in Qt framework Windows Relates to Windows OS
Projects
None yet
Development

No branches or pull requests

3 participants