[Freeswitch-users] Freeswitch Segfaults

Anthony Minessale anthony.minessale at gmail.com
Sat Nov 9 01:55:01 MSK 2013


null rsession pointer probably.

This is not the right place to file bug reports.
http://jira.freeswitch.org  but make sure you can reproduce your problem on
the latest git HEAD.



On Fri, Nov 8, 2013 at 4:47 PM, JC <jcongdon at networxonline.com> wrote:

> Hi everyone,
>
> We've been having some server crashes lately.  We thought our most recent
> upgrade had fixed it, but unfortunately, it crashed again the other day.
>  Based on the information below, does anyone have any recommendations or
> thoughts?  Always seems to segfault.
>
> We are connected to it via RTMP from a Flash Media Server if that helps at
> all.
>
>
>
> *Crash this time:*
>
> Core was generated by `/usr/local/freeswitch/bin/freeswitch -nc -hp'.
> Program terminated with signal 11, Segmentation fault.
> #0  rtmp_send_message (rsession=0x0, amfnumber=3 '\003', timestamp=0,
> type=20 '\024', stream_id=0, message=0x2adf53c96160 "\002",
>     len=69, flags=0) at rtmp.c:562
> 562 if ((rsession->send_ack + rsession->send_ack_window) < rsession->send
> &&
>
>
>
> (gdb) bt
> #0  rtmp_send_message (rsession=0x0, amfnumber=3 '\003', timestamp=0,
> type=20 '\024', stream_id=0, message=0x2adf53c96160 "\002",
>     len=69, flags=0) at rtmp.c:562
> #1  0x00002adf4a14a0dd in rtmp_send_invoke_v (rsession=0x0, amfnumber=3
> '\003', type=20 '\024', timestamp=0, stream_id=0,
>     list=0x2adf53c969d0, freethem=SWITCH_TRUE) at rtmp.c:548
> #2  0x00002adf4a14a2c8 in rtmp_send_invoke_free (rsession=0x0, amfnumber=3
> '\003', timestamp=20, stream_id=0) at rtmp.c:507
> #3  0x00002adf4a14a429 in rtmp_notify_call_state (session=<value optimized
> out>) at rtmp.c:484
> #4  0x00002adf4a147073 in rtmp_receive_message (session=0x2adf4c33d5a8,
> msg=0x2adf53c96c90)
>     at /usr/local/src/freeswitch/src/mod/endpoints/mod_rtmp/mod_rtmp.c:549
> #5  0x00002adf42bc36cb in switch_core_session_perform_receive_message
> (session=0x2adf4c33d5a8, message=0x3,
>     file=<value optimized out>, func=<value optimized out>, line=<value
> optimized out>) at src/switch_core_session.c:801
> #6  0x00002adf42ba3bea in switch_channel_perform_pre_answer
> (channel=0x2adf4c343190, file=0x2adf42d075d8 "src/switch_core_session.c",
>     func=0x2adf42d08400
> "switch_core_session_execute_application_get_flags", line=2635) at
> src/switch_channel.c:3347
> #7  0x00002adf42bc4711 in
> switch_core_session_execute_application_get_flags (session=0x2adf4c33d5a8,
>     app=0x2adf4d533cc8 "spandsp_start_dtmf", arg=<value optimized out>,
> flags=<value optimized out>) at src/switch_core_session.c:2635
> #8  0x00002adf42bc8153 in switch_core_session_run (session=0x2adf4c33d5a8)
> at src/switch_core_state_machine.c:230
> #9  0x00002adf42bc3030 in switch_core_session_thread (thread=<value
> optimized out>, obj=0x2adf4c33d5a8)
>     at src/switch_core_session.c:1529
> #10 0x00002adf42bbf9d0 in switch_core_session_thread_pool_worker
> (thread=0x2adf545d3600, obj=<value optimized out>)
>     at src/switch_core_session.c:1621
> #11 0x00000030b000683d in start_thread () from /lib64/libpthread.so.0
> #12 0x00000030af8d4f8d in clone () from /lib64/libc.so.6
>
>
>
>
>
> *Last two times:*
>
>
> Loaded symbols for /lib64/libnss_dns.so.2
> Core was generated by `/usr/local/freeswitch/bin/freeswitch -nc -hp'.
> Program terminated with signal 11, Segmentation fault.
> #0  rtmp_send_message (rsession=0x0, amfnumber=3 '\003', timestamp=0,
> type=20 '\024', stream_id=0, message=0x2b8329b6b410 "\002", len=68,
> flags=0) at rtmp.c:562
> 562 if ((rsession->send_ack + rsession->send_ack_window) < rsession->send
> &&
>
>
> Core dump from last time:
>
>
>
> Program terminated with signal 11, Segmentation fault.
> #0  rtmp_send_message (rsession=0x0, amfnumber=3 '\003', timestamp=0,
> type=20 '\024', stream_id=0, message=0x46eaf410 "\002", len=71, flags=0) at
> rtmp.c:562
> 562 if ((rsession->send_ack + rsession->send_ack_window) < rsession->send
> &&
>
>
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131108/846e7f26/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list