Crash backtrace missing on Linux #111186
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#111186
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Ubuntu 20.04
Graphics card: N/A
Blender Version
Broken: 4.0 (
dd64767
)Short description of error
Since
f197b1a
, the presence ofexecinfo.h
is no longer detected correctly, and backtraces are missing on crashes. I can reproduce this problem both with my own and buildbot builds, while older releases work ok.I think this also explains why it was described as barely working in #111006.
It's probably related to
check_include_files
which we don't use anywhere else.It's probably a simple fix, but I won't have time to fix this soon so logging as a bug report.
CC @ideasman42 @mont29
@brecht @ideasman42 note that the issue that lead to !111006 remains though - backtrace generated from this method are essentially useless for me (Debian testing, gcc13): it cannot resolve any address to a readable function name anymore in the Blender binary itself...
@mont29 checking and the leak report is working as expected with this patch applied:
Output from running:
blender -d
Attached script used to generate the build (including it's ASAN settings).
This is generated by ASAN, after the change from !111006/2e79ca3205.
What I am saying is that for me, the backtrace generated from using
execinfo.h
API is useless, as the call tobacktrace_symbols
cannot resolve any Blender binary address to function names anymore (at least for me). Which was one of the reasons to decide to switch to ASAN 'backtrace' for the memleaks.@mont29 looked into this:
source/creator/symbols_unix.map
is masking out most of the symbols.Commenting out:
./build_files/cmake/platform/platform_unix.cmake
Although the output still isn't great.
Submitted a PR for a utility to run
addr2line
on these back-traces: #111416Aaaah makes sense, completely forgot that symbols hiding thingy ;(
Thanks for looking into this!