jflasch

JanusCrashLibasan2

Sep 11th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. #0 0x7f30d4a6edbe in janus_videoroom_hangup_media_internal plugins/janus_videoroom.c:4840
  2. #1 0x7f30d4a39f43 in janus_videoroom_destroy_session plugins/janus_videoroom.c:2422
  3. #2 0x47b454 in janus_ice_outgoing_traffic_handle /janus-gateway/ice.c:3883
  4. #3 0x43eab1 in janus_ice_outgoing_traffic_dispatch /janus-gateway/ice.c:358
  5. #4 0x7f30e78bb196 in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a196)
  6. #5 0x7f30e78bb3ef (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a3ef)
  7. #6 0x7f30e78bb711 in g_main_loop_run (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a711)
  8. #7 0x44bdf3 in janus_ice_handle_thread /janus-gateway/ice.c:1101
  9. #8 0x7f30e78e1c54 (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x70c54)
  10. #9 0x7f30e61426b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
  11. #10 0x7f30e5e7841c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10741c)
  12.  
  13. 0x6130002138bc is located 316 bytes inside of 360-byte region [0x613000213780,0x6130002138e8)
  14. freed by thread T254 (hloop 414863112) here:
  15. #0 0x7f30e82c72ca in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x982ca)
  16. #1 0x7f30d4a2ba97 in janus_videoroom_subscriber_free plugins/janus_videoroom.c:1553
  17. #2 0x7f30d4a6dbe7 in janus_videoroom_hangup_subscriber plugins/janus_videoroom.c:4775
  18. #3 0x7f30d4a6f183 in janus_videoroom_hangup_media_internal plugins/janus_videoroom.c:4857
  19. #4 0x7f30d4a6d2da in janus_videoroom_hangup_media plugins/janus_videoroom.c:4745
  20. #5 0x47ae39 in janus_ice_outgoing_traffic_handle /janus-gateway/ice.c:3851
  21. #6 0x43eab1 in janus_ice_outgoing_traffic_dispatch /janus-gateway/ice.c:358
  22. #7 0x7f30e78bb196 in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a196)
  23.  
  24. previously allocated by thread T19 here:
  25. #0 0x7f30e82c779a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
  26. #1 0x7f30e78c0810 in g_malloc0 (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4f810)
  27. #2 0x7f30e78e1c54 (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x70c54)
  28.  
  29. Thread T254 (hloop 414863112) created by T9 here:
  30. #0 0x7f30e8265253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
  31. #1 0x7f30e78ff8ff (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x8e8ff)
  32.  
  33. Thread T9 created by T0 here:
  34. #0 0x7f30e8265253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
  35. #1 0x7f30e78ff8ff (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x8e8ff)
  36.  
  37. Thread T19 created by T0 here:
  38. #0 0x7f30e8265253 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x36253)
  39. #1 0x7f30e78ff8ff (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x8e8ff)
  40.  
  41. SUMMARY: AddressSanitizer: heap-use-after-free plugins/janus_videoroom.c:4840 janus_videoroom_hangup_media_internal
  42. Shadow bytes around the buggy address:
  43. 0x0c268003a6c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  44. 0x0c268003a6d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  45. 0x0c268003a6e0: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
  46. 0x0c268003a6f0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  47. 0x0c268003a700: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  48. =>0x0c268003a710: fd fd fd fd fd fd fd[fd]fd fd fd fd fd fa fa fa
  49. 0x0c268003a720: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  50. 0x0c268003a730: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  51. 0x0c268003a740: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  52. 0x0c268003a750: fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa
  53. 0x0c268003a760: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  54. Shadow byte legend (one shadow byte represents 8 application bytes):
  55. Addressable: 00
  56. Partially addressable: 01 02 03 04 05 06 07
  57. Heap left redzone: fa
  58. Heap right redzone: fb
  59. Freed heap region: fd
  60. Stack left redzone: f1
  61. Stack mid redzone: f2
  62. Stack right redzone: f3
  63. Stack partial redzone: f4
  64. Stack after return: f5
  65. Stack use after scope: f8
  66. Global redzone: f9
  67. Global init order: f6
  68. Poisoned by user: f7
  69. Container overflow: fc
  70. Array cookie: ac
  71. Intra object redzone: bb
  72. ASan internal: fe
Advertisement
Add Comment
Please, Sign In to add comment