[jitsi-dev] System.arraycopy error


#1

Hey guys,

Since I moved from Linux to Windows,I'm not able to maintain a video stream
connection. As soon as the first keyframe arrives in the recorder, I get
the following error in the VP8 DePacketizer. Please note, this is an "ALL"
level from net.sf.fmj log. Watch for the System.arraycopy error - though,
doesn't tell too much.

...
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -396138866 SeqNo=16353 s_l=16352
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -396138866 SeqNo=16354 s_l=16353
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -1086896633 SeqNo=18979 s_l=18978
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -1086896633 SeqNo=18980 s_l=18979
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger trace
FINER: Out PictureID=10879
3660 bytes received
Jan 01, 2016 10:24:05 PM live.widdler.avenue.AvenueLogger log
INFO: 38d84681-5f4d-41b0-afa5-9e3eacaa5d4c:::Received the first keyframe
(width=640; height=480) ssrc=3,208,070,663
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -396138866 SeqNo=16355 s_l=16354
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -1086896633 SeqNo=18981 s_l=18980
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: java.lang.System.arraycopy(Native Method)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:
org.jitsi.impl.neomedia.codec.video.vp8.DePacketizer.doProcess(DePacketizer.java:342)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:
org.jitsi.impl.neomedia.codec.AbstractCodec2.process(AbstractCodec2.java:459)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.BasicFilterModule.process(BasicFilterModule.java:294)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.BasicModule.connectorPushed(BasicModule.java:133)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:
net.sf.fmj.media.BasicOutputConnector.writeReport(BasicOutputConnector.java:131)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.SourceThread.process(BasicSourceModule.java:692)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.util.LoopThread.run(LoopThread.java:85)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log info
INFO: Stopping RTPSourceStream.
...

Any ideas?


#2

Hi Zoltán,

···

On 01/01/16 23:43, Zoltán Bettenbuk wrote:

Hey guys,

Since I moved from Linux to Windows,I'm not able to maintain a video
stream connection. As soon as the first keyframe arrives in the
recorder, I get the following error in the VP8 DePacketizer. Please
note, this is an "ALL" level from net.sf.fmj log. Watch for the
System.arraycopy error - though, doesn't tell too much.

...
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -396138866 SeqNo=16353 s_l=16352
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -396138866 SeqNo=16354 s_l=16353
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -1086896633 SeqNo=18979 s_l=18978
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -1086896633 SeqNo=18980 s_l=18979
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger trace
FINER: Out PictureID=10879
3660 bytes received
Jan 01, 2016 10:24:05 PM live.widdler.avenue.AvenueLogger log
INFO: 38d84681-5f4d-41b0-afa5-9e3eacaa5d4c:::Received the first keyframe
(width=640; height=480) ssrc=3,208,070,663
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -396138866 SeqNo=16355 s_l=16354
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -1086896633 SeqNo=18981 s_l=18980
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: java.lang.System.arraycopy(Native Method)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:
org.jitsi.impl.neomedia.codec.video.vp8.DePacketizer.doProcess(DePacketizer.java:342)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:
org.jitsi.impl.neomedia.codec.AbstractCodec2.process(AbstractCodec2.java:459)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.BasicFilterModule.process(BasicFilterModule.java:294)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.BasicModule.connectorPushed(BasicModule.java:133)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:
net.sf.fmj.media.BasicOutputConnector.writeReport(BasicOutputConnector.java:131)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.SourceThread.process(BasicSourceModule.java:692)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.util.LoopThread.run(LoopThread.java:85)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log info
INFO: Stopping RTPSourceStream.
...

Any ideas?

If you are able to reproduce this, can you run it with the default logger and paste the output please? I expect that System.arraycopy has thrown an exception, but your output doesn't show the details.

Regards,
Boris


#3

Hey Zoltan,

Ditto what Boris suggested. A packet dump could help as well. If I were to
guess, I'd say this is an ArrayIndexOutOfBoundsException or potentially an
NPE? It seems to come from the arraycopy call at DePacketizer.java:342. I
have no clue why it happens but you could try putting some additional debug
logs there (like the length if sequence number of the RTP packet that makes
the code to fail, length of the array etc). That combined with a packet
dump can greatly help us determine the situation.

···

-
George

On Mon, Jan 4, 2016 at 4:03 AM, Boris Grozev <boris@jitsi.org> wrote:

Hi Zoltán,

On 01/01/16 23:43, Zoltán Bettenbuk wrote:

Hey guys,

Since I moved from Linux to Windows,I'm not able to maintain a video
stream connection. As soon as the first keyframe arrives in the
recorder, I get the following error in the VP8 DePacketizer. Please
note, this is an "ALL" level from net.sf.fmj log. Watch for the
System.arraycopy error - though, doesn't tell too much.

...
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -396138866 SeqNo=16353 s_l=16352
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -396138866 SeqNo=16354 s_l=16353
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -1086896633 SeqNo=18979 s_l=18978
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -1086896633 SeqNo=18980 s_l=18979
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger trace
FINER: Out PictureID=10879
3660 bytes received
Jan 01, 2016 10:24:05 PM live.widdler.avenue.AvenueLogger log
INFO: 38d84681-5f4d-41b0-afa5-9e3eacaa5d4c:::Received the first keyframe
(width=640; height=480) ssrc=3,208,070,663
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -396138866 SeqNo=16355 s_l=16354
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM org.jitsi.util.Logger debug
FINE: Reverse transform for SSRC -1086896633 SeqNo=18981 s_l=18980
seqNumSet=true guessedROC=0 roc=0
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: java.lang.System.arraycopy(Native Method)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:

org.jitsi.impl.neomedia.codec.video.vp8.DePacketizer.doProcess(DePacketizer.java:342)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:

org.jitsi.impl.neomedia.codec.AbstractCodec2.process(AbstractCodec2.java:459)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:
net.sf.fmj.media.BasicFilterModule.process(BasicFilterModule.java:294)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.BasicModule.connectorPushed(BasicModule.java:133)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE:

net.sf.fmj.media.BasicOutputConnector.writeReport(BasicOutputConnector.java:131)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.SourceThread.process(BasicSourceModule.java:692)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log dumpStack
FINE: net.sf.fmj.media.util.LoopThread.run(LoopThread.java:85)
Jan 01, 2016 10:24:05 PM net.sf.fmj.media.Log info
INFO: Stopping RTPSourceStream.
...

Any ideas?

If you are able to reproduce this, can you run it with the default logger
and paste the output please? I expect that System.arraycopy has thrown an
exception, but your output doesn't show the details.

Regards,
Boris

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev