Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault on stop() if client is connected #74

Open
segfaultxavi opened this issue Aug 26, 2015 · 0 comments
Open

segfault on stop() if client is connected #74

segfaultxavi opened this issue Aug 26, 2015 · 0 comments
Labels

Comments

@segfaultxavi
Copy link
Contributor

In testdemuxer. Run this command:
./testdemuxer -r rtmp://live.hkstv.hk.lxdns.com/live/hks
When the stream starts, attach VLC to the produced mpegts stream. Then, go back to the testdemuxer console and hit Ctrl-C (while VLC is still playing):

#0  0x00000000 in ?? ()
#1  0xb7ba0835 in RTSPServer::stopTCPStreamingOnSocket(int) () from /usr/local/lib/libliveMedia.so.46
#2  0xb7ba091c in RTSPServer::RTSPClientConnection::closeSocketsRTSP() () from /usr/local/lib/libliveMedia.so.46
#3  0xb7ba2d79 in RTSPServer::RTSPClientConnection::~RTSPClientConnection() () from /usr/local/lib/libliveMedia.so.46
#4  0xb7ba2ddc in RTSPServer::RTSPClientConnection::~RTSPClientConnection() () from /usr/local/lib/libliveMedia.so.46
#5  0xb7b9dcc1 in GenericMediaServer::~GenericMediaServer() () from /usr/local/lib/libliveMedia.so.46
#6  0xb7b9eb2d in RTSPServer::~RTSPServer() () from /usr/local/lib/libliveMedia.so.46
#7  0xb7b9eb6c in RTSPServer::~RTSPServer() () from /usr/local/lib/libliveMedia.so.46
#8  0xb7b708f2 in MediaLookupTable::remove(char const*) () from /usr/local/lib/libliveMedia.so.46
#9  0xb7b70b7b in Medium::close(UsageEnvironment&, char const*) () from /usr/local/lib/libliveMedia.so.46
#10 0xb7b70ba9 in Medium::close(Medium*) () from /usr/local/lib/libliveMedia.so.46
#11 0xb7f75429 in SinkManager::stop (this=this@entry=0x8060a80) at modules/liveMediaOutput/SinkManager.cpp:105
#12 0xb7f75467 in SinkManager::~SinkManager (this=0x8060a80, __in_chrg=<optimized out>) at modules/liveMediaOutput/SinkManager.cpp:74
#13 0xb7f7551c in SinkManager::~SinkManager (this=0x8060a80, __in_chrg=<optimized out>) at modules/liveMediaOutput/SinkManager.cpp:78
#14 0xb7fa7457 in PipelineManager::stop (this=0x8053e48) at PipelineManager.cpp:85
#15 0x0804a383 in main (argc=3, argv=0xbffff2f4) at tests/testDemuxer.cpp:130

I am not sure if this is a problem in testdemuxer or somewhere else (the backtrace does not point to the demuxer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant