[Live-devel] live555proxy as dll library. System.AccessViolationException when server closing

Сергей Бастраков shaman.lab.x11 at gmail.com
Thu Nov 29 03:44:16 PST 2012


I found that in ProxyServerMediaSubSession.cpp:339 for
fClientMediaSubsession destructor has already been called, although further
we call fClientMediaSubsession.rtcpInstance(), which return 0x00000000.


2012/11/29 Сергей Бастраков <shaman.lab.x11 at gmail.com>

> Now, when proxy have clients and I do Medium::close(rtspServer) (after
> doEventLoop() return of course) error occur in the same place as the first
> case, when proxy haven't clients. Call stacks are same.
>        "live555proxyDLLNative.dll!RTCPInstance::setByeHandler(void (void
> *)* handlerTask, void * clientData, bool handleActiveParticipantsOnly)
>  Line 240 + 0x6 bytes C++
>   live555proxyDLLNative.dll!ProxyServerMediaSubsession::~ProxyServerMediaSubsession()
>  Line 342 C++
>   live555proxyDLLNative.dll!ProxyServerMediaSubsession::`scalar deleting
> destructor'()  + 0xf bytes C++
>   live555proxyDLLNative.dll!MediaLookupTable::remove(const char * name)
>  Line 151 + 0x21 bytes C++
>   live555proxyDLLNative.dll!Medium::close(UsageEnvironment & env, const
> char * name)  Line 54 C++
>   live555proxyDLLNative.dll!Medium::close(Medium * medium)  Line 59 +
> 0x17 bytes C++
>   live555proxyDLLNative.dll!ServerMediaSession::deleteAllSubsessions()
>  Line 195 + 0xc bytes C++
>   live555proxyDLLNative.dll!ServerMediaSession::~ServerMediaSession()
>  Line 84 C++
>   live555proxyDLLNative.dll!ProxyServerMediaSession::~ProxyServerMediaSession()
>  Line 93 + 0xf bytes C++
>   live555proxyDLLNative.dll!ProxyServerMediaSession::`scalar deleting
> destructor'()  + 0xf bytes C++
>   live555proxyDLLNative.dll!MediaLookupTable::remove(const char * name)
>  Line 151 + 0x21 bytes C++
>   live555proxyDLLNative.dll!Medium::close(UsageEnvironment & env, const
> char * name)  Line 54 C++
>   live555proxyDLLNative.dll!Medium::close(Medium * medium)  Line 59 +
> 0x17 bytes C++
>   live555proxyDLLNative.dll!RTSPServer::removeServerMediaSession(ServerMediaSession
> * serverMediaSession)  Line 74 + 0x9 bytes C++
>   live555proxyDLLNative.dll!RTSPServer::~RTSPServer()  Line 260 C++
>   live555proxyDLLNative.dll!RTSPServer::`scalar deleting destructor'()  +
> 0xf bytes C++
>   live555proxyDLLNative.dll!MediaLookupTable::remove(const char * name)
>  Line 151 + 0x21 bytes C++
>   live555proxyDLLNative.dll!Medium::close(UsageEnvironment & env, const
> char * name)  Line 54 C++
>   live555proxyDLLNative.dll!Medium::close(Medium * medium)  Line 59 +
> 0x17 bytes C++
>   live555proxyDLLNative.dll!DoLoop()  Line 50 + 0xc bytes C++"
>
>
> 2012/11/29 Ross Finlayson <finlayson at live555.com>
>
>> But second stop still generates error.
>>
>>
>> If you're still seeing a crash, even with the latest version of the
>> software, then please send us a stack trace.
>>
>>
>> And also let us know what you are doing to cause the crash to happen.
>>
>>
>> Ross Finlayson
>> Live Networks, Inc.
>> http://www.live555.com/
>>
>>
>> _______________________________________________
>> live-devel mailing list
>> live-devel at lists.live555.com
>> http://lists.live555.com/mailman/listinfo/live-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20121129/f1866642/attachment-0001.html>


More information about the live-devel mailing list