[Freeswitch-dev] Sipx TLS connections make Freeswitch crash

barisyanar barisyanar at gmail.com
Wed Jun 1 15:52:37 MSD 2011


Problem still exists with the new head: FreeSWITCH version: 1.0.head
(git-43a5af7 2011-05-30 12-27-01 -0400)

Siptrace:

http://pastebin.com/qtZdYepW

<http://pastebin.com/qtZdYepW>Core trace output:

http://pastebin.freeswitch.org/16420

On Tue, May 31, 2011 at 5:10 PM, Peter Olsson <
peter.olsson at visionutveckling.se> wrote:

> That’s not latest git head. Try latest, if it still occurs, report a bug in
> Jira.
>
>
>
> /Peter
>
>
>
>
>
> *Från:* freeswitch-dev-bounces at lists.freeswitch.org [mailto:
> freeswitch-dev-bounces at lists.freeswitch.org] *För *barisyanar
> *Skickat:* den 31 maj 2011 14:10
> *Till:* freeswitch-dev at lists.freeswitch.org
> *Ämne:* Re: [Freeswitch-dev] Sipx TLS connections make Freeswitch crash
>
>
>
> sorry, i ran script at wrong place. here is the new link:
>
> http://pastebin.freeswitch.org/16418
>
>
>
> and the siptrace is here - after printing fs_cli closes:
>
>
>
> http://pastebin.com/dCCEvUEL
>
> On Tue, May 31, 2011 at 2:42 PM, Steven Ayre <steveayre at gmail.com> wrote:
>
> Unfortunately that coredump doesn't show anything useful:
>
> #0  0x0000003efcf1fc98 in ?? ()
>
> #1  0x00007fbe0eb43913 in ?? ()
>
> #2  0x00007fbdf8016628 in ?? ()
>
> #3  0x0000000000000001 in ?? ()
>
> #4  0x0000000000000003 in ?? ()
>
> #5  0x00007fbe0eb4536b in ?? ()
>
> #6  0x00007fbdf801b160 in ?? ()
>
> #7  0x0000000000bdc8c0 in ?? ()
>
> #8  0x0000000000bdc8c0 in ?? ()
>
> #9  0x00007fbdfc0064d8 in ?? ()
>
> #10 0x0000000000000000 in ?? ()
>
> Usually you'd expect to see the name of the function call instead of ??,
> that shows it can't find those. Did you keep the FS git checkout after
> installing it, and did you compile it with the debugging symbols?
>
> -Steve
>
>
>
>
>
> On 31 May 2011 11:51, barisyanar <barisyanar at gmail.com> wrote:
>
> Here's the pastebin link: http://pastebin.freeswitch.org/16413
>
> After getting sofia siptrace I'll report the bug.
>
>
>
> On Mon, May 30, 2011 at 5:34 PM, Steven Ayre <steveayre at gmail.com> wrote:
>
> It might also be useful to see the debug logs prior to the crash, with
> siptrace enabled (sofia global siptrace on).
>
> Since this is a bug, you should submit it as a bug report at
> http://jira.freeswitch.org/.
>
> Include a description of the problem, and attach the debug log including
> the siptrace and how to reproduce it.
>
> Unfortunately the coredump you attached is not much use to anyone without
> the local directory you compiled FS from. Please load the coredump in gdb
> (the gnu debugger) and collect the backtrace and also attach that. There are
> instructions of how to do so at
> http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb_.28Linux.2FUnix.29and the support-d/fscore_pb script in the git checkout will automate that
> process by posting it to our pastebin.
>
> -Steve
>
>
>
>
> On 30 May 2011 15:17, barisyanar <barisyanar at gmail.com> wrote:
>
> http://www.ceng.metu.edu.tr/~e1348093/paylasim/core.18007.zip is the new
> core got from fs compiled after devel-bootstrap.sh.
>
> Version is: FreeSWITCH version: 1.0.7 (git-e19096c 2011-03-25 17-14-07
> -0400)
>
> bt from new core is similar:
>
>
>
> #0  __strchr_sse42 () at ../sysdeps/x86_64/multiarch/strchr.S:131
>
> #1  0x00007fbe0eb43913 in sofia_glue_get_url_from_contact (buf=0x0,
>
>     to_dup=0 '\000') at sofia_glue.c:4825
>
> #2  0x00007fbe0eb4536b in sofia_overcome_sip_uri_weakness (
>
>     session=0x7fbdf8016628, uri=<value optimized out>,
>
>     transport=SOFIA_TRANSPORT_TCP_TLS, uri_only=SWITCH_TRUE, params=0x0)
>
>     at sofia_glue.c:1293
>
> #3  0x00007fbe0eb24e10 in sofia_handle_sip_i_invite (nua=0x7fbdf80100c0,
>
>     profile=0xbdc8c0, nh=0x7fbdfc009d40, sofia_private=<value optimized
> out>,
>
>     sip=<value optimized out>, tags=<value optimized out>) at sofia.c:6732
>
> #4  0x00007fbe0eb4002a in sofia_event_callback (event=nua_i_invite,
>
>     status=100, phrase=0x7fbdfc00a9c0 "Trying", nua=0x7fbdf80100c0,
>
>     profile=0xbdc8c0, nh=0x7fbdfc009d40, sofia_private=0x0,
>
>     sip=0x7fbdfc0064d8, tags=0x7fbdfc00a9b0) at sofia.c:936
>
> #5  0x00007fbe0ebb1de3 in nua_application_event (dummy=<value optimized
> out>,
>
>     sumsg=<value optimized out>, ee=0x7fbdfc00a988) at nua_stack.c:393
>
> #6  0x00007fbe0ec0f804 in su_base_port_execute_msgs (queue=0x7fbdfc00d380)
>
>     at su_base_port.c:280
>
> #7  0x00007fbe0ec0fd51 in su_base_port_step (self=0x7fbdf80010f0, tout=0)
>
>     at su_base_port.c:473
>
> #8  0x00007fbe0eb39b8a in sofia_profile_thread_run (
>
>     thread=<value optimized out>, obj=0xbdc8c0) at sofia.c:1617
>
> #9  0x0000003efd2068e0 in start_thread (arg=0x7fbe0f96b710)
>
>
>
> On Sun, May 22, 2011 at 12:06 PM, Anton VG <anton.vazir at gmail.com> wrote:
>
> for valuable backtrace, you should compile FS with no optimization
> (-O0), running devel-bootstrap.sh will do it for you.
>
> 2011/5/16 barisyanar <barisyanar at gmail.com>:
>
> > Hi all,
> > I am using Freeswitch 1.0.7 with sipx release-4.4.
> > Whenever I try to make an IVR call with TLS, Freeswitch crashes dumping
> the
> > attached core file. The output bt command is:
> > #0  __strchr_sse42 () at ../sysdeps/x86_64/multiarch/strchr.S:131
> > #1  0x00007f9c0b4373c3 in sofia_glue_get_url_from_contact (buf=0x0,
> >     to_dup=0 '\000') at sofia_glue.c:4943
> > #2  0x00007f9c0b438e1b in sofia_overcome_sip_uri_weakness (
> >     session=0x7f9c04017108, uri=<value optimized out>,
> >     transport=SOFIA_TRANSPORT_TCP_TLS, uri_only=SWITCH_TRUE, params=0x0)
> >     at sofia_glue.c:1296
> > #3  0x00007f9c0b4182b0 in sofia_handle_sip_i_invite (nua=0x7f9c04008890,
> >     profile=0x148dad0, nh=0x7f9c00009ec0, sofia_private=<value optimized
> > out>,
> >     sip=<value optimized out>, tags=<value optimized out>) at
> sofia.c:6793
> > #4  0x00007f9c0b433aca in sofia_event_callback (event=nua_i_invite,
> >     status=100, phrase=0x7f9c0000ab40 "Trying", nua=0x7f9c04008890,
> >     profile=0x148dad0, nh=0x7f9c00009ec0, sofia_private=0x0,
> >     sip=0x7f9c00006658, tags=0x7f9c0000ab30) at sofia.c:942
> > #5  0x00007f9c0b4a5f53 in nua_application_event (dummy=<value optimized
> > out>,
> >     sumsg=<value optimized out>, ee=0x7f9c0000ab08) at nua_stack.c:393
> > #6  0x00007f9c0b503974 in su_base_port_execute_msgs (queue=0x0)
> >     at su_base_port.c:280
> > #7  0x00007f9c0b503ec1 in su_base_port_step (self=0x7f9c040010f0, tout=0)
> >     at su_base_port.c:473
> > #8  0x00007f9c0b42d4ea in sofia_profile_thread_run (
> >     thread=<value optimized out>, obj=0x148dad0) at sofia.c:1623
> > #9  0x0000003efd2068e0 in start_thread (arg=0x7f9c18116710)
> > ---Type <return> to continue, or q <return> to quit---
> >     at pthread_create.c:297
> > #10 0x0000003efcee0c9d in clone ()
> > And sipx's freeswitch log prints the line:
> > 2011-05-16 15:04:51.530426 [WARNING] switch_core.c:1120 Cannot locate
> domain
> > deneme.deneme.karelarge.com,
> > where deneme.deneme.karelarge.com is my fqdn.
> > No problem occurs during TCP connection.
> > Problem is possibly caused by sipx, but i'll be glad to hear FS
> community's
> > ideas.
>
> > _______________________________________________
> > FreeSWITCH-dev mailing list
> > FreeSWITCH-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
> >
> >
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
>
> !DSPAM:4de4db0432761032611453!
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110601/3022a0c0/attachment-0001.html 


More information about the FreeSWITCH-dev mailing list