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

Recording not working #46

Closed
frafra opened this issue Oct 24, 2013 · 7 comments
Closed

Recording not working #46

frafra opened this issue Oct 24, 2013 · 7 comments

Comments

@frafra
Copy link

frafra commented Oct 24, 2013

From Firefox JS Console:

[23:53:02.850] SyntaxError: JSON.parse: unexpected end of data @ http://frafra.ch:3001/erizo.js:137
--
[23:53:37.339] "DEBUG: " "Start Recording /tmp/recordingundefined.mkv"
[23:53:37.340] TypeError: a.socket.emit is not a function @ http://frafra.ch:3001/erizo.js:137
[23:53:38.975] "DEBUG: " "Start Recording /tmp/recordingundefined.mkv"
[23:53:38.976] TypeError: a.socket.emit is not a function @ http://frafra.ch:3001/erizo.js:137
--
[23:54:29.260] "DEBUG: " "Start Recording /tmp/recordingundefined.mkv"
@frafra
Copy link
Author

frafra commented Oct 24, 2013

I don't see if it's related, but I got this error after a while:

*** glibc detected *** node: double free or corruption (!prev): 0x00000000035dd830 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fc818475b96]
/home/frafra/./licode/scripts/../erizo/build/erizo/liberizo.so(_ZN5erizo14ExternalOutput9closeSinkEv+0x245)[0x7fc813c1cd2b]
/home/frafra/./licode/scripts/../erizo/build/erizo/liberizo.so(_ZN5erizo18OneToManyProcessor8closeAllEv+0x6f)[0x7fc813c46393]
/home/frafra/./licode/scripts/../erizo/build/erizo/liberizo.so(_ZN5erizo18OneToManyProcessorD1Ev+0x3e)[0x7fc813c4543c]
/home/frafra/./licode/scripts/../erizo/build/erizo/liberizo.so(_ZN5erizo18OneToManyProcessorD0Ev+0x18)[0x7fc813c45520]
/home/frafra/licode/erizoAPI/build/Release/addon.node(_ZN18OneToManyProcessor5closeERKN2v89ArgumentsE+0x55)[0x7fc8181ef505]
node[0x70bb6b]
[0xbb045406362]
======= Memory map: ========
00400000-00bd7000 r-xp 00000000 fd:02 7361491                            /usr/bin/nodejs
00dd6000-00dd7000 r-xp 007d6000 fd:02 7361491                            /usr/bin/nodejs
00dd7000-00dec000 rwxp 007d7000 fd:02 7361491                            /usr/bin/nodejs
00dec000-00df4000 rwxp 00000000 00:00 0 
0223e000-03976000 rwxp 00000000 00:00 0                                  [heap]
25d0354000-25d0355000 r-xp 00000000 00:00 0 
3167da00000-3167da25000 rwxp 00000000 00:00 0 
58323b00000-58323c00000 rwxp 00000000 00:00 0 
bb0453d1000-bb045400000 ---p 00000000 00:00 0 
bb045400000-bb045405000 rwxp 00000000 00:00 0 
bb045405000-bb045406000 ---p 00000000 00:00 0 
bb045406000-bb0454ff000 rwxp 00000000 00:00 0 
bb0454ff000-bb045500000 ---p 00000000 00:00 0 
bb045500000-bb045505000 rwxp 00000000 00:00 0 
bb045505000-bb045506000 ---p 00000000 00:00 0 
bb045506000-bb0455ff000 rwxp 00000000 00:00 0 
bb0455ff000-bb045700000 ---p 00000000 00:00 0 
bb045700000-bb045705000 rwxp 00000000 00:00 0 
bb045705000-bb045706000 ---p 00000000 00:00 0 
bb045706000-bb0457ff000 rwxp 00000000 00:00 0 
bb0457ff000-bb045800000 ---p 00000000 00:00 0 
bb045800000-bb045805000 rwxp 00000000 00:00 0 
bb045805000-bb045806000 ---p 00000000 00:00 0 
bb045806000-bb0458ff000 rwxp 00000000 00:00 0 
bb0458ff000-bb0653d1000 ---p 00000000 00:00 0 
c3731d00000-c3731e00000 rwxp 00000000 00:00 0 
c667d400000-c667d500000 rwxp 00000000 00:00 0 
105f8f843000-105f8f844000 r-xp 00000000 00:00 0 
17bad1400000-17bad1425000 rwxp 00000000 00:00 0 
17c6b1a00000-17c6b1b00000 rwxp 00000000 00:00 0 
17e574600000-17e574700000 rwxp 00000000 00:00 0 
1b97d9220000-1b97d9221000 r-xp 00000000 00:00 0 
23601deb0000-23601deb1000 r-xp 00000000 00:00 0 
2419012dc000-241901300000 ---p 00000000 00:00 0 
241901300000-241901320000 rwxp 00000000 00:00 0 
241901320000-24190133c000 ---p 00000000 00:00 0 
2709ffcad000-2709ffcae000 r-xp 00000000 00:00 0 
299306000000-299306c00000 ---p 00000000 00:00 0 
299306c00000-299307000000 rwxp 00000000 00:00 0 
299307000000-299307c00000 ---p 00000000 00:00 0 
299307c00000-299308000000 rwxp 00000000 00:00 0 
2b51bef95000-2b51bf195000 rwxp 00000000 00:00 0 
35fbb3100000-35fbb3135000 rwxp 00000000 00:00 0 
3c93e4f00000-3c93e5000000 rwxp 00000000 00:00 0 
3cf6e0800000-3cf6e0885000 rwxp 00000000 00:00 0 
7fc7e8000000-7fc7e835b000 rwxp 00000000 00:00 0 
7fc7e835b000-7fc7ec000000 ---p 00000000 00:00 0 
7fc7ec000000-7fc7ec059000 rwxp 00000000 00:00 0 
7fc7ec059000-7fc7f0000000 ---p 00000000 00:00 0 
7fc7f0dfb000-7fc7f0dfc000 ---p 00000000 00:00 0 
7fc7f0dfc000-7fc7f17fc000 rwxp 00000000 00:00 0 
7fc7f17fc000-7fc7f17fd000 ---p 00000000 00:00 0 
7fc7f17fd000-7fc7f21fd000 rwxp 00000000 00:00 0 
7fc7f21fd000-7fc7f21fe000 ---p 00000000 00:00 0 
7fc7f21fe000-7fc7f2bfe000 rwxp 00000000 00:00 0 
7fc7f2bfe000-7fc7f2bff000 ---p 00000000 00:00 0 
7fc7f2bff000-7fc7f35ff000 rwxp 00000000 00:00 0 
7fc7f35ff000-7fc7f3600000 ---p 00000000 00:00 0 
7fc7f3600000-7fc7f4000000 rwxp 00000000 00:00 0 
7fc7f4000000-7fc7f41d4000 rwxp 00000000 00:00 0 
7fc7f41d4000-7fc7f8000000 ---p 00000000 00:00 0 
7fc7f8000000-7fc7f82a1000 rwxp 00000000 00:00 0 
7fc7f82a1000-7fc7fc000000 ---p 00000000 00:00 0 
7fc7fc000000-7fc7fc15f000 rwxp 00000000 00:00 0 
7fc7fc15f000-7fc800000000 ---p 00000000 00:00 0 
7fc800000000-7fc800049000 rwxp 00000000 00:00 0 
7fc800049000-7fc804000000 ---p 00000000 00:00 0 
7fc8043fa000-7fc8043fb000 ---p 00000000 00:00 0 
7fc8043fb000-7fc804dfb000 rwxp 00000000 00:00 0 
7fc804dfb000-7fc804dfc000 ---p 00000000 00:00 0 
7fc804dfc000-7fc8057fc000 rwxp 00000000 00:00 0 
7fc8057fc000-7fc8057fd000 ---p 00000000 00:00 0 
7fc8057fd000-7fc8061fd000 rwxp 00000000 00:00 0 
7fc8061fd000-7fc8061fe000 ---p 00000000 00:00 0 
7fc8061fe000-7fc806bfe000 rwxp 00000000 00:00 0 
7fc806bfe000-7fc806bff000 ---p 00000000 00:00 0 
7fc806bff000-7fc8075ff000 rwxp 00000000 00:00 0 
7fc8075ff000-7fc807600000 ---p 00000000 00:00 0 
7fc807600000-7fc808000000 rwxp 00000000 00:00 0 
7fc808000000-7fc808021000 rwxp 00000000 00:00 0 
7fc808021000-7fc80c000000 ---p 00000000 00:00 0 
7fc80c774000-7fc80c775000 ---p 00000000 00:00 0 
7fc80c775000-7fc80d175000 rwxp 00000000 00:00 0 
7fc80d175000-7fc80d181000 r-xp 00000000 fd:02 7744357                    /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fc80d181000-7fc80d380000 ---p 0000c000 fd:02 7744357                    /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fc80d380000-7fc80d381000 r-xp 0000b000 fd:02 7744357                    /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fc80d381000-7fc80d382000 rwxp 0000c000 fd:02 7744357                    /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fc80d382000-7fc80d383000 ---p 00000000 00:00 0 
7fc80d383000-7fc80dd83000 rwxp 00000000 00:00 0 
7fc80dd83000-7fc80dd84000 ---p 00000000 00:00 0 
7fc80dd84000-7fc80e784000 rwxp 00000000 00:00 0 
7fc80e784000-7fc80e785000 ---p 00000000 00:00 0 
7fc80e785000-7fc80f185000 rwxp 00000000 00:00 0 
7fc80f185000-7fc80f186000 ---p 00000000 00:00 0 
7fc80f186000-7fc80fb86000 rwxp 00000000 00:00 0 
7fc80fb86000-7fc80fb8a000 r-xp 00000000 fd:02 7753553                    /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fc80fb8a000-7fc80fd89000 ---p 00004000 fd:02 7753553                    /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fc80fd89000-7fc80fd8a000 r-xp 00003000 fd:02 7753553                    /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fc80fd8a000-7fc80fd8b000 rwxp 00004000 fd:02 7753553                    /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fc80fd8b000-7fc80fdb2000 r-xp 00000000 fd:02 7752627                    /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7fc80fdb2000-7fc80ffb2000 ---p 00027000 fd:02 7752627                    /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7fc80ffb2000-7fc80ffb4000 r-xp 00027000 fd:02 7752627                    /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7fc80ffb4000-7fc80ffb5000 rwxp 00029000 fd:02 7752627                    /lib/x86_64-linux-gnu/libexpat.so.1.5.2
7fc80ffb5000-7fc80ffbe000 r-xp 00000000 fd:02 7744347                    /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fc80ffbe000-7fc8101be000 ---p 00009000 fd:02 7744347                    /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fc8101be000-7fc8101bf000 r-xp 00009000 fd:02 7744347                    /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fc8101bf000-7fc8101c0000 rwxp 0000a000 fd:02 7744347                    /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fc8101c0000-7fc8101ee000 rwxp 00000000 00:00 0 
7fc8101ee000-7fc810206000 r-xp 00000000 fd:02 7744359                    /lib/x86_64-linux-gnu/libresolv-2.15.so

@lodoyun
Copy link
Contributor

lodoyun commented Oct 25, 2013

Are you using the BasicExample?
I understand you are using firefox. Any additional information on the scenario you are running=

/tmp/recordingundefined.mkv -> that undefined does not look good at all and yes, that might be related to the crash.
Basically, the stream that is supposed to be recorded is "undefined".

@frafra
Copy link
Author

frafra commented Oct 25, 2013

Firefox allows you to share just the audio or video, evenif the
request is for both. Maybe this option is not considered.
I'm using basicExample.

@jcague
Copy link
Contributor

jcague commented Oct 25, 2013

Hi Francesco,

Exactly, this option is not implemented in Licode's recording yet, but
we'll implement it during the next weeks.

Cheers,
Javier.

On 25 October 2013 11:15, Francesco Frassinelli notifications@github.comwrote:

Firefox allows you to share just the audio or video, evenif the
request is for both. Maybe this option is not considered.

2013/10/25, Pedro Rodriguez notifications@github.com:

Are you using the BasicExample?
I understand you are using firefox. Any additional information on the
scenario you are running=

/tmp/recordingundefined.mkv -> that undefined does not look good at all
and
yes, that might be related to the crash.
Basically, the stream that is supposed to be recorded is "undefined".


Reply to this email directly or view it on GitHub:
#46 (comment)

http://goo.gl/MVTrc


Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-27076022
.

@macks22
Copy link

macks22 commented Feb 3, 2014

Was this ever resolved? I'm getting the same issue while using the Basic Example in Firefox:

TypeError: a.socket.emit is not a function erizo.js:139
"DEBUG: " "Start Recording /tmp/recordingundefined.mkv" erizo.js:152

Unminified:

TypeError: that.socket.emit is not a function erizo.js (line 5519)
that.socket.emit(type, msg, function (respType, msg) {

@moathhowari
Copy link

i cant find tmp directory, i found one at home/tmp .. but it doesn't contain mkv files, and the logs didn't display any exception please can you tell me where that directory thanks/

@jcague
Copy link
Contributor

jcague commented Aug 13, 2014

Seems to be resolved with the new branch.

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

5 participants