[Top][All Lists]

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

[Linphone-developers] munmap_chunk(), invalid pointer in mediastreamer2.

From: 张贝芬
Subject: [Linphone-developers] munmap_chunk(), invalid pointer in mediastreamer2.1.0
Date: Tue, 29 Jun 2010 13:21:17 +0800 (CST)


       Does mediastreamer2 have BUGS list from 2.1.0 version to lastest version. Now I meet a problem using 2.1.0 version that it will report "munmap_chunk(),invalid pointer" when I  call audio_strem_stop() or video_stream_stop().Here is the error info:

//////////////   error info  //////////////////////////
*** glibc detected *** ./VideoInterphone: munmap_chunk(): invalid pointer: 0x57237100 ***
======= Backtrace: =========

we find that in function  ms_list_remove_link(),the variable "list" or "elem" is the invalid pointer

//////////////////   function ms_list_remove_link()  ////////

MSList *ms_list_remove_link(MSList *list, MSList *elem){
 MSList *ret;
 if (elem==list){
  if (ret!=NULL) ret->prev=NULL;
  elem = NULL;
  return ret;
 if (elem->next!=NULL) elem->next->prev=elem->prev;
 elem = NULL;
 return list


Has anybody encountered the same problem ? Can anybody offer some suggestion?
Thank you for your help in advance.

                         Best Regards.

                          Zhiwei Chen


reply via email to

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