Page 1 of 1

1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Sun Jul 23, 2023 7:49 am
by user0
XnViewMP 1.5.2 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


Viewer - crash
during HEIC fast scroll

To reproduce:
1. run clean portable XnViewMP
2. have 4 HEIC images in folder, open any of them
3. fast scroll back and forth ~10-20 times
(optional) it may require to resize app window (to 50-70% screen space) as it does not crash when small or maximized
app will crash

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Mon Jul 24, 2023 6:57 am
by xnview
and you can't reproduce with 1.4.5?

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Mon Jul 24, 2023 7:24 am
by user0
right, no crash on 1.4.5

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Mon Jul 24, 2023 3:36 pm
by xnview
Could you try 1.5.2 with heic.dll from 1.5.0?

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Mon Jul 24, 2023 3:56 pm
by user0
you mean ../plugins/heif.dll ?

no issue in 1.5.2 with dll from 1.5.0

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Tue Jul 25, 2023 5:45 am
by xnview
user0 wrote: Mon Jul 24, 2023 3:56 pm you mean ../plugins/heif.dll ?
yes
no issue in 1.5.2 with dll from 1.5.0
It's the same dll, or you means 1.4.5?

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Tue Jul 25, 2023 6:21 am
by user0
I used unzipped app archive 1.5.2 x64 with:
- heif.dll 1.5.2 (575kb, same dll as in 1.5.1) - crash
- heif.dll 1.5.0 (491kb, same dll as in 1.4.5) - no crash

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Fri Aug 11, 2023 9:22 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Fri Aug 11, 2023 12:24 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.5.3. Please check and confirm the bug fix here.

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Fri Aug 11, 2023 12:46 pm
by user0
no issue in 1.5.3

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Sat Sep 02, 2023 12:39 pm
by foxyshadis
Did you guys do any kind of triage or get crash logs on this? I might be able to track it down and fix it if I can see what might've happened. The odd thing is that 1.16 hasn't really introduced changes in the threading behavior, so I'm curious why one works and the other didn't.

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Sun Sep 03, 2023 7:00 am
by xnview
foxyshadis wrote: Sat Sep 02, 2023 12:39 pm Did you guys do any kind of triage or get crash logs on this? I might be able to track it down and fix it if I can see what might've happened. The odd thing is that 1.16 hasn't really introduced changes in the threading behavior, so I'm curious why one works and the other didn't.
I don't understand why we have crashs with 1.16.2

Re: 1.5.2 - viewer - crash - during HEIC fast scroll

Posted: Mon Sep 04, 2023 8:51 am
by foxyshadis
I guess I'll try to see if there's any way to reproduce it, then, and check in a libheif fix if it's a new bug.