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
[Crash] Coturn crash in server->send_turn_session_info (func report_turn_session_info) #368
Comments
It is mem allocation issue. |
@misi My OS: CentOS Linux release 7.3.1611 (Core) |
Check how much free memory do you have. |
I was wrong sorry. My collegue corrected me. Malloc will not die due to out of memory.
|
Here is my server architecture: processor : 1 processor : 2 processor : 3 processor : 4 processor : 5 processor : 6 processor : 7 processor : 8 processor : 9 processor : 10 processor : 11 processor : 12 processor : 13 processor : 14 processor : 15 |
Many thanks! So it is x86 64bit. |
thank misi |
|
For me it works fine.
My/etc/turnserver/turnserver.conf config.
|
Thank @misi |
Great! |
When I'm using turnutils_uclient to test for coturn server. I get error in this func
Here is text log:
Program received signal SIGABRT, Aborted.
0x00007f8a325c91d7 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007f8a325c91d7 in raise () from /lib64/libc.so.6
#1 0x00007f8a325ca8c8 in abort () from /lib64/libc.so.6
#2 0x00007f8a32608f07 in __libc_message () from /lib64/libc.so.6
#3 0x00007f8a32611d4d in _int_malloc () from /lib64/libc.so.6
#4 0x00007f8a32613fbc in malloc () from /lib64/libc.so.6
#5 0x00007f8a336a8b48 in evbuffer_chain_new (size=1880, size@entry=1832) at buffer.c:168
#6 0x00007f8a336ab7a0 in evbuffer_add (buf=0x7f89b00033a0, data_in=0x7f8a2cb30180, datlen=1832) at buffer.c:1552
#7 0x0000000000422e4a in send_turn_session_info (tsi=0x7f8a2cb30180) at src/apps/relay/turn_admin_server.c:1468
#8 0x000000000044a58d in report_turn_session_info (server=0x7f8a2cb32050, ss=0x7f8a10014840, force_invalid=0)
at src/server/ns_turn_server.c:594
#9 0x0000000000455f2b in read_client_connection (server=0x7f8a2cb32050, ss=0x7f8a10014840, in_buffer=0x7f8a2cb45308,
can_resume=1, count_usage=1) at src/server/ns_turn_server.c:4558
#10 0x0000000000456e1c in client_input_handler (s=0x7f8a10000e60, event_type=2, data=0x7f8a2cb45308,
arg=0x7f8a10014840, can_resume=1) at src/server/ns_turn_server.c:4851
#11 0x000000000045684a in open_client_connection_session (server=0x7f8a2cb32050, sm=0x7f8a2cb45300)
at src/server/ns_turn_server.c:4706
#12 0x000000000042e9fc in handle_udp_packet (server=0x7f8a2cb44e90, sm=0x7f8a2cb452f0, ioa_eng=0x7f8a2cb32200,
ts=0x7f8a2cb32050) at src/apps/relay/dtls_listener.c:470
#13 0x000000000042f570 in udp_server_input_handler (fd=211, what=2, arg=0x7f8a2cb44e90)
at src/apps/relay/dtls_listener.c:728
#14 0x00007f8a336a50b4 in event_process_active_single_queue (activeq=0x7f8a10000d30, base=0x7f8a100008f0)
at event.c:1350
#15 event_process_active (base=) at event.c:1420
#16 event_base_loop (base=0x7f8a100008f0, flags=0) at event.c:1621
#17 0x000000000041b03d in run_events (eb=0x7f8a100008f0, e=0x7f8a2cb32200) at src/apps/relay/netengine.c:1579
#18 0x000000000041b534 in run_general_relay_thread (arg=0x7f8a2cb32010) at src/apps/relay/netengine.c:1700
#19 0x00007f8a3295cdc5 in start_thread () from /lib64/libpthread.so.0
#20 0x00007f8a3268b73d in clone () from /lib64/libc.so.6
Thank you.
The text was updated successfully, but these errors were encountered: