{"id":5453,"date":"2014-03-30T22:12:33","date_gmt":"2014-03-30T22:12:33","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/getting-error-while-running-rtsp-live-streaming-in-ics-collection-of-common-programming-errors\/"},"modified":"2014-03-30T22:12:33","modified_gmt":"2014-03-30T22:12:33","slug":"getting-error-while-running-rtsp-live-streaming-in-ics-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/getting-error-while-running-rtsp-live-streaming-in-ics-collection-of-common-programming-errors\/","title":{"rendered":"Getting error while running RTSP live streaming in ICS-Collection of common programming errors"},"content":{"rendered":"<p>From the logs attached here, I observe the following prints:<\/p>\n<pre><code>Line no. 4060: F\/libc    ( 1203): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)\n<\/code><\/pre>\n<p>which means your code has crashed. Further down in the log,<\/p>\n<pre><code>Line no. 4084: I\/DEBUG   (   83): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000\n<\/code><\/pre>\n<p>From the stack trace of your crash log,<\/p>\n<pre><code>I\/DEBUG   (   83):          #00  pc 0000db2c  \/system\/lib\/libc.so (memcpy)\nI\/DEBUG   (   83):          #01  pc 000710ec  \/system\/lib\/libCedarX.so (rtsp_demux_read)\nI\/DEBUG   (   83):          #02  pc 000636dc  \/system\/lib\/libCedarX.so\nI\/DEBUG   (   83):          #03  pc 00012be4  \/system\/lib\/libc.so (__thread_entry)\nI\/DEBUG   (   83):          #04  pc 00012738  \/system\/lib\/libc.so (pthread_create)\n<\/code><\/pre>\n<p><strong>Conclusion:<\/strong><\/p>\n<p>From these points, I conclude that in <code>rtsp_demux_read<\/code> function, there is a <code>memcpy<\/code> call. When your program has crashed, you have passed a <code>NULL<\/code> pointer as mostly the <em>destination<\/em> to the <code>memcpy<\/code> function. You would require to debug your code further on why this could happen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5453","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5453"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5453\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}