Crash when rendering to Quicktime #38266

Closed
opened 2014-01-17 20:16:11 +01:00 by Alex · 21 comments

System Information
Operating system and graphics card

OS: OS X: 10.8.5
Intel HD graphics 4000

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
Worked: (optional)

Blender 2.68
Worked just fine

Short description of error When i trie to render an animation with the format quicktime the program just crash. I have tried several times on different files with the same result.

Exact steps for others to reproduce the error I sate al frames and had al settings ready, i put output format to quicktime and then hit render animation.

Based on a (as simple as possible) attached .blend file with minimum amount of steps

**System Information** Operating system and graphics card OS: OS X: 10.8.5 Intel HD graphics 4000 **Blender Version** Broken: (example: 2.69.7 4b206af, see splash screen) Worked: (optional) Blender 2.68 Worked just fine **Short description of error** When i trie to render an animation with the format quicktime the program just crash. I have tried several times on different files with the same result. **Exact steps for others to reproduce the error** I sate al frames and had al settings ready, i put output format to quicktime and then hit render animation. Based on a (as simple as possible) attached .blend file with minimum amount of steps
Author

Changed status to: 'Open'

Changed status to: 'Open'
Alex self-assigned this 2014-01-17 20:16:11 +01:00
Author

Added subscriber: @Alexsten

Added subscriber: @Alexsten

#41130 was marked as duplicate of this issue

#41130 was marked as duplicate of this issue

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

2.68 is old, please try with 2.69 or a daily build from builder.blender.org.

Also please don't paste these long error reports in your description, rather attach a .txt file, helps readability here a lot. ;)

2.68 is old, please try with 2.69 or a daily build from builder.blender.org. Also please don't paste these long error reports in your description, rather attach a .txt file, helps readability here a lot. ;)

crash_log.txt
Attaching his crash log as .txt.

[crash_log.txt](https://archive.blender.org/developer/F69751/crash_log.txt) Attaching his crash log as .txt.

Added subscriber: @fredvomjupiter

Added subscriber: @fredvomjupiter

Same problem when rendering a still as .png, .jpg or .tiff with Blender 2.69.8 e07e8e3

The 32-bit version works fine (8ff58ee) (just tried .png)
(Mac OS X: 10.9.1 on CPU)

Same problem when rendering a still as .png, .jpg or .tiff with Blender 2.69.8 e07e8e3 The 32-bit version works fine (8ff58ee) (just tried .png) (Mac OS X: 10.9.1 on CPU)

Added subscriber: @jensverwiebe

Added subscriber: @jensverwiebe

Jens, can you please check on this? Strange that it works with the 32bit version.

Jens, can you please check on this? Strange that it works with the 32bit version.

Added subscriber: @brecht

Added subscriber: @brecht

@fredvomjupiter, the issue that you are seeing is likely unrelated to this, the crash log indicates a quicktime specific issue.

It's also not clear to me what "rendering a still as .png" means. If you render a still image it is not automatically saved to file, the chosen file output type does not affect anything when you press render. When does it crash exactly? When you press render, when you save the file, .. ? And does it happen with the default cube or only particular .blend files?

@fredvomjupiter, the issue that you are seeing is likely unrelated to this, the crash log indicates a quicktime specific issue. It's also not clear to me what "rendering a still as .png" means. If you render a still image it is not automatically saved to file, the chosen file output type does not affect anything when you press render. When does it crash exactly? When you press render, when you save the file, .. ? And does it happen with the default cube or only particular .blend files?

I can confirm this Quicktime crash in the 2.69 32 bit build and my own 32 bit build from latest git. That crash log also indicates x86 which is 32 bit. The workaround is simple: just use the 64 bit build, since you are running OS X 10.8.5 it should work fine.

Developer Note:

Reading the Quicktime documentation, it does indeed seem to be the case that you are not allowed to create movies on non-main threads, but somehow it works on 64 bit, not sure why.
https://developer.apple.com/library/mac/technotes/tn2125/_index.html

Also note that after 2.69 we removed the old Quicktime API backend and switched 32 bit to QTKit, the same as 64 bit was already using. This however does not make any difference, it crashes in both cases.

I guess the solution is to restructure the code such that the initialization runs on the main thread, but that's really quite tricky.

I can confirm this Quicktime crash in the 2.69 32 bit build and my own 32 bit build from latest git. That crash log also indicates x86 which is 32 bit. The workaround is simple: just use the 64 bit build, since you are running OS X 10.8.5 it should work fine. Developer Note: Reading the Quicktime documentation, it does indeed seem to be the case that you are not allowed to create movies on non-main threads, but somehow it works on 64 bit, not sure why. https://developer.apple.com/library/mac/technotes/tn2125/_index.html Also note that after 2.69 we removed the old Quicktime API backend and switched 32 bit to QTKit, the same as 64 bit was already using. This however does not make any difference, it crashes in both cases. I guess the solution is to restructure the code such that the initialization runs on the main thread, but that's really quite tricky.
Alex was unassigned by Brecht Van Lommel 2014-01-20 16:42:24 +01:00

Added subscriber: @Sergey

Added subscriber: @Sergey

@brecht, is it just making it so video descriptors are initialized from main thread and writing frames from non-main thread will work fine?

@brecht, is it just making it so video descriptors are initialized from main thread and writing frames from non-main thread will work fine?

Added subscribers: @JohnRoper, @mont29

Added subscribers: @JohnRoper, @mont29

◀ Merged tasks: #41130.

◀ Merged tasks: #41130.
Sergey Sharybin changed title from Crash when rendering to Crash when rendering to Quicktime 2014-07-21 12:40:50 +02:00

Added subscriber: @SeanAitken

Added subscriber: @SeanAitken

I just tried with Mac OSX 10.9.3, 50 frames of a moving cube, saving as Quicktime MOV. This was compiled from source (x86_64 arch) with code from last week (technically, 2.71 from 7/19). No crash, and I was able to play back the MOV. Also, not that it is probably a big deal, I can't find any attached *.blend files.
*UPDATE: I just saw that this only happens in 32-bit builds. Please ignore my comment!

I just tried with Mac OSX 10.9.3, 50 frames of a moving cube, saving as Quicktime MOV. This was compiled from source (x86_64 arch) with code from last week (technically, 2.71 from 7/19). No crash, and I was able to play back the MOV. Also, not that it is probably a big deal, I can't find any attached *.blend files. **UPDATE: I just saw that this only happens in 32-bit builds. Please ignore my comment!*
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
jens verwiebe self-assigned this 2014-09-26 21:29:56 +02:00
Member

This issue will be a nonissue soon, as we drop 32bit anyway ;)

Closing this task for now.

Jens

This issue will be a nonissue soon, as we drop 32bit anyway ;) Closing this task for now. Jens
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
8 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#38266
No description provided.