Loading

Paste #ptc8yax97

  1. (gdb) bt
  2. #0  __asan::ReportGenericError (pc=93825004551211, bp=bp@entry=140737488342624, sp=sp@entry=140737488342608, addr=106446473194640, is_write=is_write@entry=false, access_size=access_size@entry=4, exp=0, fatal=true)
  3.     at /build/gcc/src/gcc/libsanitizer/asan/asan_report.cc:445
  4. #1  0x00007ffff763936c in __asan::__asan_report_load4 (addr=<optimized out>) at /build/gcc/src/gcc/libsanitizer/asan/asan_rtl.cc:118
  5. #2  0x0000555556113c2b in NewsWindow::GetNewVehicleMessageString (this=<optimized out>, widget=<optimized out>) at /home/milek7/OpenTTD/src/news_gui.cpp:544
  6. #3  0x000055555611459f in NewsWindow::DrawWidget (this=0x6110003bd980, r=..., widget=<optimized out>) at /home/milek7/OpenTTD/src/news_gui.cpp:416
  7. #4  0x000055555650d012 in NWidgetLeaf::Draw (this=0x60b0006c2e20, w=<optimized out>) at /home/milek7/OpenTTD/src/widget.cpp:2518
  8. #5  0x0000555556501401 in NWidgetPIPContainer::Draw (this=<optimized out>, w=0x6110003bd980) at /home/milek7/OpenTTD/src/widget.cpp:1113
  9. #6  0x0000555556501401 in NWidgetPIPContainer::Draw (this=<optimized out>, w=0x6110003bd980) at /home/milek7/OpenTTD/src/widget.cpp:1113
  10. #7  0x000055555650aab1 in NWidgetBackground::Draw (this=0x60c000319f00, w=0x6110003bd980) at /home/milek7/OpenTTD/src/widget.cpp:1863
  11. #8  0x0000555556501401 in NWidgetPIPContainer::Draw (this=<optimized out>, w=0x6110003bd980) at /home/milek7/OpenTTD/src/widget.cpp:1113
  12. #9  0x000055555650e1a9 in Window::DrawWidgets (this=0x6110003bd980) at /home/milek7/OpenTTD/src/widget.cpp:606
  13. #10 0x000055555651fccb in DrawOverlappedWindowForAll (left=left@entry=256, top=top@entry=0, right=right@entry=384, bottom=bottom@entry=240) at /home/milek7/OpenTTD/src/window.cpp:958
  14. #11 0x0000555555eaf6f3 in RedrawScreenRect (left=256, top=0, right=384, bottom=240) at /home/milek7/OpenTTD/src/gfx.cpp:1291
  15. #12 0x0000555555eb0bb8 in DrawDirtyBlocks () at /home/milek7/OpenTTD/src/gfx.cpp:1387
  16. #13 0x000055555652ccbd in UpdateWindows () at /home/milek7/OpenTTD/src/window.cpp:3183
  17. #14 0x00005555564cabc3 in VideoDriver_SDL::MainLoop (this=0x6020000551b0) at /home/milek7/OpenTTD/src/video/sdl_v.cpp:754
  18. #15 0x00005555561263b0 in openttd_main (argc=<optimized out>, argv=<optimized out>) at /home/milek7/OpenTTD/src/openttd.cpp:860
  19. #16 0x00007ffff46edee3 in __libc_start_main () from /usr/lib/libc.so.6
  20. #17 0x0000555555bf110e in _start () at /home/milek7/OpenTTD/src/gfx.cpp:1703
  21. (gdb) f 5
  22. #5  0x0000555556501401 in NWidgetPIPContainer::Draw (this=<optimized out>, w=0x6110003bd980) at /home/milek7/OpenTTD/src/widget.cpp:1113
  23. 1113            child_wid->Draw(w);
  24. (gdb) p w
  25. $1 = (const Window *) 0x6110003bd980
  26. (gdb) p *w
  27. $2 = {<ZeroedMemoryAllocator> = {_vptr.ZeroedMemoryAllocator = 0x5555569bd3e0 <vtable for NewsWindow+16>}, scheduled_invalidation_data = std::vector of length 0, capacity 0, window_desc = 0x555557c76f60 <_vehicle_news_desc>,
  28.   flags = WF_DISABLE_VP_SCROLL, window_class = WC_NEWS_WINDOW, window_number = 0, timeout_timer = 0 '\000', white_border_timer = 0 '\000', left = 60, top = 217, width = 433, height = 168, resize = {step_width = 0, step_height = 0},
  29.   owner = -1, viewport = 0x0, nested_focus = 0x0, querystrings = {<std::vector<SmallPair<int, QueryString*>, std::allocator<SmallPair<int, QueryString*> > >> = std::vector of length 0, capacity 0, <No data fields>},
  30.   nested_root = 0x60b0006c32f0, nested_array = 0x60d00038eee0, nested_array_size = 17, shade_select = 0x0, unshaded_size = {width = 0, height = 0}, mouse_capture_widget = -1, parent = 0x0, z_front = 0x611000026ec0, z_back = 0x61100002b240}

Comments