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

Craching on stopRecoarding #37

Closed
dennismartensson opened this issue Oct 9, 2013 · 14 comments
Closed

Craching on stopRecoarding #37

dennismartensson opened this issue Oct 9, 2013 · 14 comments
Labels

Comments

@dennismartensson
Copy link
Contributor

Hi I have the media brunch up and running. When i use startRecording every thing looks okej but when I try to stop the recording it craches. Any suggestions on what I am missing? Can it be a path problem? Can I get you some more logs or do some tests that helps you solve it?

erizoController.js: Starting recorder streamID 21556292753666640 url /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
Adding ExternalOutput to 21556292753666640 url /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
erizoController.js: Recorder Started
Video SDP done.
Audio SDP done.
Getting SDP
sdp local
v=0
o=- 0 0 IN IP4 127.0.0.1
s=
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS Ai9usryZuV
m=audio 39041 RTP/SAVPF 0 126
c=IN IP4 192.168.131.60
a=rtcp:39041 IN IP4 192.168.131.60
a=candidate:2 1 udp 2013266431 192.168.131.60 39041 typ host generation 0
a=candidate:3 1 udp 2013266431 178.79.183.200 60209 typ host generation 0
a=ice-ufrag:mJ6p
a=ice-pwd:q2KOgeHZYz4ftGonA3JgTG
a=fingerprint:sha-256 3A:C7:F1:17:79:F9:65:15:12:F7:FB:58:5F:D4:D2:75:14:16:18:A8:30:8B:1B:1B:86:5B:85:AD:59:41:97:86
a=sendrecv
a=mid:audio
a=rtcp-mux
a=rtpmap:0 PCMU/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:44444 cname:o/i14u9pJrxRKAsu
a=ssrc:44444 msid:Ai9usryZuV a0
a=ssrc:44444 mslabel:Ai9usryZuV
a=ssrc:44444 label:Ai9usryZuVa0
m=video 39041 RTP/SAVPF 100
c=IN IP4 192.168.131.60
a=rtcp:39041 IN IP4 192.168.131.60
a=candidate:2 1 udp 2013266431 192.168.131.60 39041 typ host generation 0
a=candidate:3 1 udp 2013266431 178.79.183.200 60209 typ host generation 0
a=ice-ufrag:mJ6p
a=ice-pwd:q2KOgeHZYz4ftGonA3JgTG
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=fingerprint:sha-256 3A:C7:F1:17:79:F9:65:15:12:F7:FB:58:5F:D4:D2:75:14:16:18:A8:30:8B:1B:1B:86:5B:85:AD:59:41:97:86
a=sendrecv
a=mid:video
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=ssrc:55543 cname:o/i14u9pJrxRKAsu
a=ssrc:55543 msid:Ai9usryZuV v0
a=ssrc:55543 mslabel:Ai9usryZuV
a=ssrc:55543 label:Ai9usryZuVv0

Created ExternalOutput to /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
externalouput init end
Adding subscriber
From 847264423, 3072807087
Subscribers ssrcs: Audio 847264423, video, 3072807087 from 847264423, 3072807087
adding fbsource************************************************

cb_component_state_changed 1 - 5
Ice Component failed
New NICE state 5 0 1
erizoController.js: Stoping recorder to streamId 21556292753666640 url /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
Stopping ExternalOutput: url /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
error: Forever detected script was killed by signal: SIGSEGV

Thanks

Dennis

@dennismartensson
Copy link
Contributor Author

Any one have any ide about this problem? Or how I can continue to find it?

@faishal
Copy link

faishal commented Oct 10, 2013

@dennismartensson facing the same issue.

@dennismartensson
Copy link
Contributor Author

Do any one from the core licode team have any ide on how to find the problem?

@dennismartensson
Copy link
Contributor Author

@faishal Have you found a solution?

@jcague
Copy link
Contributor

jcague commented Oct 11, 2013

Is this crashing occasional?

@dennismartensson
Copy link
Contributor Author

It have happend every time I called stop. Can I do any thing to help provide a fix for this? Any logg I can extract?

@jcague
Copy link
Contributor

jcague commented Oct 11, 2013

I had the same issue in only two tests this week. And I couldn't found the origin. Can you tell us the system, ubuntu version and if you are using 64 or 32 bits?

Thanks!

@dennismartensson
Copy link
Contributor Author

Okej, hmm. I am using ubuntu 12.04 LTS 64 bit, I did have some problems with openssl and had to make it manually this is in issue #34

Can there be a problem with some path of some dependency?

@dennismartensson
Copy link
Contributor Author

Sens you have a problem reproducing and I have a setup where I can reproduce please let me know what I can do to help.

@peili
Copy link
Contributor

peili commented Oct 12, 2013

I am facing the same problem.

@faishal
Copy link

faishal commented Oct 14, 2013

@dennismartensson No, i also try to install it on fresh setup and facing #34. :(

@lodoyun
Copy link
Contributor

lodoyun commented Oct 21, 2013

We have solved a potential problem in 80cc895
It does not crash in our tests now

@faishal
Copy link

faishal commented Oct 23, 2013

@lodoyun still crashing !! and also not creating any recording file (some time its creat) checked on ubuntu 12.04

115.115.82.210 - - [Wed, 23 Oct 2013 10:12:30 GMT] "POST /createToken/ HTTP/1.1" 200 184 "http://162.243.49.114:3001/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36"
2013-10-23T10:12:35.584Z - info: Socket connect  8hDobpxHkYT-aITlzG8b
Consumed token  5267a10edc41eaf613000002 from room  5267a0f1dc41eaf613000001  of service  5267a0d00eb84fe2a75f1594
2013-10-23T10:12:35.842Z - info: OK, Valid token
2013-10-23T10:12:36.375Z - info: Adding publisher peer_id  84999966621398930
2013-10-23 10:12:36,376  - WARN: WebRtcConnection - WebRtcConnection constructor stunserver  stunPort 0 minPort 0 maxPort 0

2013-10-23 10:12:36,479  - INFO: NiceConnection - candidate_gathering done with 1 candidates
2013-10-23 10:12:36,480  - INFO: NiceConnection - candidate_gathering done with 1 candidates
2013-10-23T10:12:51.446Z - info: erizoController.js: Starting recorder streamID 84999966621398930 url /tmp/recording84999966621398930.mkv
2013-10-23T10:12:51.447Z - info: Adding ExternalOutput to 84999966621398930 url /tmp/recording84999966621398930.mkv
2013-10-23 10:12:51,447  - DEBUG: media.ExternalOutput - Created ExternalOutput to /tmp/recording84999966621398930.mkv
2013-10-23 10:12:51,449  - DEBUG: media.ExternalOutput - externalouput init end
2013-10-23T10:12:51.449Z - info: erizoController.js: Recorder Started

root@test:/tmp# ls
hsperfdata_root  mongodb-27017.sock 

root@test:/tmp# 2013-10-23T10:13:21.960Z - info: erizoController.js: Stoping recorder to streamId 84999966621398930 url /tmp/recording84999966621398930.mkv
2013-10-23T10:13:21.960Z - info: Stopping ExternalOutput: url /tmp/recording84999966621398930.mkv
2013-10-23 10:13:21,960  - DEBUG: media.ExternalOutput - ExternalOutput::closeSink

root@test:/tmp# ls
hsperfdata_root  mongodb-27017.sock
root@test:/tmp# ErizoController 1  in  162.243.49.114 does not respond. Deleting it.
[CLOUD HANDLER]: Warning! No erizoController is available.

@lodoyun
Copy link
Contributor

lodoyun commented Oct 24, 2013

Fixed and tested in our environment in commit 7930b5f

@lodoyun lodoyun closed this as completed Oct 24, 2013
jcague pushed a commit to jcague/licode that referenced this issue Feb 21, 2017
Merge ging:master to development
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

5 participants