Loading

Paste #p9ij5a1gv

  1. _current_news: 0x60d0001b0b90, w->ni: (nil)
  2. _current_news: 0x60d0001b4130, w->ni: (nil)
  3. _current_news: 0x60d0001af740, w->ni: (nil)
  4. _current_news: 0x60d0001af740, w->ni: (nil)
  5. _current_news: 0x60d0001c4460, w->ni: (nil)
  6. _current_news: 0x60d0001d4ba0, w->ni: (nil)
  7. _current_news: 0x60d0001dd900, w->ni: (nil)
  8. _current_news: 0x60d0001dd900, w->ni: (nil)
  9. _current_news: 0x60d00015e750, w->ni: (nil)
  10. _current_news: 0x60d0001e8470, w->ni: (nil)
  11. _current_news: 0x60d0001f3c10, w->ni: (nil)
  12. _current_news: 0x60d0001f3c10, w->ni: (nil)
  13. _current_news: 0x60d0001fd260, w->ni: (nil)
  14. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  15. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  16. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  17. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  18. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  19. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  20. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  21. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  22. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  23. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  24. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  25. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  26. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  27. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  28. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  29. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  30. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  31. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  32. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  33. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  34. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  35. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  36. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  37. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  38. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  39. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  40. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  41. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  42. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  43. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  44. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  45. _current_news: 0x60d0002085f0, w->ni: 0x60d0002085f0
  46. _current_news: 0x60d0002909e0, w->ni: (nil)
  47. _current_news: 0x60d0002909e0, w->ni: (nil)
  48. _current_news: 0x60d000292e70, w->ni: (nil)
  49. _current_news: 0x60d0002961a0, w->ni: (nil)
  50. _current_news: 0x60d000298630, w->ni: (nil)
  51. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  52. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  53. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  54. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  55. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  56. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  57. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  58. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  59. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  60. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  61. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  62. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  63. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  64. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  65. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  66. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  67. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  68. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  69. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  70. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  71. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  72. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  73. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  74. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  75. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  76. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  77. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  78. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  79. _current_news: 0x60d0002a1fc0, w->ni: 0x60d0002a1fc0
  80. _current_news: 0x60d000062950, w->ni: (nil)
  81. _current_news: 0x60d000062950, w->ni: (nil)
  82. _current_news: 0x60d000062950, w->ni: (nil)
  83. _current_news: 0x60d0000aaf20, w->ni: (nil)
  84. _current_news: 0x60d0000b9510, w->ni: (nil)
  85. _current_news: 0x60d0000b3fc0, w->ni: (nil)
  86. _current_news: 0x60d0000b1c00, w->ni: (nil)
  87. _current_news: 0x60d00009d220, w->ni: (nil)
  88. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  89. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  90. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  91. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  92. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  93. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  94. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  95. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  96. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  97. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  98. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  99. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  100. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  101. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  102. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  103. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  104. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  105. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  106. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  107. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  108. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  109. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  110. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  111. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  112. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  113. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  114. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  115. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  116. _current_news: 0x60d000090be0, w->ni: 0x60d000090be0
  117. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  118. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  119. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  120. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  121. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  122. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  123. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  124. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  125. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  126. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  127. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  128. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  129. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  130. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  131. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  132. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  133. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  134. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  135. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  136. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  137. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  138. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  139. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  140. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  141. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  142. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  143. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  144. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  145. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  146. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  147. _current_news: 0x60d0003c0230, w->ni: 0x60d0003c0160
  148. =================================================================
  149. ==29307==ERROR: AddressSanitizer: heap-use-after-free on address 0x60d0003c0180 at pc 0x55d5a264bc8b bp 0x7ffe928e2470 sp 0x7ffe928e2460
  150. READ of size 4 at 0x60d0003c0180 thread T0
  151.     #0 0x55d5a264bc8a in NewsWindow::GetNewVehicleMessageString(int) const /home/milek7/OpenTTD/src/news_gui.cpp:538
  152.     #1 0x55d5a264c5fe in NewsWindow::DrawWidget(Rect const&, int) const /home/milek7/OpenTTD/src/news_gui.cpp:416
  153.     #2 0x55d5a2a45071 in NWidgetLeaf::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:2518
  154.     #3 0x55d5a2a39460 in NWidgetPIPContainer::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:1113
  155.     #4 0x55d5a2a39460 in NWidgetPIPContainer::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:1113
  156.     #5 0x55d5a2a42b10 in NWidgetBackground::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:1863
  157.     #6 0x55d5a2a39460 in NWidgetPIPContainer::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:1113
  158.     #7 0x55d5a2a46208 in Window::DrawWidgets() const /home/milek7/OpenTTD/src/widget.cpp:606
  159.     #8 0x55d5a2a57d2a in DrawOverlappedWindowForAll(int, int, int, int) /home/milek7/OpenTTD/src/window.cpp:958
  160.     #9 0x55d5a23e76f2 in RedrawScreenRect(int, int, int, int) /home/milek7/OpenTTD/src/gfx.cpp:1291
  161.     #10 0x55d5a23e8bb7 in DrawDirtyBlocks() /home/milek7/OpenTTD/src/gfx.cpp:1387
  162.     #11 0x55d5a2a64d1c in UpdateWindows() /home/milek7/OpenTTD/src/window.cpp:3183
  163.     #12 0x55d5a2a02c22 in VideoDriver_SDL::MainLoop() /home/milek7/OpenTTD/src/video/sdl_v.cpp:754
  164.     #13 0x55d5a265e40f in openttd_main(int, char**) /home/milek7/OpenTTD/src/openttd.cpp:860
  165.     #14 0x7ffa7749aee2 in __libc_start_main (/usr/lib/libc.so.6+0x26ee2)
  166.     #15 0x55d5a212910d in _start (/home/milek7/OpenTTD/bin/openttd+0x69d10d)
  167.  
  168. 0x60d0003c0180 is located 32 bytes inside of 136-byte region [0x60d0003c0160,0x60d0003c01e8)
  169. freed by thread T0 here:
  170.     #0 0x7ffa7a3de900 in operator delete(void*) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cc:165
  171.     #1 0x55d5a26498d4 in DeleteNewsItem /home/milek7/OpenTTD/src/news_gui.cpp:838
  172.  
  173. previously allocated by thread T0 here:
  174.     #0 0x7ffa7a3dd908 in operator new(unsigned long) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cc:104
  175.     #1 0x55d5a2648ea9 in AddNewsItem(unsigned int, NewsType, NewsFlag, NewsReferenceType, unsigned int, NewsReferenceType, unsigned int, void*) /home/milek7/OpenTTD/src/news_gui.cpp:702
  176.  
  177. SUMMARY: AddressSanitizer: heap-use-after-free /home/milek7/OpenTTD/src/news_gui.cpp:538 in NewsWindow::GetNewVehicleMessageString(int) const

Comments