Skip to content

Instantly share code, notes, and snippets.

@lminiero
Created March 25, 2017 19:36
Show Gist options
  • Save lminiero/316d8d7ec28539702bbd94a5da88ed96 to your computer and use it in GitHub Desktop.
Save lminiero/316d8d7ec28539702bbd94a5da88ed96 to your computer and use it in GitHub Desktop.
==8054== Thread 24 sipre handler:
==8054== Syscall param write(buf) points to uninitialised byte(s)
==8054== at 0x6E975DD: ??? (syscall-template.S:84)
==8054== by 0x1A311AF1: pipe_write (mqueue.h:21)
==8054== by 0x1A311D4B: mqueue_push (mqueue.c:152)
==8054== by 0x1A0A9220: janus_sipre_handler (janus_sipre.c:1484)
==8054== by 0x56DCB02: ??? (in /usr/lib64/libglib-2.0.so.0.5000.2)
==8054== by 0x6E8E6C9: start_thread (pthread_create.c:333)
==8054== by 0x71ACF7E: clone (clone.S:105)
==8054== Address 0x1b530d54 is on thread 24's stack
==8054== in frame #2, created by mqueue_push (mqueue.c:141)
==8054== Uninitialised value was created by a stack allocation
==8054== at 0x1A099CB0: ??? (in /home/lminiero/test/sipre/lib/janus/plugins/libjanus_sipre.so.0.0.0)
==8054==
==8054== Thread 25 sipre loop:
==8054== Conditional jump or move depends on uninitialised value(s)
==8054== at 0x1A307FE6: mbuf_write_mem (mbuf.c:216)
==8054== by 0x1A308492: vprintf_handler (mbuf.c:479)
==8054== by 0x1A30A3A5: write_padded (print.c:62)
==8054== by 0x1A30B1E4: re_vhprintf (print.c:349)
==8054== by 0x1A3084C6: mbuf_vprintf (mbuf.c:494)
==8054== by 0x1A2FE5BA: md5_printf (wrap.c:57)
==8054== by 0x1A2C6FA1: mkdigest (auth.c:87)
==8054== by 0x1A2C74AE: sip_auth_encode (auth.c:236)
==8054== by 0x1A2CDF70: sip_drequestf (request.c:818)
==8054== by 0x1A2D5817: request (reg.c:289)
==8054== by 0x1A2D542A: response_handler (reg.c:211)
==8054== by 0x1A2CC6D4: terminate (request.c:107)
==8054== by 0x1A2CC8A2: response_handler (request.c:156)
==8054== by 0x1A2C81E8: response_handler (ctrans.c:290)
==8054== by 0x1A2CFB6D: sip_recv (transp.c:247)
==8054== by 0x1A2CFE3B: udp_recv_handler (transp.c:320)
==8054== by 0x1A2FEF90: udp_read (udp.c:219)
==8054== by 0x1A2FEFD9: udp_read_handler (udp.c:232)
==8054== by 0x1A30DEF9: fd_handler (main.c:244)
==8054== by 0x1A30EEC9: fd_poll (main.c:847)
==8054== Uninitialised value was created by a stack allocation
==8054== at 0x1A2FE50A: md5_printf (wrap.c:49)
==8054==
==8054== Conditional jump or move depends on uninitialised value(s)
==8054== at 0x1A307FF3: mbuf_write_mem (mbuf.c:218)
==8054== by 0x1A308492: vprintf_handler (mbuf.c:479)
==8054== by 0x1A30A3A5: write_padded (print.c:62)
==8054== by 0x1A30B1E4: re_vhprintf (print.c:349)
==8054== by 0x1A3084C6: mbuf_vprintf (mbuf.c:494)
==8054== by 0x1A2FE5BA: md5_printf (wrap.c:57)
==8054== by 0x1A2C6FA1: mkdigest (auth.c:87)
==8054== by 0x1A2C74AE: sip_auth_encode (auth.c:236)
==8054== by 0x1A2CDF70: sip_drequestf (request.c:818)
==8054== by 0x1A2D5817: request (reg.c:289)
==8054== by 0x1A2D542A: response_handler (reg.c:211)
==8054== by 0x1A2CC6D4: terminate (request.c:107)
==8054== by 0x1A2CC8A2: response_handler (request.c:156)
==8054== by 0x1A2C81E8: response_handler (ctrans.c:290)
==8054== by 0x1A2CFB6D: sip_recv (transp.c:247)
==8054== by 0x1A2CFE3B: udp_recv_handler (transp.c:320)
==8054== by 0x1A2FEF90: udp_read (udp.c:219)
==8054== by 0x1A2FEFD9: udp_read_handler (udp.c:232)
==8054== by 0x1A30DEF9: fd_handler (main.c:244)
==8054== by 0x1A30EEC9: fd_poll (main.c:847)
==8054== Uninitialised value was created by a stack allocation
==8054== at 0x1A2FE50A: md5_printf (wrap.c:49)
==8054==
==8054== Conditional jump or move depends on uninitialised value(s)
==8054== at 0x1A307DBE: mbuf_resize (mbuf.c:125)
==8054== by 0x1A308029: mbuf_write_mem (mbuf.c:221)
==8054== by 0x1A308492: vprintf_handler (mbuf.c:479)
==8054== by 0x1A30A3A5: write_padded (print.c:62)
==8054== by 0x1A30B1E4: re_vhprintf (print.c:349)
==8054== by 0x1A3084C6: mbuf_vprintf (mbuf.c:494)
==8054== by 0x1A2FE5BA: md5_printf (wrap.c:57)
==8054== by 0x1A2C6FA1: mkdigest (auth.c:87)
==8054== by 0x1A2C74AE: sip_auth_encode (auth.c:236)
==8054== by 0x1A2CDF70: sip_drequestf (request.c:818)
==8054== by 0x1A2D5817: request (reg.c:289)
==8054== by 0x1A2D542A: response_handler (reg.c:211)
==8054== by 0x1A2CC6D4: terminate (request.c:107)
==8054== by 0x1A2CC8A2: response_handler (request.c:156)
==8054== by 0x1A2C81E8: response_handler (ctrans.c:290)
==8054== by 0x1A2CFB6D: sip_recv (transp.c:247)
==8054== by 0x1A2CFE3B: udp_recv_handler (transp.c:320)
==8054== by 0x1A2FEF90: udp_read (udp.c:219)
==8054== by 0x1A2FEFD9: udp_read_handler (udp.c:232)
==8054== by 0x1A30DEF9: fd_handler (main.c:244)
==8054== Uninitialised value was created by a stack allocation
==8054== at 0x1A2FE50A: md5_printf (wrap.c:49)
==8054==
==8054== Conditional jump or move depends on uninitialised value(s)
==8054== at 0x1A30FBE5: mem_realloc (mem.c:195)
==8054== by 0x1A307DD5: mbuf_resize (mbuf.c:125)
==8054== by 0x1A308029: mbuf_write_mem (mbuf.c:221)
==8054== by 0x1A308492: vprintf_handler (mbuf.c:479)
==8054== by 0x1A30A3A5: write_padded (print.c:62)
==8054== by 0x1A30B1E4: re_vhprintf (print.c:349)
==8054== by 0x1A3084C6: mbuf_vprintf (mbuf.c:494)
==8054== by 0x1A2FE5BA: md5_printf (wrap.c:57)
==8054== by 0x1A2C6FA1: mkdigest (auth.c:87)
==8054== by 0x1A2C74AE: sip_auth_encode (auth.c:236)
==8054== by 0x1A2CDF70: sip_drequestf (request.c:818)
==8054== by 0x1A2D5817: request (reg.c:289)
==8054== by 0x1A2D542A: response_handler (reg.c:211)
==8054== by 0x1A2CC6D4: terminate (request.c:107)
==8054== by 0x1A2CC8A2: response_handler (request.c:156)
==8054== by 0x1A2C81E8: response_handler (ctrans.c:290)
==8054== by 0x1A2CFB6D: sip_recv (transp.c:247)
==8054== by 0x1A2CFE3B: udp_recv_handler (transp.c:320)
==8054== by 0x1A2FEF90: udp_read (udp.c:219)
==8054== by 0x1A2FEFD9: udp_read_handler (udp.c:232)
==8054== Uninitialised value was created by a stack allocation
==8054== at 0x1A2FE50A: md5_printf (wrap.c:49)
==8054==
==8054== Use of uninitialised value of size 8
==8054== at 0x1A30FC01: mem_realloc (mem.c:200)
==8054== by 0x1A307DD5: mbuf_resize (mbuf.c:125)
==8054== by 0x1A308029: mbuf_write_mem (mbuf.c:221)
==8054== by 0x1A308492: vprintf_handler (mbuf.c:479)
==8054== by 0x1A30A3A5: write_padded (print.c:62)
==8054== by 0x1A30B1E4: re_vhprintf (print.c:349)
==8054== by 0x1A3084C6: mbuf_vprintf (mbuf.c:494)
==8054== by 0x1A2FE5BA: md5_printf (wrap.c:57)
==8054== by 0x1A2C6FA1: mkdigest (auth.c:87)
==8054== by 0x1A2C74AE: sip_auth_encode (auth.c:236)
==8054== by 0x1A2CDF70: sip_drequestf (request.c:818)
==8054== by 0x1A2D5817: request (reg.c:289)
==8054== by 0x1A2D542A: response_handler (reg.c:211)
==8054== by 0x1A2CC6D4: terminate (request.c:107)
==8054== by 0x1A2CC8A2: response_handler (request.c:156)
==8054== by 0x1A2C81E8: response_handler (ctrans.c:290)
==8054== by 0x1A2CFB6D: sip_recv (transp.c:247)
==8054== by 0x1A2CFE3B: udp_recv_handler (transp.c:320)
==8054== by 0x1A2FEF90: udp_read (udp.c:219)
==8054== by 0x1A2FEFD9: udp_read_handler (udp.c:232)
==8054== Uninitialised value was created by a stack allocation
==8054== at 0x1A2FE50A: md5_printf (wrap.c:49)
==8054==
==8054== Invalid read of size 4
==8054== at 0x1A30FC01: mem_realloc (mem.c:200)
==8054== by 0x1A307DD5: mbuf_resize (mbuf.c:125)
==8054== by 0x1A308029: mbuf_write_mem (mbuf.c:221)
==8054== by 0x1A308492: vprintf_handler (mbuf.c:479)
==8054== by 0x1A30A3A5: write_padded (print.c:62)
==8054== by 0x1A30B1E4: re_vhprintf (print.c:349)
==8054== by 0x1A3084C6: mbuf_vprintf (mbuf.c:494)
==8054== by 0x1A2FE5BA: md5_printf (wrap.c:57)
==8054== by 0x1A2C6FA1: mkdigest (auth.c:87)
==8054== by 0x1A2C74AE: sip_auth_encode (auth.c:236)
==8054== by 0x1A2CDF70: sip_drequestf (request.c:818)
==8054== by 0x1A2D5817: request (reg.c:289)
==8054== by 0x1A2D542A: response_handler (reg.c:211)
==8054== by 0x1A2CC6D4: terminate (request.c:107)
==8054== by 0x1A2CC8A2: response_handler (request.c:156)
==8054== by 0x1A2C81E8: response_handler (ctrans.c:290)
==8054== by 0x1A2CFB6D: sip_recv (transp.c:247)
==8054== by 0x1A2CFE3B: udp_recv_handler (transp.c:320)
==8054== by 0x1A2FEF90: udp_read (udp.c:219)
==8054== by 0x1A2FEFD9: udp_read_handler (udp.c:232)
==8054== Address 0x4047fffffffffff0 is not stack'd, malloc'd or (recently) free'd
==8054==
==8054==
==8054== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==8054== General Protection Fault
==8054== at 0x1A30FC01: mem_realloc (mem.c:200)
==8054== by 0x1A307DD5: mbuf_resize (mbuf.c:125)
==8054== by 0x1A308029: mbuf_write_mem (mbuf.c:221)
==8054== by 0x1A308492: vprintf_handler (mbuf.c:479)
==8054== by 0x1A30A3A5: write_padded (print.c:62)
==8054== by 0x1A30B1E4: re_vhprintf (print.c:349)
==8054== by 0x1A3084C6: mbuf_vprintf (mbuf.c:494)
==8054== by 0x1A2FE5BA: md5_printf (wrap.c:57)
==8054== by 0x1A2C6FA1: mkdigest (auth.c:87)
==8054== by 0x1A2C74AE: sip_auth_encode (auth.c:236)
==8054== by 0x1A2CDF70: sip_drequestf (request.c:818)
==8054== by 0x1A2D5817: request (reg.c:289)
==8054== by 0x1A2D542A: response_handler (reg.c:211)
==8054== by 0x1A2CC6D4: terminate (request.c:107)
==8054== by 0x1A2CC8A2: response_handler (request.c:156)
==8054== by 0x1A2C81E8: response_handler (ctrans.c:290)
==8054== by 0x1A2CFB6D: sip_recv (transp.c:247)
==8054== by 0x1A2CFE3B: udp_recv_handler (transp.c:320)
==8054== by 0x1A2FEF90: udp_read (udp.c:219)
==8054== by 0x1A2FEFD9: udp_read_handler (udp.c:232)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment