[Nice] libnice always crashes under FreeBSD AMD64
youness.alaoui at collabora.co.uk
Wed Jul 14 16:34:11 PDT 2010
On 07/14/2010 05:05 PM, Igor Serikov wrote:
> Thanks you! I renamed the function & recompiled. It works. Somehow, I
> had this idea to just did not check it further.
> Just make the change permanent, so all future versions will have it.
Good to know, I'll make the change permanent in my copy so it will be available
in the next version.
> Another one. I believe it is a known thing. AMSN->WLM2009 is OK now but
> not the other way around. When I try to "call computer", the Windows
> says: "Messenger is not available right now." What could it be? Again,
> both PCs are on the same local network with NAT (another FreeBSD box
> acts as a router. I use PF (http://www.openbsd.org/faq/pf/) on it. No
> UPNP, of course).
aMSN/WLM2009 doesn't work anymore unless you enable MSNP18 support in aMSN. It
has nothing to do with libnice, the SIP server being used has been shut down by
microsoft. More information about it here :
> Youness Alaoui wrote:
>> Hi Igor! :)
>> It looks to me like the error comes from the way the freebsd linker
>> works or
>> something.. or maybe the application you're using with libnice.
>> The problem is that libnice uses a function 'crc32' which apparently
>> also exists
>> in libz.so, and your application links against libz.so, and the
>> freebsd linker
>> takes the crc32 function from libz.so instead of from libnice.so
>> I don't really know why it would do that, maybe somehow I'm not
>> compiling it
>> right.. either way I'll fix it by simply renaming the function to
>> this way we can avoid any problems.
>> On 07/14/2010 03:43 PM, Igor Serikov wrote:
>>> Fellow developers,
>>> libnice always crashes under FreeBSD AMD64. Two machines are on the same
>>> local net that uses NAT.
>>> Program received signal SIGSEGV, Segmentation fault.
>>> [Switching to Thread 0x802003500 (LWP 100145)]
>>> 0x00000008013c000a in crc32 () from /lib/libz.so.4
>>> (gdb) bt
>>> #0 0x00000008013c000a in crc32 () from /lib/libz.so.4
>>> #1 0x0000000806fe85e0 in stun_message_has_cookie () from
>>> #2 0x0000000806fe77eb in stun_agent_validate () from
>>> #3 0x0000000806fdbf05 in nice_agent_new () from
>>> #4 0x0000000806fd6995 in nice_agent_set_selected_pair () from
>>> #5 0x0000000805bb58d3 in g_main_context_dispatch () from
>>> #6 0x0000000805bb90d2 in g_main_context_check () from
>>> #7 0x0000000805bb94c5 in g_main_loop_run () from
>>> #8 0x0000000807402838 in gst_nice_src_create () from
>>> #9 0x0000000805f8a63c in gst_base_src_get_range (src=0x80722a6d0,
>>> offset=18446744073709551615, length=4096, buf=0x7ffffedf7ea0) at
>>> #10 0x0000000805f8bd0f in gst_base_src_loop (pad=0x80722dd80) at
>>> #11 0x0000000805493b2a in gst_task_func (task=0x8065c6440) at
>>> #12 0x0000000805bde409 in g_thread_pool_push () from
>>> #13 0x0000000805bdc714 in g_thread_create_full () from
>>> #14 0x00000008015ea521 in pthread_getprio () from /lib/libthr.so.3
>>> #15 0x0000000000000000 in ?? ()
>>> Error accessing memory address 0x7ffffedf8000: Bad address.
>>> (gdb) in gstbasesrc.c
>>> Nice mailing list
>>> Nice at lists.freedesktop.org
>> Nice mailing list
>> Nice at lists.freedesktop.org
> Nice mailing list
> Nice at lists.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the Nice