[libnice] nice_agent_remove_stream error

yourtear2012 at gmail.com yourtear2012 at gmail.com
Fri Jul 4 04:13:12 PDT 2014


thank you for you help, i found the error becuse i free a cands with nice_address_free,and then, glib mem pool assert failure.




yourtear2012 at gmail.com

From: Youness Alaoui
Date: 2014-07-04 16:17
To: yourtear2012 at gmail.com
CC: nice
Subject: Re: [libnice] nice_agent_remove_stream error
Hi,

Which version of libnice did you use ?  Do you have a test program to reproduce the bug ? Or at least a full core dump?


Thanks,
Youness.



On Wed, Jul 2, 2014 at 7:26 AM, yourtear2012 at gmail.com <yourtear2012 at gmail.com> wrote:

hi,
i add some stream at agent,more than 20s,the streams is ready,
and work some times, when i remove stream from agent, the program Aborted ,
***MEMORY-ERROR***: : GSlice: assertion failed: sinfo->n_allocated > 0 

i debug it with gdb,and type "where" look stack

(gdb) where
#0  0x00130424 in __kernel_vsyscall ()
#1  0x00300b11 in raise () from /lib/libc.so.6
#2  0x003023ea in abort () from /lib/libc.so.6
#3  0x081a05a4 in mem_error (format=0x823602e "assertion failed: %s") at gslice.c:1439
#4  0x081a08eb in slab_allocator_free_chunk (chunk_size=<value optimized out>, mem=0x9478500)
    at gslice.c:1321
#5  0x081a115a in magazine_cache_trim (ix=3, magazine_chunks=<value optimized out>, count=32)
    at gslice.c:679
#6  magazine_cache_push_magazine (ix=3, magazine_chunks=<value optimized out>, count=32) at gslice.c:710
#7  0x081a1467 in thread_memory_magazine2_unload (mem_size=32, mem_block=0x82b7c20) at gslice.c:809
#8  g_slice_free1 (mem_size=32, mem_block=0x82b7c20) at gslice.c:1094
#9  0x081596c3 in g_type_free_instance (instance=0x82b7c30) at gtype.c:1938
#10 0x08093a29 in g_socket_finalize (object=0x82cbdf0) at gsocket.c:769
#11 0x081423da in g_object_unref (_object=0x82cbdf0) at gobject.c:3112
#12 0x0807f488 in socket_close (sock=0x85a3558) at udp-bsd.c:165
#13 0x08077e74 in nice_socket_free (sock=0x85a3558) at socket.c:168
#14 0x08060cbb in socket_source_free (source=0x82d2500) at component.c:107
#15 0x081a21f6 in g_slist_foreach (list=<value optimized out>, func=0x8060c90 <socket_source_free>, 
    user_data=0x0) at gslist.c:877
#16 0x081a2961 in g_slist_free_full (list=0x82b3640, free_func=0x8060c90 <socket_source_free>)
    at gslist.c:172
#17 0x08060191 in component_free_socket_sources (component=0x8aab120) at component.c:591
#18 0x0806133e in component_free (cmp=0x8aab120) at component.c:231
#19 0x08081b4a in stream_free (stream=0x84d3300) at stream.c:78
#20 0x08072bf6 in nice_agent_remove_stream (agent=0x82b4918, stream_id=7) at agent.c:2394

please help me.





yourtear2012 at gmail.com




 此电子邮件不含病毒和恶意软件,因为 avast! 杀毒软件 保护处于活动状态。 



_______________________________________________
nice mailing list
nice at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nice

---
此电子邮件没有病毒和恶意软件,因为 avast! 防病毒保护处于活动状态。
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20140704/1a1e7ab4/attachment.html>


More information about the nice mailing list