ff4948fc084aa546f1f01d7ad47170e1acfdf5d4
I can't reproduce this on release or debug builds. But from the strack traces provided in a couple reports, it looks like the runtime pointer is null. This makes sense because BKE_previewimg_blend_read is not called here which is what allocates the runtime struct on file read. To maintain a "valid" PreviewImage in more code and avoid the complexity of making the runtime pointer optional, just allocate it in BLO_blendhandle_get_preview_for_id.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
