Loading

Paste #pg97jjllg

  1. end of NewsLoop: _current_news: 0x60d00014bb80, w->ni: (nil)
  2. end of NewsLoop: _current_news: 0x60d000023aa0, w->ni: (nil)
  3. end of NewsLoop: _current_news: 0x60d000042a40, w->ni: (nil)
  4. end of NewsLoop: _current_news: 0x60d000048a20, w->ni: (nil)
  5. end of NewsLoop: _current_news: 0x60d000001a40, w->ni: (nil)
  6. end of NewsLoop: _current_news: 0x60d000170140, w->ni: (nil)
  7. end of NewsLoop: _current_news: 0x60d00018afe0, w->ni: (nil)
  8. end of NewsLoop: _current_news: 0x60d000197b00, w->ni: (nil)
  9. end of NewsLoop: _current_news: 0x60d0001a5660, w->ni: (nil)
  10. end of NewsLoop: _current_news: 0x60d0001bad40, w->ni: (nil)
  11. end of NewsLoop: _current_news: 0x60d0001af400, w->ni: (nil)
  12. end of NewsLoop: _current_news: 0x60d0001c8630, w->ni: (nil)
  13. end of NewsLoop: _current_news: 0x60d0001e6e80, w->ni: (nil)
  14. end of NewsLoop: _current_news: 0x60d000207dd0, w->ni: (nil)
  15. end of NewsLoop: _current_news: 0x60d000215ba0, w->ni: (nil)
  16. end of NewsLoop: _current_news: 0x60d000037c60, w->ni: (nil)
  17. end of NewsLoop: _current_news: 0x60d00007ace0, w->ni: (nil)
  18. end of NewsLoop: _current_news: 0x60d00021c3a0, w->ni: (nil)
  19. end of NewsLoop: _current_news: 0x60d00023cc70, w->ni: (nil)
  20. end of NewsLoop: _current_news: 0x60d000253ae0, w->ni: (nil)
  21. end of NewsLoop: _current_news: 0x60d000260600, w->ni: (nil)
  22. end of NewsLoop: _current_news: 0x60d00026c690, w->ni: (nil)
  23. end of NewsLoop: _current_news: 0x60d0000eca80, w->ni: (nil)
  24. end of NewsLoop: _current_news: 0x60d0000db640, w->ni: (nil)
  25. end of NewsLoop: _current_news: 0x60d0000d1ff0, w->ni: (nil)
  26. end of NewsLoop: _current_news: 0x60d0000cb0a0, w->ni: (nil)
  27. end of DeleteNewsItem: _current_news: 0x60d0000cb0a0, w->ni: (nil)
  28. end of NewsLoop: _current_news: 0x60d0000c0050, w->ni: (nil)
  29. end of DeleteNewsItem: _current_news: 0x60d0000c0050, w->ni: (nil)
  30. end of NewsLoop: _current_news: 0x60d0002a31a0, w->ni: (nil)
  31. end of DeleteNewsItem: _current_news: 0x60d0002a31a0, w->ni: (nil)
  32. end of NewsLoop: _current_news: 0x60d0002b6180, w->ni: (nil)
  33. end of DeleteNewsItem: _current_news: 0x60d0002b6180, w->ni: (nil)
  34. end of NewsLoop: _current_news: 0x60d0002d0c10, w->ni: (nil)
  35. end of DeleteNewsItem: _current_news: 0x60d0002d0c10, w->ni: (nil)
  36. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  37. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  38. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  39. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  40. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  41. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  42. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  43. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  44. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  45. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  46. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  47. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  48. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  49. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  50. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  51. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  52. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  53. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  54. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  55. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  56. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  57. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  58. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  59. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  60. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  61. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  62. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  63. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  64. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  65. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  66. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  67. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  68. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  69. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  70. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  71. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  72. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  73. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  74. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  75. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  76. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  77. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  78. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  79. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  80. end of NewsLoop: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  81. end of DeleteNewsItem: _current_news: 0x60d000309460, w->ni: 0x60d000309390
  82. end of DeleteNewsItem: _current_news: 0x60d00057b0d0, w->ni: (nil)
  83. end of NewsLoop: _current_news: 0x60d00057b0d0, w->ni: (nil)
  84. end of DeleteNewsItem: _current_news: 0x60d00057b0d0, w->ni: (nil)
  85. end of NewsLoop: _current_news: 0x60d0005866d0, w->ni: (nil)
  86. end of DeleteNewsItem: _current_news: 0x60d0005866d0, w->ni: (nil)
  87. end of NewsLoop: _current_news: 0x60d00057d080, w->ni: (nil)
  88. end of DeleteNewsItem: _current_news: 0x60d00057d080, w->ni: (nil)
  89. end of NewsLoop: _current_news: 0x60d0005966c0, w->ni: (nil)
  90. end of DeleteNewsItem: _current_news: 0x60d0005966c0, w->ni: (nil)
  91. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  92. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  93. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  94. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  95. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  96. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  97. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  98. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  99. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  100. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  101. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  102. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  103. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  104. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  105. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  106. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  107. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  108. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  109. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  110. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  111. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  112. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  113. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  114. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  115. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  116. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  117. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  118. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  119. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  120. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  121. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  122. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  123. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  124. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  125. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  126. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  127. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  128. end of DeleteNewsItem: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  129. end of NewsLoop: _current_news: 0x60d0005b1cb0, w->ni: 0x60d0005b1b10
  130. =================================================================
  131. ==29590==ERROR: AddressSanitizer: heap-use-after-free on address 0x60d0005b1b30 at pc 0x558f23825d0b bp 0x7ffcfbc71560 sp 0x7ffcfbc71550
  132. READ of size 4 at 0x60d0005b1b30 thread T0
  133.     #0 0x558f23825d0a in NewsWindow::GetNewVehicleMessageString(int) const /home/milek7/OpenTTD/src/news_gui.cpp:538
  134.     #1 0x558f2382667e in NewsWindow::DrawWidget(Rect const&, int) const /home/milek7/OpenTTD/src/news_gui.cpp:416
  135.     #2 0x558f23c1f0f1 in NWidgetLeaf::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:2518
  136.     #3 0x558f23c134e0 in NWidgetPIPContainer::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:1113
  137.     #4 0x558f23c134e0 in NWidgetPIPContainer::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:1113
  138.     #5 0x558f23c1cb90 in NWidgetBackground::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:1863
  139.     #6 0x558f23c134e0 in NWidgetPIPContainer::Draw(Window const*) /home/milek7/OpenTTD/src/widget.cpp:1113
  140.     #7 0x558f23c20288 in Window::DrawWidgets() const /home/milek7/OpenTTD/src/widget.cpp:606
  141.     #8 0x558f23c31daa in DrawOverlappedWindowForAll(int, int, int, int) /home/milek7/OpenTTD/src/window.cpp:958
  142.     #9 0x558f235c16f2 in RedrawScreenRect(int, int, int, int) /home/milek7/OpenTTD/src/gfx.cpp:1291
  143.     #10 0x558f235c2bb7 in DrawDirtyBlocks() /home/milek7/OpenTTD/src/gfx.cpp:1387
  144.     #11 0x558f23c3ed9c in UpdateWindows() /home/milek7/OpenTTD/src/window.cpp:3183
  145.     #12 0x558f23bdcca2 in VideoDriver_SDL::MainLoop() /home/milek7/OpenTTD/src/video/sdl_v.cpp:754
  146.     #13 0x558f2383848f in openttd_main(int, char**) /home/milek7/OpenTTD/src/openttd.cpp:860
  147.     #14 0x7f7316961ee2 in __libc_start_main (/usr/lib/libc.so.6+0x26ee2)
  148.     #15 0x558f2330310d in _start (/home/milek7/OpenTTD/bin/openttd+0x69d10d)
  149.  
  150. 0x60d0005b1b30 is located 32 bytes inside of 136-byte region [0x60d0005b1b10,0x60d0005b1b98)
  151. freed by thread T0 here:
  152.     #0 0x7f73198a5900 in operator delete(void*) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cc:165
  153.     #1 0x558f238238d4 in DeleteNewsItem /home/milek7/OpenTTD/src/news_gui.cpp:838
  154.  
  155. previously allocated by thread T0 here:
  156.     #0 0x7f73198a4908 in operator new(unsigned long) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cc:104
  157.     #1 0x558f23822ea9 in AddNewsItem(unsigned int, NewsType, NewsFlag, NewsReferenceType, unsigned int, NewsReferenceType, unsigned int, void*) /home/milek7/OpenTTD/src/news_gui.cpp:702
  158.  
  159. SUMMARY: AddressSanitizer: heap-use-after-free /home/milek7/OpenTTD/src/news_gui.cpp:538 in NewsWindow::GetNewVehicleMessageString(int) const

Comments