Segmentation fault in ED_info_stats_string during redo #78098

Closed
opened 2020-06-21 14:03:34 +02:00 by Aleksi Juvani · 14 comments

System Information
Operating system: Darwin-19.5.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 555X OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.9.15

Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: 211b6c29f7
Worked: N/A

Short description of error
I'm experiencing consistent crashes when redoing rapidly, i.e. when holding down Command + Shift + Z. This is on macOS 10.15.5 with Blender 2.83. Attached is the crash log from the most recent crash. It might be worth mentioning that I've increased the undo buffer size in the preferences from the default of 32 actions to 128 actions.blender_2_83_redo_crash.txt

Exact steps for others to reproduce the error

  • Open Blender
  • holding down Command + Shift + Z
**System Information** Operating system: Darwin-19.5.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 555X OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.9.15 **Blender Version** Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: `211b6c29f7` Worked: N/A **Short description of error** I'm experiencing consistent crashes when redoing rapidly, i.e. when holding down Command + Shift + Z. This is on macOS 10.15.5 with Blender 2.83. Attached is the crash log from the most recent crash. It might be worth mentioning that I've increased the undo buffer size in the preferences from the default of 32 actions to 128 actions.[blender_2_83_redo_crash.txt](https://archive.blender.org/developer/F8634995/blender_2_83_redo_crash.txt) **Exact steps for others to reproduce the error** - Open Blender - holding down Command + Shift + Z
Author

Added subscriber: @aleksijuvani

Added subscriber: @aleksijuvani

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Apparently the crash is indeed in ED_info_stats_string:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.blenderfoundation.blender 	0x000000010c35f70f ED_info_stats_string + 2159
1   org.blenderfoundation.blender 	0x000000010883e7a7 Scene_statistics_call + 39
2   org.blenderfoundation.blender 	0x0000000108731be2 RNA_function_call + 18
3   org.blenderfoundation.blender 	0x00000001088c13f4 pyrna_func_call + 2004
4   org.blenderfoundation.blender 	0x000000010d0668cf _PyObject_FastCallKeywords + 575
5   org.blenderfoundation.blender 	0x000000010d13bda5 call_function + 773
6   org.blenderfoundation.blender 	0x000000010d13880e _PyEval_EvalFrameDefault + 27262
7   org.blenderfoundation.blender 	0x000000010d066f8d function_code_fastcall + 237
8   org.blenderfoundation.blender 	0x00000001088c2e71 bpy_class_call + 961
9   org.blenderfoundation.blender 	0x0000000108871fd3 header_draw + 115
10  org.blenderfoundation.blender 	0x00000001088dacf4 ED_region_header_layout + 404
11  org.blenderfoundation.blender 	0x00000001085062df wm_draw_update + 1647
12  org.blenderfoundation.blender 	0x0000000108504010 WM_main + 48
13  org.blenderfoundation.blender 	0x00000001081c0762 main + 962
14  libdyld.dylib                 	0x00007fff6997bcc9 start + 1

Can you try the latest development snapshot of blender (2.90)? https://builder.blender.org/download

Apparently the crash is indeed in `ED_info_stats_string`: ```lines Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.blenderfoundation.blender 0x000000010c35f70f ED_info_stats_string + 2159 1 org.blenderfoundation.blender 0x000000010883e7a7 Scene_statistics_call + 39 2 org.blenderfoundation.blender 0x0000000108731be2 RNA_function_call + 18 3 org.blenderfoundation.blender 0x00000001088c13f4 pyrna_func_call + 2004 4 org.blenderfoundation.blender 0x000000010d0668cf _PyObject_FastCallKeywords + 575 5 org.blenderfoundation.blender 0x000000010d13bda5 call_function + 773 6 org.blenderfoundation.blender 0x000000010d13880e _PyEval_EvalFrameDefault + 27262 7 org.blenderfoundation.blender 0x000000010d066f8d function_code_fastcall + 237 8 org.blenderfoundation.blender 0x00000001088c2e71 bpy_class_call + 961 9 org.blenderfoundation.blender 0x0000000108871fd3 header_draw + 115 10 org.blenderfoundation.blender 0x00000001088dacf4 ED_region_header_layout + 404 11 org.blenderfoundation.blender 0x00000001085062df wm_draw_update + 1647 12 org.blenderfoundation.blender 0x0000000108504010 WM_main + 48 13 org.blenderfoundation.blender 0x00000001081c0762 main + 962 14 libdyld.dylib 0x00007fff6997bcc9 start + 1 ``` Can you try the latest development snapshot of blender (2.90)? https://builder.blender.org/download

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Author

I'm still seeing an occasional crash during redo with the development snapshot (version: 2.90.0 Alpha, branch: master, commit date: 2020-06-22 22:06, hash: 51bf04383a, type: Release), but the call stack is different. The crash still occurs within header_draw however. Attached is the crash log and system info.blender_2_90_redo_crash.txt

system-info.txt

I'm still seeing an occasional crash during redo with the development snapshot (version: 2.90.0 Alpha, branch: master, commit date: 2020-06-22 22:06, hash: 51bf04383aa0, type: Release), but the call stack is different. The crash still occurs within `header_draw` however. Attached is the crash log and system info.[blender_2_90_redo_crash.txt](https://archive.blender.org/developer/F8644092/blender_2_90_redo_crash.txt) [system-info.txt](https://archive.blender.org/developer/F8644093/system-info.txt)

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

The crash log of this system is somewhat unpredictable.
Perhaps it is related to the same problem described in #77867

But it's hard to say.

The crash log of this system is somewhat unpredictable. Perhaps it is related to the same problem described in #77867 But it's hard to say.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Since nobody is really reproducing this and since there have been many fixes around UNDO, I would kindly ask @aleksijuvani to reconfirm that this is still an issue even in fresh builds from https://builder.blender.org/download/?

Since nobody is really reproducing this and since there have been many fixes around UNDO, I would kindly ask @aleksijuvani to reconfirm that this is still an issue even in fresh builds from https://builder.blender.org/download/?
Author

I'm no longer using macOS.

I'm no longer using macOS.
Author

Removed subscriber: @aleksijuvani

Removed subscriber: @aleksijuvani

In this case, even without being able to check it, I assume it is a duplicate of the #77867 since we no longer have reports on this problem.

In this case, even without being able to check it, I assume it is a duplicate of the #77867 since we no longer have reports on this problem.

Closed as duplicate of #77867

Closed as duplicate of #77867
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
3 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#78098
No description provided.