Crash when accessing extra tracking settings #40147
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#40147
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
Arch Linux x86_64 updated daily
Linux kernel 3.14.3
CPU Intel Core 2 Q6600
RAM 6 GB
GPU nVidia GeForce GT640
Blender Version
Git master hash
df74230
Short description of error
Exact steps for others to reproduce the error
See attached screenshots. The mouse cursor shows exact location where to press to get segmentation fault.
motion_tracking_extra_settings_crash.blend
And link to the video used in the blend file: Planar tracking source video
Changed status to: 'Open'
Added subscriber: @igvalor2
The bug is much more disasterous! It also affects some other interface parts. For example:
Added subscriber: @willi-2
Strange. I can not reproduce with the latter steps on Win7/64 (tried
1464316
(May 9) and47e9057
(May 12)).EDIT: Also not reproducible on Kubuntu (inside VM) with version
5db81a0
Added subscriber: @Sergey
@igvalor2, can not reproduce it either. Please check whether it's still an issue for you with the latest build from buildbot.
Maybe trace helps
motion_tracking_extra_settings_crash.crash.txt
Hash
1b1b71f
Not really. And seems it's not latest buildbot build?
I build myself using CMake
Last time I reported crash, Campbell Barton resolved the issue really quickly
OK. Downloaded last build from buildbot (2014-05-12 hash
47e9057
) and it's working. Looks like the problem is current Arch Linux specific.Probably my cmake cache file would help
CMakeCache.txt
Added subscriber: @ideasman42
Cant redo this bug, and valgrind reports no issues.
Will core dump with my binary help? If they will how should I hand them over to you?
So, here are some results of my investigation.
Blender works again for me, when I compile it with compiler optimization flag -O1 or even without it. If I build with -O2 or -O3, Blender crashes.
I use
GCC 4.9
LLVM/Clang 3.4.1
Before May 12 everything worked with -O3. I'm puzzled.
Probably also my pacman upgrade log may make some help (cut to last several days)
pacman.recent.log
Using -O3 is really asking for troubles, don't use it. And it seems to be rather a compiler issue. Try using gcc-4.7 which is what official builds are created with.
GCC 4.7 is not an option for me. As I said, before May 12 -O3 worked fine with GCC 4.9, now even -O2 makes crashy executable. For the time I'll settle on what works: -O1. I hope you will investigate and resolve this nasty issue.
I'm not sure why gcc-4.7 is not an option for you in purposes of testing. Compiling with this gcc version would show whether it's a general issue in our code or it's just bug in some particular gcc version. We obviously can't fix bugs in compilers..
Also, you're building from sources and that's real cool. So what you can do is to find a revision which worked for you. You can use
git checkout <COMMIT_SHA>
to check whether this hash worked fine.Then if you'll find a commit which worked for you you can do this:
$ git checkout master
$ git bisect start
$ git bisect bad
$ git bisect good COMMIT_SHA_WHICH_WORKED_FOR_YOU
it'll start bisecting process. So you build blender and check if it works. If it works you type
git bisect good
if it crashes you typegit bisect bad
. If some compilation error happens you can typegit bisect skip
. Do this for until commit which broke gcc for you is found.Once you spot the buggy commit, please report back and this would give some clues to us hopefully.
4.7 is not an option, because Arch Linux is a so called "rolling release" guy. Installing GCC 4.7 means doing it from source into separate directory being at risk to mess the versions, which I just don't want to mess with. Not to mention building the monster from source is a daunting timespending.
About git bisect - I'll try it. Thanks for the hint.
After playing with git bisect I downgraded the Blender source down to commit from April 27 and my problem persisted. Blender still crashes when I use -O2 or -O3 optimization flags. So looks like the problem is really environment specific. If anyone of Blender devs uses Arch Linux and has working Blender built with GCC 4.9 and -O3, please share CMake cache file or Scons config and Pacman log file, so I could compare. Campbell Barton?
For now I'm going to use -O1. At least it works.
Changed status from 'Open' to: 'Archived'
If it's worked before and doesn't work now then it's likely update of gcc caused this and you'd better poke gcc maintainers in arch. But you're also welcome to ask for the help in our ML and IRC (see http://www.blender.org/get-involved/developers/).
Bug tracker is meant to be used to report bugs which are reproducible in official builds. If it ends up setu-specific we handle it outside of the tracker.
So thanks for the report, but closing it now.
SOLVED by using clang instead of gcc and clang++ instead of g++!