Page MenuHome

Crash on .vob video import
Closed, ResolvedPublic

Description

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 :

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'

Event Timeline

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

Bastien Montagne (mont29) lowered the priority of this task from 90 to Normal.Oct 21 2014, 8:42 AM

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

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

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

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

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?

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

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