Importing large STL (~5GB) seg faults with empty backtrace produced from --debug-all #113380

Closed
opened 2023-10-07 03:09:30 +02:00 by anson-liu · 3 comments

System Information
Operating system: RHEL 7, Win10
Graphics card: N/A

Blender Version
Broken: 3.4.1, 3.5
Worked: N/A

Short description of error
I am trying to import an STL and export it as 3MF which is a compressed file format for 3D models. Some of my models are very large and over 5GB in size. When I import a large STL that is 5GB in size, Blender will crash after/during importing. The crash.txt that Blender writes has sections for backtrace but the section is empty.

My suspicion is Blender is using a variable type that is too small to keep track of the points in this large object. The import prints a message saying import finished but seg faults in the update phase right after. Or there is an internal memory limit for objects in Blender that I don't know about.

I am running Blender like so:

~/blender-3.4.1-linux-x64/blender -b -noaudio --debug-all --python-console

File import crashes in both normal and headless console mode in both Windows (64GB ram, RTX3060TI) and Linux (1024GB ram, no GPU). Blender 3.4 is the latest I can run on the linux machine due to older GLIBC on the machine. Blender does not appear to use up all the memory on either machine and crashes before the machine is physically out of memory. I have been able to successfully import and export STLs over 2GB in size. I would cut up the file if there is an internal memory limit on Blender but I would need to import it first which is a chicken and egg problem...

system memory screenshots:

image
image

I am using the 3MF blender addon (https://github.com/Ghostkeeper/Blender3mfFormat) to export the object after import but Blender never gets to that part as it crashes during the update phase? after printing a message saying the file was imported.

Exact steps for others to reproduce the error

bpy.ops.import_mesh.stl(filepath='./AK-single.stl')
bpy.ops.export_mesh.threemf(filepath=./AK-single.3mf, use_selection=False)

I can share an actual 5GB STL file that crashes if needed. Please let me know if I should upload a 7z of the STL file.

>>> bpy.data.objects
<bpy_collection[0], BlendDataObjects>
>>> bpy.ops.import_mesh.stl(filepath='./AK-single.stl')
Import finished in 441.0612 sec.
graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=OBAK-single flags=GEOMETRY, COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=OBAK-single flags=GEOMETRY, COPY_ON_WRITE source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
[SCScene :: ViewLayer]: DEG_graph_tag_relations_update: Tagging relations for update.
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=GEOMETRY source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=GEOMETRY source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
[SCScene :: ViewLayer]: DEG_graph_tag_relations_update: Tagging relations for update.
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=SELECT source=USER_EDIT
graph_id_tag_update: id=SCScene flags=SELECT source=USER_EDIT
Operator: bpy.ops.import_mesh.stl(filepath="./AK-single.stl")
[SCScene :: ViewLayer]: Removed 16 relations to no-op nodes
graph_id_tag_update: id=SCScene flags=SELECT, COPY_ON_WRITE source=RELATIONS
graph_id_tag_update: id=OBAK-single flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=RELATIONS
graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=RELATIONS
graph_id_tag_update: id=MEAK-single flags=TRANSFORM, GEOMETRY, SHADING, SELECT, BASE_FLAGS, POINT_CACHE, COPY_ON_WRITE, SEQUENCER_STRIPS, AUDIO_FPS, AUDIO_VOLUME, AUDIO_MUTE, AUDIO_LISTENER, AUDIO, PARAMETERS, TAG_FOR_UNDO, ID_RECALC_NTREE_OUTPUT source=RELATIONS
graph_id_tag_update: id=GRCollection flags=GEOMETRY, COPY_ON_WRITE source=RELATIONS
Depsgraph built in 0.000226 seconds.
graph_id_tag_update: id=OBAK-single flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=VISIBILITY
graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=VISIBILITY
graph_id_tag_update: id=MEAK-single flags=COPY_ON_WRITE source=VISIBILITY
[SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_ENTRY()
[SCScene :: ViewLayer]: Operation is entry point for update: SOUND_EVAL()
[SCScene :: ViewLayer]: Operation is entry point for update: SCENE_EVAL()
[SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_EVAL()
[SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL()
[SCScene :: ViewLayer]: Operation is entry point for update: AUDIO_VOLUME()
[SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_EVAL()
[SCScene :: ViewLayer]: Operation is entry point for update: COPY_ON_WRITE()
[SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL()
[SCScene :: ViewLayer]: Operation is entry point for update: VIEW_LAYER_EVAL()
[SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL_DONE()
[SCScene :: ViewLayer]: Operation is entry point for update: COPY_ON_WRITE()
[SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_SELECT_UPDATE()
[SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_SIMULATION_INIT()
[SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_LOCAL()
[SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL_DONE()
[SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_INIT()
[SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_EXIT()
[SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_FINAL()
[SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_ENTRY()
[SCScene :: ViewLayer]: Operation is entry point for update: VISIBILITY()
[SCScene :: ViewLayer]: Operation is entry point for update: SEQUENCES_EVAL()
[SCScene :: ViewLayer]: Operation is entry point for update: AUDIO_ENTRY()
[SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL_INIT()
[SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_EVAL()
[SCScene :: ViewLayer]: Operation is entry point for update: COPY_ON_WRITE()
[SCScene :: ViewLayer]: Operation is entry point for update: VISIBILITY()
[SCScene :: ViewLayer]: Operation is entry point for update: COPY_ON_WRITE()
[SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_EXIT()
[SCScene :: ViewLayer]: Accumulated recalc bits for SCScene: 8704
[SCScene :: ViewLayer]: Accumulated recalc bits for OBAK-single: 8323
[SCScene :: ViewLayer]: Accumulated recalc bits for MEAK-single: 4286541699
[SCScene :: ViewLayer]: Accumulated recalc bits for GRCollection: 8194
[SCScene :: ViewLayer]: deg_evaluate_copy_on_write on GRCollection (0x7f8ac89a7378)
[SCScene :: ViewLayer]: deg_evaluate_copy_on_write on MEAK-single (0x7f8ac89d4e38)
[SCScene :: ViewLayer]: deg_evaluate_copy_on_write on SCScene (0x7f8ad758cc38)
Writing: /tmp/blender.crash.txt
Segmentation fault

Console log of the blender debug output right after the import command. The empty blender.crash.txt file is in the right pane of the bottom image.

image
blender-crash

**System Information** Operating system: RHEL 7, Win10 Graphics card: N/A **Blender Version** Broken: 3.4.1, 3.5 Worked: N/A **Short description of error** I am trying to import an STL and export it as 3MF which is a compressed file format for 3D models. Some of my models are very large and over 5GB in size. When I import a large STL that is 5GB in size, Blender will crash after/during importing. The crash.txt that Blender writes has sections for backtrace but the section is empty. My suspicion is Blender is using a variable type that is too small to keep track of the points in this large object. The import prints a message saying import finished but seg faults in the update phase right after. Or there is an internal memory limit for objects in Blender that I don't know about. I am running Blender like so: `~/blender-3.4.1-linux-x64/blender -b -noaudio --debug-all --python-console` File import crashes in both normal and headless console mode in both Windows (64GB ram, RTX3060TI) and Linux (1024GB ram, no GPU). Blender 3.4 is the latest I can run on the linux machine due to older GLIBC on the machine. Blender does not appear to use up all the memory on either machine and crashes before the machine is physically out of memory. I have been able to successfully import and export STLs over 2GB in size. I would cut up the file if there is an internal memory limit on Blender but I would need to import it *first* which is a chicken and egg problem... system memory screenshots: ![image](/attachments/e70a72ed-0a7f-402c-9632-c5aa6b1ac91d) ![image](/attachments/4b4b6214-e8e2-4150-9676-82f32b8009d3) I am using the 3MF blender addon (https://github.com/Ghostkeeper/Blender3mfFormat) to export the object after import but Blender never gets to that part as it crashes during the update phase? after printing a message saying the file was imported. **Exact steps for others to reproduce the error** ``` bpy.ops.import_mesh.stl(filepath='./AK-single.stl') bpy.ops.export_mesh.threemf(filepath=./AK-single.3mf, use_selection=False) ``` I can share an actual 5GB STL file that crashes if needed. Please let me know if I should upload a 7z of the STL file. ``` >>> bpy.data.objects <bpy_collection[0], BlendDataObjects> >>> bpy.ops.import_mesh.stl(filepath='./AK-single.stl') Import finished in 441.0612 sec. graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=OBAK-single flags=GEOMETRY, COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=OBAK-single flags=GEOMETRY, COPY_ON_WRITE source=USER_EDIT DEG_relations_tag_update: Tagging relations for update. [SCScene :: ViewLayer]: DEG_graph_tag_relations_update: Tagging relations for update. graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=GEOMETRY source=USER_EDIT graph_id_tag_update: id=GRCollection flags=GEOMETRY source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT DEG_relations_tag_update: Tagging relations for update. [SCScene :: ViewLayer]: DEG_graph_tag_relations_update: Tagging relations for update. graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=SELECT source=USER_EDIT graph_id_tag_update: id=SCScene flags=SELECT source=USER_EDIT Operator: bpy.ops.import_mesh.stl(filepath="./AK-single.stl") [SCScene :: ViewLayer]: Removed 16 relations to no-op nodes graph_id_tag_update: id=SCScene flags=SELECT, COPY_ON_WRITE source=RELATIONS graph_id_tag_update: id=OBAK-single flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=RELATIONS graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=RELATIONS graph_id_tag_update: id=MEAK-single flags=TRANSFORM, GEOMETRY, SHADING, SELECT, BASE_FLAGS, POINT_CACHE, COPY_ON_WRITE, SEQUENCER_STRIPS, AUDIO_FPS, AUDIO_VOLUME, AUDIO_MUTE, AUDIO_LISTENER, AUDIO, PARAMETERS, TAG_FOR_UNDO, ID_RECALC_NTREE_OUTPUT source=RELATIONS graph_id_tag_update: id=GRCollection flags=GEOMETRY, COPY_ON_WRITE source=RELATIONS Depsgraph built in 0.000226 seconds. graph_id_tag_update: id=OBAK-single flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=VISIBILITY graph_id_tag_update: id=MEAK-single flags=LEGACY_0 source=VISIBILITY graph_id_tag_update: id=MEAK-single flags=COPY_ON_WRITE source=VISIBILITY [SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_ENTRY() [SCScene :: ViewLayer]: Operation is entry point for update: SOUND_EVAL() [SCScene :: ViewLayer]: Operation is entry point for update: SCENE_EVAL() [SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_EVAL() [SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL() [SCScene :: ViewLayer]: Operation is entry point for update: AUDIO_VOLUME() [SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_EVAL() [SCScene :: ViewLayer]: Operation is entry point for update: COPY_ON_WRITE() [SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL() [SCScene :: ViewLayer]: Operation is entry point for update: VIEW_LAYER_EVAL() [SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL_DONE() [SCScene :: ViewLayer]: Operation is entry point for update: COPY_ON_WRITE() [SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_SELECT_UPDATE() [SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_SIMULATION_INIT() [SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_LOCAL() [SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL_DONE() [SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_INIT() [SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_EXIT() [SCScene :: ViewLayer]: Operation is entry point for update: TRANSFORM_FINAL() [SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_ENTRY() [SCScene :: ViewLayer]: Operation is entry point for update: VISIBILITY() [SCScene :: ViewLayer]: Operation is entry point for update: SEQUENCES_EVAL() [SCScene :: ViewLayer]: Operation is entry point for update: AUDIO_ENTRY() [SCScene :: ViewLayer]: Operation is entry point for update: GEOMETRY_EVAL_INIT() [SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_EVAL() [SCScene :: ViewLayer]: Operation is entry point for update: COPY_ON_WRITE() [SCScene :: ViewLayer]: Operation is entry point for update: VISIBILITY() [SCScene :: ViewLayer]: Operation is entry point for update: COPY_ON_WRITE() [SCScene :: ViewLayer]: Operation is entry point for update: PARAMETERS_EXIT() [SCScene :: ViewLayer]: Accumulated recalc bits for SCScene: 8704 [SCScene :: ViewLayer]: Accumulated recalc bits for OBAK-single: 8323 [SCScene :: ViewLayer]: Accumulated recalc bits for MEAK-single: 4286541699 [SCScene :: ViewLayer]: Accumulated recalc bits for GRCollection: 8194 [SCScene :: ViewLayer]: deg_evaluate_copy_on_write on GRCollection (0x7f8ac89a7378) [SCScene :: ViewLayer]: deg_evaluate_copy_on_write on MEAK-single (0x7f8ac89d4e38) [SCScene :: ViewLayer]: deg_evaluate_copy_on_write on SCScene (0x7f8ad758cc38) Writing: /tmp/blender.crash.txt Segmentation fault ``` Console log of the blender debug output right after the import command. The empty blender.crash.txt file is in the right pane of the bottom image. ![image](/attachments/2c0bdb13-138c-4741-9e64-098873cd59d8) ![blender-crash](/attachments/b1bfef51-dd0c-41b4-9cb1-26b1281c63cd)
anson-liu added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-10-07 03:09:31 +02:00

Windows builds have much better luck when printing their crash stack traces. Can you check there again? Additionally, is there anything you can tell us about the file in question like maybe the maximum number of vertices that will be in a single mesh that you'll be importing? Blender does have limits in that area that could be at play.

Windows builds have much better luck when printing their crash stack traces. Can you check there again? Additionally, is there anything you can tell us about the file in question like maybe the maximum number of vertices that will be in a single mesh that you'll be importing? Blender does have limits in that area that could be at play.
Jesse Yurkovich added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-10-07 04:34:38 +02:00
Author

@deadpin I ran the import again in Windows 10 and got the below console log and attached crash report. It looks like there's more debug data in Windows.

I estimate the 5GB file having 300,000,000 - 500,000,000 vertices in 1 object. There is only one object in the STL.
This STL (a relief map) was generated programmatically and I successfully used it in a meshboolean operation using libigl. The meshboolean (subtract) operation produced a valid STL that was a small size of 1.3GB (71729262 vertices) and I was able to open it and confirm that the boolean output file had the correct results so the original 5GB file should be valid. I can't open the 5GB file to get an exact vertex count, so my estimate is based on file size which has been more or less accurate based on other files I have.

Windows 11 console log with --debug-all (ran in GUI mode)

Import finished in 384.4375 sec.
graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT
graph_id_tag_update: id=OBAK_tile_1_1 flags=GEOMETRY, COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=OBAK_tile_1_1 flags=GEOMETRY, COPY_ON_WRITE source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
[SCScene :: ViewLayer]: DEG_graph_tag_relations_update: Tagging relations for update.
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=GEOMETRY source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=GEOMETRY source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
[SCScene :: ViewLayer]: DEG_graph_tag_relations_update: Tagging relations for update.
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=SELECT source=USER_EDIT
graph_id_tag_update: id=SCScene flags=SELECT source=USER_EDIT
Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF8589612DB
Module  : VCRUNTIME140.dll
Thread  : 00006094
Writing: C:\Users\ansonl\AppData\Local\Temp\blender.crash.txt
@deadpin I ran the import again in Windows 10 and got the below console log and attached crash report. It looks like there's more debug data in Windows. I estimate the 5GB file having 300,000,000 - 500,000,000 vertices in 1 object. There is only one object in the STL. This STL (a relief map) was generated programmatically and I successfully used it in a meshboolean operation using libigl. The meshboolean (subtract) operation produced a valid STL that was a small size of 1.3GB (71729262 vertices) and I was able to open it and confirm that the boolean output file had the correct results so the original 5GB file should be valid. I can't open the 5GB file to get an exact vertex count, so my estimate is based on file size which has been more or less accurate based on other files I have. Windows 11 console log with --debug-all (ran in GUI mode) ``` Import finished in 384.4375 sec. graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=MEAK_tile_1_1 flags=LEGACY_0 source=USER_EDIT graph_id_tag_update: id=OBAK_tile_1_1 flags=GEOMETRY, COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=OBAK_tile_1_1 flags=GEOMETRY, COPY_ON_WRITE source=USER_EDIT DEG_relations_tag_update: Tagging relations for update. [SCScene :: ViewLayer]: DEG_graph_tag_relations_update: Tagging relations for update. graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=GEOMETRY source=USER_EDIT graph_id_tag_update: id=GRCollection flags=GEOMETRY source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT DEG_relations_tag_update: Tagging relations for update. [SCScene :: ViewLayer]: DEG_graph_tag_relations_update: Tagging relations for update. graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT graph_id_tag_update: id=SCScene flags=SELECT source=USER_EDIT graph_id_tag_update: id=SCScene flags=SELECT source=USER_EDIT Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF8589612DB Module : VCRUNTIME140.dll Thread : 00006094 Writing: C:\Users\ansonl\AppData\Local\Temp\blender.crash.txt ```

Yes, that looks the same as #111575 (and to a lesser extent #110334) as this is crashing inside BLO_memfile_chunk_add.

If a single mesh contains more than 178,956,970 verts, this will trigger. That will total just over 2gb worth of vertex coordinate data (12 bytes / vertex) which needs to be stored and, as you suspected, the field describing the length is too small to handle the value. This is a current limitation of Blender with no easy workaround.

I'll close this bug as a duplicate but feel free to subscribe to #111575 for updates on the matter.

Yes, that looks the same as #111575 (and to a lesser extent #110334) as this is crashing inside `BLO_memfile_chunk_add`. If a single mesh contains more than 178,956,970 verts, this will trigger. That will total just over 2gb worth of vertex coordinate data (12 bytes / vertex) which needs to be stored and, as you suspected, the field describing the length is too small to handle the value. This is a current limitation of Blender with no easy workaround. I'll close this bug as a duplicate but feel free to subscribe to #111575 for updates on the matter.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-10-07 08:25:39 +02:00
Jesse Yurkovich added
Status
Duplicate
and removed
Status
Archived
labels 2023-10-07 08:26:03 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#113380
No description provided.