Page 1 of 1

1.3 Crash on video thumbnail generation

Posted: Tue Oct 04, 2022 6:31 pm
by thany2
Previous versions have had this as well to greater extend, but the current 1.3 version still has this problem where it will very occasionally crash while generating video thumbnails in browser view. I can't tell which video it crashes on, because, well, it crashes. None of the videos seemingly have anything wrong with them. They play just fine, in a dedicated video player that is.

I'd be happy to share a log, or any other debug information, but I don't know where to get any. The program just goes *poof* and it's gone. No errors or messages of any kind.

If this makes it very hard to diagnose the problem, which I'm sure it does, maybe let's flip it around: what sort of thing *could* make it crash? Maybe if I know more about it, I might be able to induce a crash by finding or making a video that it doesn't like.

Or even better: if something during this process goes the way of the dodo, don't crash but display whatever exception occurred. Because something must be throwing some sort of error at some point, which might be unhandled, therefor throwing all the way up the stack to the main program function, and crashing it. Maybe. Just speculating here. I dunno. But anything is more helpful than nothing, is what I'm getting at.

Anyway, there don't seem to be any specific settings, other than to be in browser mode and having video thumbnail generation enabled, that affect whether or not it might or might not crash. I'm on Windows 10, that's probably helpful to know.

If you'd ask how these videos are made... I only know they are MP4 with AVC and AAC encoded streams. But no idea who or what made them. I just got them like this.

Re: 1.3 Crash on video thumbnail generation

Posted: Wed Oct 05, 2022 12:03 pm
by xnview
you don't have the crash on always the same file when creating thumbnail?

Re: 1.3 Crash on video thumbnail generation

Posted: Thu Oct 06, 2022 10:27 pm
by deil
Got the same problem, here's the problematic video. It's in the folder with like 3000 of similar videos, all should probably have the same codec, but only this one crashes XnView. Tried to copy this video into its own folder, still crashes.
I'm using 1.3 version as well, Win10 21H2.

Re: 1.3 Crash on video thumbnail generation

Posted: Mon Oct 10, 2022 6:40 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 1.3 Crash on video thumbnail generation

Posted: Thu Oct 13, 2022 2:32 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.3.1. Please check and confirm the bug fix here.

Re: 1.3 Crash on video thumbnail generation

Posted: Fri Oct 14, 2022 9:54 am
by thany2
xnview wrote: Wed Oct 05, 2022 12:03 pm you don't have the crash on always the same file when creating thumbnail?
It's hard to tell in a directory with a hundred or so videos. By the time it crashes, I have no way of knowing on which one it crashed. That's kind of the nature of a crash. If it were an error that's properly caught, handled, and displayed, I could give you SO MUCH more information, presumably...
xnview wrote: Thu Oct 13, 2022 2:32 pm This problem is supposed to be fixed in XnView MP 1.3.1. Please check and confirm the bug fix here.
That's great. I'll test it out shortly 👍🏻

Re: 1.3 Crash on video thumbnail generation

Posted: Sat Oct 15, 2022 3:45 pm
by thany2
No crashes so far 👍🏻