Crash on .vob video import #42325

Closed
opened 2014-10-21 04:51:30 +02:00 by rdeterre · 18 comments
rdeterre commented 2014-10-21 04:51:30 +02:00 (Migrated from localhost:3001)

System Information
OS X 10.9.4, macbook pro retina mid 2012, NVIDIA GeForce GT 650M 1024 MB
Fedora 20, kernel version 3.15.8-200, x86_64

Blender Version
Broken: 2.72a, hash 73f5a41 on OS X
Worked: 2.72a, hash 73f5a41 on Linux

Short description of error
Blender crashed on OS X when importing the attached video. Everything works on Linux. The OS X crash log is attached :test.vob

Exact steps for others to reproduce the error

  1. Open new project on OS X's Blender
  2. Open a video sequence editor window
  3. Import 'test.vob' crash_log
**System Information** OS X 10.9.4, macbook pro retina mid 2012, NVIDIA GeForce GT 650M 1024 MB Fedora 20, kernel version 3.15.8-200, x86_64 **Blender Version** Broken: 2.72a, hash 73f5a41 on OS X Worked: 2.72a, hash 73f5a41 on Linux **Short description of error** Blender crashed on OS X when importing the attached video. Everything works on Linux. The OS X crash log is attached :[test.vob](https://archive.blender.org/developer/F118730/test.vob) **Exact steps for others to reproduce the error** 1. Open new project on OS X's Blender 2. Open a video sequence editor window 3. Import 'test.vob' [crash_log](https://archive.blender.org/developer/F118729/crash_log)
rdeterre commented 2014-10-21 04:51:30 +02:00 (Migrated from localhost:3001)
Author

Changed status to: 'Open'

Changed status to: 'Open'
rdeterre commented 2014-10-21 04:51:30 +02:00 (Migrated from localhost:3001)
Author

Added subscriber: @rdeterre

Added subscriber: @rdeterre

Added subscriber: @kevindietrich

Added subscriber: @kevindietrich

Added subscribers: @jensverwiebe, @mont29

Added subscribers: @jensverwiebe, @mont29

Looks like a threading issue in ILM libs… Jens, any idea?

Looks like a threading issue in ILM libs… Jens, any idea?
Member

Hmm, again such an odd issue ?
I can import or drag this file without any issue as
well as playing it.

Atm. on 10.10 MAcPro AMD ...

We need better crashlog.

Jens

Hmm, again such an odd issue ? I can import or drag this file without any issue as well as playing it. Atm. on 10.10 MAcPro AMD ... We need better crashlog. Jens

Added subscribers: @ThomasDinges, @Sergey

Added subscribers: @ThomasDinges, @Sergey

@ThomasDinges, are you able to reproduce this one?

@ThomasDinges, are you able to reproduce this one?

Cannot reproduce the crash. 80b4413 on my Macbook Pro.

Cannot reproduce the crash. 80b4413 on my Macbook Pro.
rdeterre commented 2014-10-21 20:19:35 +02:00 (Migrated from localhost:3001)
Author

Is there a way I can generate a different crash log that would be more helpful?

Is there a way I can generate a different crash log that would be more helpful?
Member

Depends ... do you have the developertools installed ?

If so use either lldb on the blebder binary or better do a debug build in xcode and paste log aka bt.

Jens

Depends ... do you have the developertools installed ? If so use either lldb on the blebder binary or better do a debug build in xcode and paste log aka bt. Jens
rdeterre commented 2014-10-22 02:59:41 +02:00 (Migrated from localhost:3001)
Author

Here is what I get when I start blender with lldb :

MyMacBook:~ rdeterre$ lldb /Applications/Blender/blender.app/Contents/MacOS/blender 
(lldb) target create "/Applications/Blender/blender.app/Contents/MacOS/blender"
Current executable set to '/Applications/Blender/blender.app/Contents/MacOS/blender' (x86_64).
(lldb) r
Process 15318 launched: '/Applications/Blender/blender.app/Contents/MacOS/blender' (x86_64)
ndof: 3Dx driver not found
found bundled python: /Applications/Blender/blender.app/Contents/MacOS/../Resources/2.72/python
drop file /Volumes/Untitled/test.vob
not an anim: /Volumes/Untitled/test.vob
Process 15318 stopped
* thread #1: tid = 0x819b3, 0x00007fff94c98091 libobjc.A.dylib`objc_msgSend + 17, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x4)
    frame #0: 0x00007fff94c98091 libobjc.A.dylib`objc_msgSend + 17
libobjc.A.dylib`objc_msgSend + 17:
-> 0x7fff94c98091:  movq   (%rdi), %r11
   0x7fff94c98094:  movq   %rsi, %r10
   0x7fff94c98097:  andl   0x18(%r11), %r10d
   0x7fff94c9809b:  shlq   $0x4, %r10
(lldb) 

Should I run any other lldb command to give more info?

Here is what I get when I start blender with lldb : ``` MyMacBook:~ rdeterre$ lldb /Applications/Blender/blender.app/Contents/MacOS/blender (lldb) target create "/Applications/Blender/blender.app/Contents/MacOS/blender" Current executable set to '/Applications/Blender/blender.app/Contents/MacOS/blender' (x86_64). (lldb) r Process 15318 launched: '/Applications/Blender/blender.app/Contents/MacOS/blender' (x86_64) ndof: 3Dx driver not found found bundled python: /Applications/Blender/blender.app/Contents/MacOS/../Resources/2.72/python drop file /Volumes/Untitled/test.vob not an anim: /Volumes/Untitled/test.vob Process 15318 stopped * thread #1: tid = 0x819b3, 0x00007fff94c98091 libobjc.A.dylib`objc_msgSend + 17, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x4) frame #0: 0x00007fff94c98091 libobjc.A.dylib`objc_msgSend + 17 libobjc.A.dylib`objc_msgSend + 17: -> 0x7fff94c98091: movq (%rdi), %r11 0x7fff94c98094: movq %rsi, %r10 0x7fff94c98097: andl 0x18(%r11), %r10d 0x7fff94c9809b: shlq $0x4, %r10 (lldb) ``` Should I run any other lldb command to give more info?
Member

Okay, was able to reproduce, you just forgot to do an bt afterwards ....

(lldb) bt
* thread #1: tid = 0x2435, 0x00007fff8cfb9097 libobjc.A.dylib`objc_msgSend + 23, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
  * frame #0: 0x00007fff8cfb9097 libobjc.A.dylib`objc_msgSend + 23
    frame #1: 0x00000001009bd051 blender`free_anim_quicktime + 113
    frame #2: 0x000000010097fec9 blender`IMB_free_anim + 73
    frame #3: 0x000000010081f987 blender`openanim + 103
    frame #4: 0x00000001008d1b37 blender`BKE_sequencer_add_movie_strip + 167
    frame #5: 0x000000010047203d blender`sequencer_add_generic_strip_exec + 701
    frame #6: 0x0000000100176676 blender`wm_operator_invoke + 390
    frame #7: 0x0000000100175c50 blender`wm_handlers_do_intern + 1328
    frame #8: 0x0000000100172cc9 blender`wm_handlers_do + 25
    frame #9: 0x000000010017278a blender`wm_event_do_handlers + 2442
    frame #10: 0x000000010016d9d0 blender`WM_main + 32
    frame #11: 0x0000000100169800 blender`main + 1408
    frame #12: 0x0000000100002434 blender`start + 52
(lldb) 

But now the clou: if i download your file i get an test.vob.mpg !!!
On 0SX 10,10 it was test.vob ( but i think there only the extender was hidden, to be checked over )
If i rename vob.mpg to .vob i can reproduce this crash !

The issue seems to be .vb ( any unknown fileformat ? ) not handled right here.
I also wonder why both IMB and qtkit tries to free the memory here, thats imho
why qtkit crashes on freeing already freed buffer.

Workaround for you: rename the vob to von.mpg ( you see it'S right by seing an iconized preview in finder )

I need a bit time to investigate this and also compare to other sys.

Jens

Okay, was able to reproduce, you just forgot to do an bt afterwards .... ``` (lldb) bt * thread #1: tid = 0x2435, 0x00007fff8cfb9097 libobjc.A.dylib`objc_msgSend + 23, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18) * frame #0: 0x00007fff8cfb9097 libobjc.A.dylib`objc_msgSend + 23 frame #1: 0x00000001009bd051 blender`free_anim_quicktime + 113 frame #2: 0x000000010097fec9 blender`IMB_free_anim + 73 frame #3: 0x000000010081f987 blender`openanim + 103 frame #4: 0x00000001008d1b37 blender`BKE_sequencer_add_movie_strip + 167 frame #5: 0x000000010047203d blender`sequencer_add_generic_strip_exec + 701 frame #6: 0x0000000100176676 blender`wm_operator_invoke + 390 frame #7: 0x0000000100175c50 blender`wm_handlers_do_intern + 1328 frame #8: 0x0000000100172cc9 blender`wm_handlers_do + 25 frame #9: 0x000000010017278a blender`wm_event_do_handlers + 2442 frame #10: 0x000000010016d9d0 blender`WM_main + 32 frame #11: 0x0000000100169800 blender`main + 1408 frame #12: 0x0000000100002434 blender`start + 52 (lldb) ``` But now the clou: if i download your file i get an test.vob.mpg !!! On 0SX 10,10 it was test.vob ( but i think there only the extender was hidden, to be checked over ) If i rename vob.mpg to .vob i can reproduce this crash ! The issue seems to be .vb ( any unknown fileformat ? ) not handled right here. I also wonder why both IMB and qtkit tries to free the memory here, thats imho why qtkit crashes on freeing already freed buffer. Workaround for you: rename the vob to von.mpg ( you see it'S right by seing an iconized preview in finder ) I need a bit time to investigate this and also compare to other sys. Jens
Member

EDIT: also on 10.10 the dl'ed file is a test.vob.mpg ( was sure it wasn't yesterday )
I now hace to check how unknown files are handled and correct if there is an issue.

Stay tuned ....

Jens

EDIT: also on 10.10 the dl'ed file is a test.vob.mpg ( was sure it wasn't yesterday ) I now hace to check how unknown files are handled and correct if there is an issue. Stay tuned .... Jens
Author

This issue was referenced by 74f40a5217

This issue was referenced by 74f40a5217c9c72447a80881c192de72577e869c
Member

Changed status from 'Open' to: 'Resolved'

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

Closed by commit 74f40a5217.

Closed by commit 74f40a5217.
Member

Fixed in master.

Jens

Fixed in master. 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
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#42325
No description provided.