New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win 32bit port broken - crash on import #35
Comments
Thanks for letting me know. Is there any chance that we are exceeding the 4GB ram limit on 32bit? |
Also, I think with only 4GB ram, caching might not even be worth it(?), as it wouldn't cover many frames with most video resolutions, also luckily not many people running 32-bit machines anymore. Maybe this is a lazy solution, but what do you think of something like:
Do you disagree? |
Qt is by standard 32bit on Windows. A 64bit version of the environment you must build yourself. As I know we had no 4GB limit on Windows anymore. So when we (or anybody) want to use the standard delivered libraries, we have 32bit libs on a 64bit system. Is it the cache size which causes the problem?
|
|
The PC has exactly 8GB RAM. |
[win 32bit crash on mlv import] Debugger always bails out on the line 208 of 'frame_caching.c' if(file) fclose(file); <- this patch works and no crashes are encountered after it. strange because 'file' only lives in this local scope, however there are more threads working with the same opened file. Something's wrong here. Linux always very sensitive about this king of stuff. |
Thx bouncyball. On Win 32bit I can't debug, because I have no zlibd.dll... or how can you debug? |
|
Yup, right, makes no sense at all :) Debugging is difficult without some lib debug versions. But "run to line" feature sometimes helps a lot. |
I patched the code now it works. But I think we are walking on the sharp blade with all those caching threads running in the background and hogging almost 100% of all cores! Example: when I import several MLVs and activating cache, then starting to change videos quickly (clicking on them randomly) after some clicks app crashes and debugger always bails out on 77th line of AudioPlayback.cpp. Look at this line yourself. Some simultaneous access to some resources! Well... I don't like this any more :) and why this thread code (function) works if caching is off by default when app been crashing on windows 32bit? Edit: is multithreaded caching design the same in cocoa app? |
On OSX it does not crash when I click randomly on the session clips also with Caching active. AudioPlayback again? Oh no... why has Linux so big problems with audio? |
Unfortunately it still crashes when audio playback is off in the menu. ON THE SAME LINE ;) |
When file is big enough caching drives me crazy. Whole PC stalls and unresponsive some annoying time. System monitor shows almost 100% load on all 4 cores 4 threads :) I don't really think that cache should be THAT big. It should be just big enough to have positive impact on performance. |
Audioplayback is off and you get a crash in AudioPlayback? Very interesting! :-/ |
Yup, s..t happens :) |
Since Caching is merged, the 32bit Windows version is not able to open MLV files and crashes. It happens since the very first commits with the new caching.
The text was updated successfully, but these errors were encountered: