[Nice] Segmentation fault with libnice-0.1.2 on ARM ( Nokia N9)
ly tran
congly85 at yahoo.com
Thu Aug 16 01:18:13 PDT 2012
Hi,
Here is my debug result:
In file: conncheck.c, function conn_check_send(), the segmentation occur at line
buffer_len = stun_usage_ice_conncheck_create (&agent->stun_agent,
&pair->stun_message, pair->stun_buffer, sizeof(pair->stun_buffer),
uname, uname_len, password, password_len,
cand_use, controlling, priority,
agent->tie_breaker,
pair->foundation,
agent_to_ice_compatibility (agent));
I checked that &pair->stun_message is null and step into this function to follow this variable. It's always null until segmentation.
Please refer backtrace in attachment for more details.
Thanks
________________________________
From: Youness Alaoui <youness.alaoui at collabora.co.uk>
To: nice at lists.freedesktop.org
Sent: Wednesday, August 15, 2012 9:04 PM
Subject: Re: [Nice] Segmentation fault with libnice-0.1.2 on ARM ( Nokia N9)
Hi,
Could you provide a gdb backtrace with "bt full" so I can look into what's
causing it exactly?
Thanks,
Youness
On 08/15/2012 05:56 AM, ly tran wrote:
> Hi,
>
> I use libnice to make video call using SIP (sofia-sip) signalling protocol.
> I used sofsip_cli example in sofia-sip-1.12.11.
> I can make successfull video call in x86 (Ubuntu dekstop).
> But when I compile and run on ARM (Nokia N9), I got the following segmentation
> fault at: nice_agent_set_remote_candidates() function
> Is there anybody have the same problem ?
>
> ** Message: parsing SDP:
> v=0
> m=video 32931 RTP/AVP 98
> c=IN IP4 192.168.2.15
> a=rtpmap:98 theora/90000
> a=candidate:1 1 UDP 2013266431 192.168.2.15 32931 typ host
> a=candidate:2 1 UDP 2013266431 169.254.41.172 48865 typ host
> a=candidate:1 2 UDP 2013266430 192.168.2.15 57849 typ host
> a=candidate:2 2 UDP 2013266430 169.254.41.172 43299 typ host
> a=ice-pwd:sIX8Lqas8Lk1TSgIBboFST
> a=ice-ufrag:owAy
> a=rtcp:57849
>
> ---
> ** Message: priv_refresh_nice aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
> ** Message: priv_set_remote_v_sdp_candidates
> ** (sofsip_cli:1356): DEBUG: Found ice-ufrag:cyES
> ** (sofsip_cli:1356): DEBUG: Found ice-pwd:mYErzMCqTWU+2vZJAQ8uuK
> ** Message: Remote does not support ICE, falling back to non-ICE mode.
> ** Message: nice_agent_set_remote_candidates START
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8: set_remote_candidates 1 1
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : Adding remote candidate with
> addr [192.168.2.15]:33462 for s1/c1. U/P '(null)'/'(null)' prio: 1
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : creating new pair 0xf3000 state 5
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : added a new conncheck 0xf3000
> with foundation of '1:1' to list 1.
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : stream 1 component 1
> STATE-CHANGE 1 -> 2.
> ** Message: priv_cb_component_state_changed: stream_id=1, component_id=1,
> state=2, self=0xbfc10
> ** Message: rtp comp 1, rtcp com 2, ready 4, disconnected 0 failed 5
> ** Message: goes here
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : creating new pair 0x1030b0 state 5
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : added a new conncheck 0x1030b0
> with foundation of '2:1' to list 1.
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : Pair 0xf3000 with s/c-id 1/1
> (1:1) unfrozen.
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : pair 0xf3000 state WAITING
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : priv_conn_check_unfreeze_next
> returned 1
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : pair 0xf3000 state IN_PROGRESS
> (sofsip_cli:1356): libnice-DEBUG: Agent 0xc19a8 : STUN-CC REQ to
> '192.168.2.15:33462', socket=11, pair=1:1 (c-id:1), tie=2663607996370330830,
> username='cyES:owAy' (9), password='mYErzMCqTWU+2vZJAQ8uuK' (22),
> priority=1845494271.
> Segmentation fault
>
>
> _______________________________________________
> nice mailing list
> nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice
_______________________________________________
nice mailing list
nice at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20120816/6b3597b9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libnice.log
Type: application/octet-stream
Size: 188416 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/nice/attachments/20120816/6b3597b9/attachment-0001.obj>
More information about the nice
mailing list