Ubsan invalid vptr errors in TBB #99385
Labels
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#99385
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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: Linux-5.4.0-121-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.129.06
Blender Version
Broken: version: 3.2.0, branch: Unknown, commit date: Unknown Unknown, hash:
rBUnknown
*3.3 aplha still broken as of todayWorked:
Short description of error
When loading a .blend file with a node group containing a RayCast node in a developer-debug build the following error message is shown in the console :
Exact steps for others to reproduce the error
test.blend
Added subscriber: @Baardaap
Added subscriber: @JacquesLucke
Think I've seen that before and we classified that as a bug in tbb, couldn't find the task where we talked about this before unfortunately.
Added subscriber: @iss
Can't reproduce here (Windows build). Also can't find duplicate task.
I'll see if I can test on another linux with another TBB version...
This comment was removed by @Baardaap
Added subscriber: @mano-wii
Tested with Windows + ASAN. No error message.
Must be something seen only on Linux.
Added subscribers: @ideasman42, @LazyDodo
The error shown is a ubsan one not asan (so you'll never see it with MSVC), I was convinced we do not take issues like that on the tracker as they are usually just "noise", nice to have more correct code, but wasteful on resources, as there's about a 1000 actual bugs to look at, but @ideasman42 recently gave the OK for #99382 so my knowledge about that is likely outdated.
I don't really care either way. It looked scary, like TBB complained of getting random pointers to execute as function pointers. But if it's just something on my system, or just a false positive from somewhere it's fine with me to close this and move on.
The only disadvantage is that someone else will probably report it sooner or later. Because if you don't really know what the error/warning means (like me) it looks mighty scary.
edit: I saw I didn't paste in the complete error message. Oops. Added it in case it changes anything (probably not).
Added subscriber: @lichtwerk
make debug developer
gives me this in current master (ab3e9c47d8
):Added subscriber: @brecht
@lichtwerk, possibly related to this, though not sure why it would happen only with asan:
https://devtalk.blender.org/t/building-blender-on-linux-using-glibc-2-34-raises-linking-errors-from-the-usd-library/24185
Raycast Node causes TBB error message in 'developer debug' build.to Ubsan invalid vptr errors in TBBChanged status from 'Needs Triage' to: 'Confirmed'
@brecht it's the "debug" that triggers this rather than the asan, USD 22.08 has a fix, but the IO team chose to stay on 22.03 so best way to sidestep this for now is to build
WITH_USD
off in debug builds with new glibcI think it's generally fine to keep track of these as todo issues, just not as bugs.
Ok, if it's a serious problem for developers they could look into adding the symbols to libc_compat (also in LTS branches).