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

erizoController.js service crashes when the second stream is being recorded #53

Closed
pybean opened this issue Oct 30, 2013 · 2 comments
Closed
Assignees

Comments

@pybean
Copy link

pybean commented Oct 30, 2013

Everything seems fine when there is only stream is being recorded, but when there is another user connecting into the room and starts recording his own stream, the erizoController.js crashes with the core dump. Please check the log shown as below.

2013-10-30T21:16:54.343Z - info: Initialized logger
2013-10-30T21:16:54.439Z - info: Exchange rpcExchange is open
2013-10-30T21:16:54.442Z - info: ClientQueue amq.gen-wUsX3hLK5XStz2lB-cg1KJ is open
2013-10-30T21:16:54.490Z - info: Queue erizoController_4 is open
2013-10-30T21:17:34.301Z - info: Socket connect  gB0BbOcfs1HoOgu_Oer4
2013-10-30T21:17:34.349Z - info: OK, Valid token
2013-10-30T21:17:43.923Z - info: Adding publisher peer_id  62457649619318540
2013-10-30 17:17:43,924  - WARN: WebRtcConnection - WebRtcConnection constructor stunserver  stunPort 0 minPort 0 maxPort 0

2013-10-30 17:17:43,949  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:43,950  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:44,133  - WARN: dtls.SSL - error in SSLv3 read server hello A
2013-10-30 17:17:44,159  - WARN: dtls.SSL - error in SSLv3 read finished A
2013-10-30 17:17:44,176  - INFO: WebRtcConnection - Ready to send and receive media
2013-10-30T21:17:44.250Z - info: Sending message to gB0BbOcfs1HoOgu_Oer4 in room  52716799850779306a000004
2013-10-30T21:17:44.253Z - info: erizoController.js: Starting recorder streamID 62457649619318540 url /tmp/recording62457649619318540.mkv
2013-10-30T21:17:44.253Z - info: Adding ExternalOutput to 62457649619318540 url /tmp/recording62457649619318540.mkv
2013-10-30 17:17:44,253  - DEBUG: media.ExternalOutput - Created ExternalOutput to /tmp/recording62457649619318540.mkv
2013-10-30 17:17:44,255  - DEBUG: media.ExternalOutput - Initialized successfully
2013-10-30T21:17:44.255Z - info: erizoController.js: Recorder Started
2013-10-30 17:17:46,196  - DEBUG: media.ExternalOutput - Init Context
2013-10-30 17:17:46,196  - DEBUG: media.ExternalOutput - Found Codec libvpx
2013-10-30 17:17:46,196  - DEBUG: media.ExternalOutput - Initing context with fps: 7
2013-10-30 17:17:46,197  - DEBUG: media.ExternalOutput - Init audio context
2013-10-30 17:17:46,197  - DEBUG: media.ExternalOutput - Found Audio Codec pcm_mulaw
2013-10-30 17:17:46,197  - DEBUG: media.ExternalOutput - AVFORMAT CONFIGURED
2013-10-30 17:17:46,198  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30 17:17:50,216  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30 17:17:54,217  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30T21:17:58.073Z - info: Socket connect  HEmqrrUV8H70aSJ8Oer5
2013-10-30T21:17:58.115Z - info: OK, Valid token
2013-10-30 17:17:58,237  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30T21:17:58.311Z - info: Adding subscriber from  HEmqrrUV8H70aSJ8Oer5 to  62457649619318540
2013-10-30 17:17:58,311  - WARN: WebRtcConnection - WebRtcConnection constructor stunserver  stunPort 0 minPort 0 maxPort 0

2013-10-30 17:17:58,313  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30T21:17:58.313Z - info: Adding publisher peer_id  65151041350327430
2013-10-30 17:17:58,313  - WARN: WebRtcConnection - WebRtcConnection constructor stunserver  stunPort 0 minPort 0 maxPort 0

2013-10-30 17:17:58,314  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:58,315  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:58,315  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:58,918  - WARN: dtls.SSL - error in SSLv3 read server hello A
2013-10-30 17:17:58,922  - WARN: dtls.SSL - error in SSLv3 read server hello A
2013-10-30 17:17:58,927  - WARN: dtls.SSL - error in SSLv3 read finished A
2013-10-30 17:17:58,930  - WARN: dtls.SSL - error in SSLv3 read finished A
2013-10-30 17:17:58,934  - INFO: WebRtcConnection - Ready to send and receive media
2013-10-30 17:17:58,938  - INFO: WebRtcConnection - Ready to send and receive media
2013-10-30T21:17:59.015Z - info: Sending message to gB0BbOcfs1HoOgu_Oer4 in room  52716799850779306a000004
2013-10-30T21:17:59.015Z - info: Sending message to HEmqrrUV8H70aSJ8Oer5 in room  52716799850779306a000004
2013-10-30T21:17:59.018Z - info: erizoController.js: Starting recorder streamID 65151041350327430 url /tmp/recording65151041350327430.mkv
2013-10-30T21:17:59.018Z - info: Adding ExternalOutput to 65151041350327430 url /tmp/recording65151041350327430.mkv
2013-10-30 17:17:59,018  - DEBUG: media.ExternalOutput - Created ExternalOutput to /tmp/recording65151041350327430.mkv
2013-10-30 17:17:59,018  - DEBUG: media.ExternalOutput - Initialized successfully
2013-10-30T21:17:59.018Z - info: erizoController.js: Recorder Started
2013-10-30 17:18:02,011  - DEBUG: media.ExternalOutput - Init Context
2013-10-30 17:18:02,011  - DEBUG: media.ExternalOutput - Found Codec libvpx
2013-10-30 17:18:02,011  - DEBUG: media.ExternalOutput - Initing context with fps: 6
2013-10-30 17:18:02,012  - DEBUG: media.ExternalOutput - Init audio context
2013-10-30 17:18:02,012  - DEBUG: media.ExternalOutput - Found Audio Codec pcm_mulaw
2013-10-30 17:18:02,013  - DEBUG: media.ExternalOutput - AVFORMAT CONFIGURED
2013-10-30 17:18:02,013  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30 17:18:02,243  - DEBUG: media.ExternalOutput - Sending FIR
node: /usr/include/boost/thread/pthread/mutex.hpp:61: void boost::mutex::unlock(): Assertion `!pthread_mutex_unlock(&m)' failed.
Aborted (core dumped)
@jcague
Copy link
Contributor

jcague commented Oct 30, 2013

@lodoyun Seems it's a common problem since the merge of master, cleanup and media branches.

@ghost ghost assigned lodoyun Nov 6, 2013
@lodoyun
Copy link
Contributor

lodoyun commented Dec 12, 2013

Cannot reproduce it at this point.

@lodoyun lodoyun closed this as completed Dec 12, 2013
jcague added a commit to jcague/licode that referenced this issue Feb 21, 2017
Merge latest changes from ging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants