luspi / photoqt

PhotoQt Image Viewer (mirror repo) - https://photoqt.org
GNU General Public License v2.0
49 stars 11 forks source link

Potential crash when pressing any key on windows #16

Closed LaaZa closed 1 year ago

LaaZa commented 1 year ago

Version 2.9.1 Windows 11 22H2

PhotoQT is very likely to crash when pressing any key, even without any other input. Does not always happen but more often than not. I have not found a specific situation for it to happen or not to happen.

Does not happen on keys that by themselves(no modifier as the modifier key crashes) trigger a function.

hadoooooouken commented 1 year ago

Did you try latest version? https://photoqt.org/downloads/windows/photoqt-2.9.1-2.exe

LaaZa commented 1 year ago

I'm not sure if that is different from the version I had, but still happens after installing that one. The crash will not happen if any key with a function is used first, but before that any key with no function(immediate, excludes modifiers) is pressed causes the crash.

LaaZa commented 1 year ago

Here is the error in event log if it helps.

Faulting application name: photoqt.exe, version: 0.0.0.0, time stamp: 0x634db3aa Faulting module name: Qt5Core.dll, version: 5.15.2.0, time stamp: 0x5fa4dd3b Exception code: 0xc0000005 Fault offset: 0x00000000000babd8 Faulting process id: 0x0x1ACC Faulting application start time: 0x0x1D925E2CF87CE85 Faulting application path: C:\Program Files\PhotoQt\photoqt.exe Faulting module path: C:\Program Files\PhotoQt\Qt5Core.dll Report Id: 4f072efa-31a0-4c37-9559-f1fb38c0554d Faulting package full name: Faulting package-relative application ID:

hadoooooouken commented 1 year ago

Oh, I know this problem - already fixed. https://gitlab.com/lspies/photoqt/-/issues/160 I thought 2.9.1-2 has shipped with this fix.

While we are waiting for a new official release you can use my build (just unpack files to PQ's installed folder (but do a backup of original files just in case)): pq.zip

It has some UI changes and libraw (for RAW files generated by digital photo cameras) compiled with AVX cpu set (so your cpu should support it (any processor after 2011)).

luspi commented 1 year ago

Sorry for the delay in posting here, thanks for jumping in @hadoooooouken :)

Yes, this is fixed in the code, and will be part of v3.0. I hope to have that one ready later this week.

luspi commented 1 year ago

PhotoQt v3.0 is now released. You can find the latest installer on the website: https://photoqt.org/downpopupwindows