Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Testing / Bug Reports > Thread Deadlock


Posted by: ale5000 Apr 9 2011, 05:10 PM
I'm not sure if the bug is in VirtualDub or in the input plugin (or both).

Test file: http://www.multiupload.com/ARMQ853HHL

I have opened the file with the Matroska input plugin 2.8, set crop to 2x2, set compression to Xvid, audio to direct stream copy.
The encoding don't pass the first frame, look at the image: user posted image

Log:
CODE
[*] Beginning dub operation.

[i] Dub: Input (decompression) format is: XRGB8888.

[i] Dub: Output (compression) format is: XRGB8888.

[i] Dub: I/O thread has not cycled for thirty seconds -- possible livelock.
   (Thread action: stalled due to full pipe to processing thread) (Current
   address: 7C91E514)

[i] Dub: Processing thread has not cycled for thirty seconds -- possible
   livelock. (Thread action: running main loop) (Current address: 005D90F5)

[i] Dub: I/O thread has not cycled for thirty seconds -- possible livelock.
   (Thread action: stalled due to full pipe to processing thread) (Current
   address: 7C91E514)

[i] Dub: Processing thread has not cycled for thirty seconds -- possible
   livelock. (Thread action: running main loop) (Current address: 0042819B)

[i] Dub: I/O thread has not cycled for thirty seconds -- possible livelock.
   (Thread action: stalled due to full pipe to processing thread) (Current
   address: 7C91E514)

[i] Dub: Processing thread has not cycled for thirty seconds -- possible
   livelock. (Thread action: running main loop) (Current address: 005D8C69)


Status dump:
CODE
=================
Processing thread
=================

Completed:         No
Error encountered: No
Video push ended:      No
Video ended:           No
Flushing compressor:   No
Codec frames buffered: 1


The processing thread is busy and could not be suspended.


When I abort it say:
CODE
VirtualDub Internal Error
Something appears to be struck while trying to stop (thread deadlock). Abort operation and exit program?

Posted by: fccHandler Apr 9 2011, 09:42 PM
In my case it just crashes immediately, and it's not hard to reproduce. It also crashes with the test RGB color cube video.

I think it has everything to do with Xvid and the frame size, because it works fine if I choose no compression, OR if I increase the frame size to 16 x 16 with Xvid.

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)