**System Information**
Operating system: Linux-5.4.0-89-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: GeForce GT 740M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.91.03
**Blender Version**
Broken: version: 3.0.0 Beta, branch: master, commit date: 2021-11-03 21:09, hash: `rB3e6907eb8a3d`
Worked: 2.93.4
**Short description of error**
Blender crashes when exceeding the `memory_cache_limit` value by having an image sequence drawn in the viewport, as an example as a background image or used as texture in a material.
Blender.crash for the builbot build of 3.0
{F11718485}
~~I noticed that in my debug build the crash doesn't happen.~~
Ok, my debug build was simply outdated.
This is caused by b1bf8848895b, I haven't debugged farther but in this case it seems like `item->c_handle` is NULL in `moviecache_valfree()`
**Exact steps for others to reproduce the error**
* open the default scene
* change memory limit in the user preferences to some low value
* drag and drop a movie file in the 3d viewport
* fill the cache by changing the current frame