[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] engine/dataflow ppm.cpp,1.156,1.157
From:       yijil () helixcommunity ! org
Date:       2013-06-27 2:46:40
[Download RAW message or body]

Update of /cvsroot/server/engine/dataflow
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv26122

Modified Files:
	ppm.cpp 
Log Message:
Committed to: HEAD, SERVER_15_1_0_RN

Reviewed by: Richard

Synopsis
========
HLXSRV-374  [Vhost][FCS]Play a realvideo file with FCS parameter will cause multiple \
CA

HLXSRV-442  [Vhost]Server reports CAs errors frequently when using realplayer play \
RTSP live stream

Branches: HEAD, SERVER_15_1_0_RN

Reviewer: Anyone

Description
===========
Stack Trace:
 0x5afdff: _Z9dump_infoiiPKciP7siginfoP8ucontext+0x4af [ffffffff 00000001 2d2d2d0a \
2d2d2d2d 2d2d2d2d 2d2d2d2d] : rmserver.bin  0x5b76d2: \
_Z12server_faultiP7siginfoP8ucontext+0x3c2 [ffffffff ffffffff ffffffff ffffffff \
ffffffff ffffffff] : rmserver.bin  0x3609e0ebe0: (null) [00000000 00000000 4ab01000 \
00002b4c 00000000 ffffffff] : libpthread.so.0  0x5d45e4: \
_ZN3PPM7Session14ResendCallback4FuncEv+0x44 [5003ef38 00002b4c 4ac00060 00002b4c \
00000000 00000000] : rmserver.bin  0x615f97: \
_ZN6ServPQ22execute_locked_elementEP10ServPQElem+0xa7 [4ac00060 00002b4c 00000001 \
00000000 00000001 00000000] : rmserver.bin  0x6f59c6: \
_ZN12ServerEngine8mainloopEi+0x556 [ffffffff ffffffff ffffffff ffffffff ffffffff \
ffffffff] : rmserver.bin  0x5b35b9: _Z17PthreadEntryPointP11thread_args+0x189 \
[18826560 00000000 4ab01000 00002b4c 00000000 00000000] : rmserver.bin  0x3609e0677d: \
(null) [4aaff930 00002b4c ffffffff ffffffff ffffffff ffffffff] : libpthread.so.0  \
0x36092d3c1d: clone+0x6d [ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff] : \
libc.so.6  Other Comments:

ROOT CAUSE:
m_pSession in ResendCallback hasn`t been initialized.

MY FIX:
Initialize m_pSession when create ResendCallback.

Files Affected
==============
server/engine/dataflow/ppm.cpp

Testing Performed
=================
Integration Tests




Index: ppm.cpp
===================================================================
RCS file: /cvsroot/server/engine/dataflow/ppm.cpp,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -d -r1.156 -r1.157
--- ppm.cpp	24 Jun 2013 09:43:07 -0000	1.156
+++ ppm.cpp	27 Jun 2013 02:46:32 -0000	1.157
@@ -6971,6 +6971,8 @@
                 pResendCB->m_pPacket      = pPacket;
                 pResendCB->m_pPacket->AddRef();
                 pResendCB->m_pZeroMe      = m_pResendIDs + m_ulResendIDPosition;
+                pResendCB->m_pSession = this;
+                pResendCB->m_pSession->AddRef();
 
                 UINT32 ulMinWaitTime;
                 if (m_ulActualDeliveryRate > 60000)


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic