[Bug 13066] New: coredump in "__malloc_state()"

bugzilla at busybox.net bugzilla at busybox.net
Tue Jul 14 02:31:42 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=13066

            Bug ID: 13066
           Summary: coredump in "__malloc_state()"
           Product: uClibc
           Version: 0.9.33.2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at uclibc.org
          Reporter: 545388472 at qq.com
                CC: uclibc-cvs at uclibc.org
  Target Milestone: ---

uclib-0.9.33.2 
ARM-linux
The program runs for a day or two with a segment error,GDB debug print stack
information as follows;

(gdb) t bt
#0  0xb309bd2c in __malloc_state () from /lib/libc.so.0
#1  0xb5bc1d0c in Slice (this=0x42a9a8, pData=<optimized out>, iLen=<optimized
out>, iMediaType=-1, uiTimeS=2706388700) at CH264OutBoundConnectivity.cpp:290
#2  0xb5be9030 in send (this=<optimized out>, data=<optimized out>, len=21267,
mediaType=1, timeStamp=1594028814178, param=0xa15037c8) at
CRtspSendElement.cpp:147
#3  0xb47b7c98 in SendRealStreamData (this=0x42a6a8, param=0xa15037a0) at
RTSPClientConnection.cpp:496
#4  0xb47b9810 in OnRealPlayStreamCallBack (this=0x39d778, param=0xa15037a0) at
RtspConManage.cpp:106
#5  0xb47b8e9c in RtspRealPlayStreamCallback (pDataInfo=0xa15037a0) at
RtspConManage.cpp:5
#6  0xb5b6462c in CMediaSource::SendSourceData (this=0x19abb0,
param=0xa15038f8) at MediaSource.cpp:376
#7  0xb5b6b944 in CMediaSourceManager::OnSourceDataCallBack (this=0x19ab80,
param=0xa15038f8) at MediaSourceManager.cpp:376
#8  0xb5b6bf10 in ReceiveMediaData (pDataInfo=0xb512a900 <g_frameHead>) at
MediaSourceManager.cpp:459
#9  0xb4a25460 in VideoEncComplete (data=0xa1503aa8) at CVideo.cpp:800
#10 0xb4af27b4 in MW_VENC_SendStream (iChnId=0, eType=PT_H264,
ptPara=0xb518950c <gVidBitsRecv_Obj+4>, ptVenc=0xa1503c08) at bits_recv.c:190
#11 0xb4af2e14 in MW_VENC_GetVencStreamProc (p=0xb518950c <gVidBitsRecv_Obj+4>)
at bits_recv.c:351
#12 0xb442cf5c in start_thread () from /lib/libpthread.so.0
#13 0xb3041154 in clone () from /lib/libc.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)



Sometimes the stack is printed as follows:

(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb5bd9d0c in Slice (this=0x44df58, pData=<optimized out>, iLen=<optimized
out>, iMediaType=-1291246724, uiTimeS=2706195916) at
CH264OutBoundConnectivity.cpp:290
#2  0xb5c01030 in send (this=<optimized out>, data=<optimized out>, len=19379,
mediaType=1, timeStamp=1594426863000, param=0xa14d46b8) at
CRtspSendElement.cpp:147
#3  0xb47cfc98 in SendRealStreamData (this=0x46a080, param=0xa14d4690) at
RTSPClientConnection.cpp:496
#4  0xb47d1810 in OnRealPlayStreamCallBack (this=0x39dd78, param=0xa14d4690) at
RtspConManage.cpp:106
#5  0xb47d0e9c in RtspRealPlayStreamCallback (pDataInfo=0xa14d4690) at
RtspConManage.cpp:5
#6  0xb5b7c62c in SendSourceData (this=0x19ac60, param=0xa14d47e8) at
MediaSource.cpp:376
#7  0xb5b83944 in OnSourceDataCallBack (this=0x19ac30, param=0xa14d47e8) at
MediaSourceManager.cpp:376
#8  0xb5b83f10 in ReceiveMediaData (pDataInfo=0xb5142900 <g_frameHead>) at
MediaSourceManager.cpp:459
#9  0xb4a3d460 in VideoEncComplete (data=0xa14d4998) at CVideo.cpp:800
#10 0xb4b0a7b4 in MW_VENC_SendStream (iChnId=0, eType=PT_H264,
ptPara=0xb51a150c <gVidBitsRecv_Obj+4>, ptVenc=0xa14d4af8) at bits_recv.c:190
#11 0xb4b0ae14 in MW_VENC_GetVencStreamProc (p=0xb51a150c <gVidBitsRecv_Obj+4>)
at bits_recv.c:351
#12 0xb443f37c in start_thread (arg=0xa14d54c0) at
libpthread/nptl/pthread_create.c:297
#13 0xb30444c4 in clone () at
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../../../../../../../libc/sysdeps/linux/arm/clone.S:126
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

The library is using the debug version, but the specific reason can not be
traced, please help.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list