kristiankoskimaki / vidupe

Vidupe is a program that can find duplicate and similar video files. V1.211 released on 2019-09-18, Windows exe here:

Home Page:https://github.com/kristiankoskimaki/vidupe/releases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash when processing huge number of files already cached

lklark opened this issue · comments

When I reprocess directories with a lot of clips (>17000) I get this error after reading file lists and starting processing the file list:

Qt Concurrent has caught an exception thrown from a worker thread.
This is not supported, exceptions thrown in worker threads must be caught before control returns to Qt Concurrent.Qt Concurrent has caught an exception thrown from a worker thread.
This is not supported, exceptions thrown in worker threads must be caught before control returns to Qt Concurrent.OpenCV: terminate handler is called! The last OpenCV error is:
OpenCV(3.4.7) Error: Assertion failed (!ssize.empty()) in resize, file E:\opencv-3.4.7\opencv-3.4.7\modules\imgproc\src\resize.cpp, line 3720

Thanks for the report !!!
That’s weird, I have never seen this… I test et very time on a set of over 10 000 videos, I’ll try and see if I can replicate by doubling the number of videos to scan.

Haha my bad, I’m working on a fork of this project over at https://theophanemayaud.github.io/video-simili-duplicate-cleaner/, and I thought the issue you raised was for my fork 😬
Are you on windows ? If so, I can’t help you yet, I only have a working MacOS version, I’m still working on compiling it for windows !

Hi, if you still need this I finally managed to build it for windows, and you can checkout my project page to see if my version fixes the bug you had with this version 🤷‍♂️ https://theophanemayaud.github.io/video-simili-duplicate-cleaner/

I get the crash too, is it necessary to buy the software to see if it fixes the crash? My crash is a bit different though, i get the crash while scanning a large library, the event logs say...

Faulting application name: Vidupe.exe, version: 1.211.0.0, time stamp: 0x5d81af89
Faulting module name: libopencv_core347.dll, version: 3.4.7.0, time stamp: 0x5d6be248
Exception code: 0x40000015
Fault offset: 0x001a9066
Faulting process id: 0xbd4
Faulting application start time: 0x01d8397175a9f3c3
Faulting application path: C:\Users\xxx\Downloads\Vidupe-1.211_win32\Vidupe\Vidupe.exe
Faulting module path: C:\Users\xxx\Downloads\Vidupe-1.211_win32\Vidupe\libopencv_core347.dll
Report Id: cb686613-a55e-4527-8503-b1ebcf984f54
Faulting package full name:
Faulting package-relative application ID:

So, looks like the opencv code is crashing. Happens only when scanning 3x2 or higher.

Well you can try to build my project from source but since I put a lot of effort in it, that’s why I put it on the store. If you still get the crash you can also ask for a refund from Microsoft I believe ;)

Also, if you still get the crash I’ll look into it and make updates to fix it.

Maybe we should open an issue or discussion on https://github.com/theophanemayaud/video-simili-duplicate-cleaner/discussions

I’ll look into where the cache is on windows, I’m not sure 🤔

I've finally had time to look at it, I'll look for a way around it, there's indeed a problem ! I'll post further updates on the dedicated issue : theophanemayaud/video-simili-duplicate-cleaner#69

Also the app doesn't seem to remember the custom cache location when it is restarted