Page 1 of 2

1.4.4 - export - crash on Best Fit

Posted: Wed Apr 12, 2023 4:39 am
by user0
XnViewMP 1.4.3-1.5.0 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


Export dialog
crash on Preview Best Fit

To reproduce:
1. run clean portable XnViewMP
2. open relatively wide image (>450px), eg test one
The attachment test_img_plane_8.zip is no longer available
3. press CTRL+ALT+S to open Export... dialog
- tick 'Auto refresh' checkbox
- increase dialog height, so the image has black areas on top and bottom
4 OPTIONAL. click 'Zoom 100%' button
5. click 'Best Fit' button
app will crash

Export_crash.png

Re: 1.4.3 - export - crash on Best Fit

Posted: Thu Apr 20, 2023 7:23 am
by xnview
i can't reproduce, you are able to always make the crash?

Re: 1.4.3 - export - crash on Best Fit

Posted: Thu Apr 20, 2023 7:39 am
by user0
yep, still an issue on 1.4.4
try "if app does not crash" alternative steps

Re: 1.4.3 - export - crash on Best Fit

Posted: Fri Apr 21, 2023 2:33 pm
by xnview
really strange, i can't

Re: 1.4.3 - export - crash on Best Fit

Posted: Fri Apr 21, 2023 3:42 pm
by user0
i have video :D
(recorded at 100% win scale, but it does not affect this issue)

Re: 1.4.3 - export - crash on Best Fit

Posted: Fri Apr 21, 2023 5:27 pm
by masterjp
I tested it on Windows 10 and can not reproduce the problem.

Re: 1.4.3 - export - crash on Best Fit

Posted: Tue May 02, 2023 3:41 am
by user0
maybe this test image will help
upd: crashes 1.4.3 and 1.4.4 for me

Re: 1.4.3 - export - crash on Best Fit

Posted: Tue May 02, 2023 9:10 am
by masterjp
Thanks for the test file.

I am using the latest Version of XnViewMP 1.4.4 and could not reproduce your problem.
In your post you say you are using Version 1.4.3.

Did you get the crash with the latest version, too?
Please try it again.

Re: 1.4.3 - export - crash on Best Fit

Posted: Tue May 02, 2023 9:12 am
by user0
yeah, same crash in 1.4.4
maybe win11 invovled somehow, as I do not have win10 to test

Re: 1.4.4 - export - crash on Best Fit

Posted: Tue May 02, 2023 9:35 am
by masterjp
Does your computer have enough ram?

I tested it with 8 GB and 16 GB physical RAM.

Re: 1.4.4 - export - crash on Best Fit

Posted: Tue May 02, 2023 10:21 am
by user0
2pc: intel/amd, both 32gb ram, ssd
1laptop: intel, 16gb ram, ssd
all win11 and crash on each one of them

Re: 1.4.4 - export - crash on Best Fit

Posted: Thu May 25, 2023 6:58 pm
by user0
also icons look a little bit pixelated and behave different when squeezed
maybe its related somehow
controls_diff.png

Re: 1.4.4 - export - crash on Best Fit

Posted: Sat May 27, 2023 5:41 pm
by user0
another example with Replace dialog

open Import & sort dialog and import test file second time
1. press Original zoom
2. press Best fit
app will crash
import_and_sort_replace.png

Re: 1.4.4 - export - crash on Best Fit

Posted: Sun May 28, 2023 6:28 am
by xnview
not able to reproduce, and the crash dump seems to be invalid

Re: 1.4.4 - export - crash on Best Fit

Posted: Fri Sep 08, 2023 7:00 am
by user0
<=0.98.3 - not crashing
>=0.98.4 - crashing
100% reproducible

5 more crash dumps from 1.5.4
export_crash.zip