Animation gets broken (needs properer title). #46755

Closed
opened 2015-11-13 00:17:46 +01:00 by Mario Mey · 19 comments

Ubuntu-Mate 14.04 x64, nVidia GT 620.

Working: bedc58^
Broken: bedc58

The animation gets broken. And sometimes, it makes a segment fault.

Run the game inside Blender or with BlenderPlayer (bedc58). The armature "arm_md" is a child of "md_obj". Both have animations (the camera armature originally has animation too, but it is not affecting the bug).

Now, activate layer 11 and run the game again. The "brokeness" is different and there's more possibility of a segment fault.

87-animation-test.blend

Ubuntu-Mate 14.04 x64, nVidia GT 620. Working: bedc58^ Broken: bedc58 The animation gets broken. And sometimes, it makes a segment fault. Run the game inside Blender or with BlenderPlayer (bedc58). The armature "arm_md" is a child of "md_obj". Both have animations (the camera armature originally has animation too, but it is not affecting the bug). Now, activate layer 11 and run the game again. The "brokeness" is different and there's more possibility of a segment fault. [87-animation-test.blend](https://archive.blender.org/developer/F254215/87-animation-test.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Mitchell Stokes was assigned by Mario Mey 2015-11-13 00:17:46 +01:00
Author

Added subscriber: @MarioSottile

Added subscriber: @MarioSottile
Mitchell Stokes removed their assignment 2015-11-13 00:19:22 +01:00
Porteries Tristan was assigned by Mitchell Stokes 2015-11-13 00:19:22 +01:00

Added subscriber: @Moguri

Added subscriber: @Moguri

Added subscriber: @Sergey

Added subscriber: @Sergey

I can't reproduve the bug

I can't reproduve the bug
Author

The steps how I found this bug.

Because of #43214, I had to compile OpenAL and Blender. So, I did

git checkout v2.76b

... to get the last release version. I found the broken animations in this version. But it was strange for me, because the release version downloadable from page isn't affected by this bug.

With help of @Moguri, I compiled several versions to achieve the exact one where it is: bedc58ac4e.

*The steps how I found this bug.* Because of #43214, I had to compile OpenAL and Blender. So, I did ``` git checkout v2.76b ``` ... to get the last release version. I found the broken animations in this version. But it was strange for me, because the release version downloadable from page **isn't affected by this bug**. With help of @Moguri, I compiled several versions to achieve the exact one where it is: bedc58ac4e5e86758fd94a7c4bac77003134e947.
Author

This is a screencast of the bug with BlenderPlayer, with a complete version of the file uploaded here.
pinokio-rarisimo.mp4

This is a screencast of the bug with BlenderPlayer, with a complete version of the file uploaded here. [pinokio-rarisimo.mp4](https://archive.blender.org/developer/F254473/pinokio-rarisimo.mp4)
Author

This bug is still in 2.77.

This bug is still in 2.77.

Added subscriber: @AngusHollands-4

Added subscriber: @AngusHollands-4

In your test file (Win10 x64, Blender 2.77a) the animation plays, if not slightly jerkily.

So, what is different between the BuildBot build and your custom build?

In your test file (Win10 x64, Blender 2.77a) the animation plays, if not slightly jerkily. So, what is different between the BuildBot build and your custom build?
Author

Thanks for testing it, @agoose77.

The bug is when using 2.77 downloaded from blender.org, not only in compiled version.

I made a new screencast using the file uploaded here, you can see it here: 87-animation-broken-segment-fault.mp4 As you can see, it finishes with a segment fault.

Does your configuration (Win10) do the same?

Thanks for testing it, @agoose77. The bug is when using 2.77 downloaded from blender.org, not only in compiled version. I made a new screencast using the file uploaded here, you can see it here: [87-animation-broken-segment-fault.mp4](https://archive.blender.org/developer/F301332/87-animation-broken-segment-fault.mp4) As you can see, it finishes with a segment fault. Does your configuration (Win10) do the same?
Author

Recently, I've created a VirtualBox with the same Ubuntu-Mate 14.04 x64 and copied some files. It's a almost clean installation... and it occurred to me to test this file with this installation. Beyond that the 3D acceleration is not good, I could open Blender and run the Game Engine: the animations runs correctly. So... it seems that the problem is in my system, but I don't know why.

This animation glitch (that sometimes it ends with a segment violation) appears in this commit: bedc58ac4e, and it is still there in last version.

What the problem could be? Maybe some packet installed in this system that affects the animation since this commit? What does this commit do with the whole system? I don't want to reinstall all my system to isolate this problem...

Recently, I've created a VirtualBox with the same Ubuntu-Mate 14.04 x64 and copied some files. It's a almost clean installation... and it occurred to me to test this file with this installation. Beyond that the 3D acceleration is not good, I could open Blender and run the Game Engine: **the animations runs correctly**. So... it seems that the problem is in my system, but I don't know why. This animation glitch (that sometimes it ends with a segment violation) appears in this commit: bedc58ac4e5e86758fd94a7c4bac77003134e947, and it is still there in last version. What the problem could be? Maybe some packet installed in this system that affects the animation since this commit? What does this commit do with the whole system? I don't want to reinstall all my system to isolate this problem...
Author

This comment was removed by @MarioSottile

*This comment was removed by @MarioSottile*
Author

@panzergame hi, mate. What happened with this bug? I also found in last Blender version.

If I remember well, it was a multithread issue, isn't it?

Is it fixed in UPBGE? If so, could patch be applied to Blender?

@panzergame hi, mate. What happened with this bug? I also found in last Blender version. If I remember well, it was a multithread issue, isn't it? Is it fixed in UPBGE? If so, could patch be applied to Blender?
Author

Here is a clear example using blend file from this report, turning off and on one thread of my CPU, using:

echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online
echo 1 | sudo tee /sys/devices/system/cpu/cpu1/online

(my Firefox doesn't show this video. Chromium does. I don't know why. It's x264 coded with ffmpeg)
out.mp4

Here is a clear example using blend file from this report, turning off and on one thread of my CPU, using: echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online echo 1 | sudo tee /sys/devices/system/cpu/cpu1/online (my Firefox doesn't show this video. Chromium does. I don't know why. It's x264 coded with ffmpeg) [out.mp4](https://archive.blender.org/developer/F636690/out.mp4)
Author

@panzergame told me that this issue was fixed in UPBGE, in this commit: 2b3405a360?diff=split

This commit includes more changes that only this bug... also, there are more files involved. Maybe someone has the know-how to get what is needed from that commit... and fix the bug in BGE. I don't own it :/.

@panzergame told me that this issue was fixed in UPBGE, in this commit: https://github.com/UPBGE/blender/commit/2b3405a360063e4b050105b3225e86313df693e8?diff=split This commit includes more changes that only this bug... also, there are more files involved. Maybe someone has the know-how to get what is needed from that commit... and fix the bug in BGE. I don't own it :/.
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

This task is being closed because the BGE has been removed in Blender 2.8.

This task is being closed because the BGE has been removed in Blender 2.8.
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
6 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#46755
No description provided.