Skip to main content

DVR - Recording with Multi Tuner - Deadlock Scenario

1 reply [Last post]
mmsjc
Offline
Joined: 2009-10-21
Points: 0

The following test scenario on OCAP RI (Linux port, JAVA 1.4) leads to a deadlock.

1. Tune to Freq1 (Tuner1, Chn1) and present the Service (Watch Video)

2. While presenting Chn1 do an instant recording on a Tuner2, Freq2 (Ch2).
(You may need a suitable test app to do this kind of testing).
This operation leads to JAVA stack level deadlock.

(StartBuffering and CovertStart is successful in MPEOS level).

There is no deadlock if we do a scheduled recording (say start recording after 1 min) instead of instant recording as stated in step2.

One of the synchronize methods in "RecordingContentItemLocal.java" is causing this deadlock. Deadlock may not happen if the platform uses Java 1.5 or above.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cpratt
Offline
Joined: 2008-12-18
Points: 0

Could you go ahead and file a bug for this via https://ocap-ri.dev.java.net/issues/enter_bug.cgi?issue_type=DEFECT?

If you have stack/monitor dumps, that would be appreciated for verification - in case we can't easily reproduce...