linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] Re: Route: crash, format


From: Simon Morlat
Subject: [Linphone-users] Re: Route: crash, format
Date: Wed, 2 Mar 2005 12:16:03 +0100
User-agent: KMail/1.7.1

Hello,

Thanks a lot for the bug report. Thanks to this gdb backtrace, it took me 
about 5 seconds to fix the bug.

Normally a route looks like sip:myproxy
"*" is not a good route thus it did a parse error which was not handled 
correctly by linphone (the crash).

Simon


Le Samedi 26 Février 2005 13:01, Mikhail Ramendik a écrit :
> Hello,
>
> 1.0.0pre9 successfully registers on the proxy, provided I don't set a route
>  in the "proxy add" procedure. If I do set a route, I don't get to
>  registration, because I get a segfault.
>
> I can see the route entry in the config now, so I can set the route there;
>  but please do tell me, what is the format of the route? Which route should
> I set in order to call al numbers via this proxy?
>
> Now for the gdb run with the route:
>
> address@hidden misha]$ gdb linphonec
> GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
> Copyright 2003 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are welcome to change it and/or distribute copies of it under certain
> conditions. Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-asplinux-linux-gnu"...
> (gdb) r
> Starting program: /usr/local/bin/linphonec
> Ready.
> linphonec> proxy add
> Adding new proxy setup:
> enter proxy sip address:
> sip:sip1.titl.ru
> enter your identity sip address for this proxy:
> sip:address@hidden
> Do you want to register on this proxy (yes/no):
> yes
> Specify register expiration time in seconds (default is 600):
>
> Specify route if needed:
> *
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7dd6fc6 in osip_uri_free (url=0x31305f65) at osip_uri.c:684
> 684       osip_free (url->scheme);
> (gdb) b
> Breakpoint 1 at 0xb7dd6fc6: file osip_uri.c, line 684.
> (gdb) backtrace
> #0  0xb7dd6fc6 in osip_uri_free (url=0x31305f65) at osip_uri.c:684
> #1  0xb7dd429d in osip_from_free (from=0xbffff563) at osip_from.c:104
> #2  0xb7dd3b60 in osip_route_free (route=0xbffff563) at osip_route.c:108
> #3  0xb7fa4e51 in linphone_proxy_config_set_route (obj=0x804e828,
> route=0xbffff4f0 "*") at proxy.c:111
> #4  0x08049b42 in linphonec_proxy_add (lc=0x804bc40) at commands.c:92
> #5  0x08049f91 in linphonec_parse_command_line (lc=0x804bc40, cl=0xbffff6d0
> "proxy add\n") at commands.c:180
> #6  0x08049535 in linphonec_main_loop (opm=0x804bc40) at linphonec.c:163
> #7  0x08049741 in main (argc=1, argv=0xbffff874) at linphonec.c:275
> #8  0x42015814 in __libc_start_main () from /lib/tls/libc.so.6
> (gdb)
>
>
>
> --
> Yours, Mikhail Ramendik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]