Getting error while running RTSP live streaming in ICS-Collection of common programming errors
From the logs attached here, I observe the following prints:
Line no. 4060: F/libc ( 1203): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
which means your code has crashed. Further down in the log,
Line no. 4084: I/DEBUG ( 83): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
From the stack trace of your crash log,
I/DEBUG ( 83): #00 pc 0000db2c /system/lib/libc.so (memcpy)
I/DEBUG ( 83): #01 pc 000710ec /system/lib/libCedarX.so (rtsp_demux_read)
I/DEBUG ( 83): #02 pc 000636dc /system/lib/libCedarX.so
I/DEBUG ( 83): #03 pc 00012be4 /system/lib/libc.so (__thread_entry)
I/DEBUG ( 83): #04 pc 00012738 /system/lib/libc.so (pthread_create)
Conclusion:
From these points, I conclude that in rtsp_demux_read
function, there is a memcpy
call. When your program has crashed, you have passed a NULL
pointer as mostly the destination to the memcpy
function. You would require to debug your code further on why this could happen.