==17195== Memcheck, a memory error detector ==17195== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==17195== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==17195== Command: ./deqp-vk -n dEQP-VK.wsi.wayland.incremental_present.scale_none.fifo.incremental_present ==17195== Writing test log into TestResults.qpa dEQP Core git-493695a3b931ee4cc1d573ded0ec997d81999ba8 (0x493695a3) starting.. target implementation = 'Default' Test case 'dEQP-VK.wsi.wayland.incremental_present.scale_none.fifo.incremental_present'.. Fragment shader compile time = 2926.965088 ms Link time = 26.625000 ms Vertex shader compile time = 3316.398926 ms Link time = 1.785000 ms wl_drm.device(/dev/dri/card0) ==17195== Invalid read of size 4 ==17195== at 0x6AA8B20: pthread_mutex_lock (pthread_mutex_lock.c:67) ==17195== by 0x5E68B49: wl_proxy_destroy (wayland-client.c:441) ==17195== by 0xA288539: wl_drm_destroy (wayland-drm-client-protocol.h:248) ==17195== by 0xA288948: wsi_wl_display_destroy (wsi_common_wayland.c:257) ==17195== by 0xA289DDF: wsi_wl_finish_wsi (wsi_common_wayland.c:936) ==17195== by 0xA082A93: anv_finish_wsi (anv_wsi.c:67) ==17195== by 0xA0687C3: anv_physical_device_finish (anv_device.c:408) ==17195== by 0xA068B9E: anv_DestroyInstance (anv_device.c:508) ==17195== by 0x9DE3896: ??? (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0x9DEE130: vkDestroyInstance (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0xAD2548: vk::refdetails::Deleter::operator()(vk::VkInstance_s*) const (vkRef.hpp:109) ==17195== by 0xAD308F: vk::refdetails::RefBase::reset() (vkRef.hpp:274) ==17195== Address 0xb6da710 is 240 bytes inside a block of size 320 free'd ==17195== at 0x4C2CE1B: free (vg_replace_malloc.c:530) ==17195== by 0x5E698DD: wl_display_disconnect (wayland-client.c:1047) ==17195== by 0xAAC98B: tcu::lnx::wayland::Display::~Display() (tcuLnxWayland.cpp:125) ==17195== by 0xAAC9A8: tcu::lnx::wayland::Display::~Display() (tcuLnxWayland.cpp:126) ==17195== by 0xAA9B83: de::DefaultDeleter::operator()(tcu::lnx::wayland::Display*) const (deDefs.hpp:62) ==17195== by 0xAA999F: de::details::UniqueBase >::reset() (deUniquePtr.hpp:90) ==17195== by 0xAA9473: de::details::UniqueBase >::~UniqueBase() (deUniquePtr.hpp:82) ==17195== by 0xAA8C85: de::details::MovePtr >::~MovePtr() (deUniquePtr.hpp:125) ==17195== by 0xAA9CC8: tcu::lnx::VulkanDisplayWayland::~VulkanDisplayWayland() (tcuLnxVulkanPlatform.cpp:158) ==17195== by 0xAA9D10: tcu::lnx::VulkanDisplayWayland::~VulkanDisplayWayland() (tcuLnxVulkanPlatform.cpp:158) ==17195== by 0x11EB059: de::DefaultDeleter::operator()(vk::wsi::Display*) const (deDefs.hpp:62) ==17195== by 0x11E9F5B: de::details::UniqueBase >::reset() (deUniquePtr.hpp:90) ==17195== Block was alloc'd at ==17195== at 0x4C2DC05: calloc (vg_replace_malloc.c:711) ==17195== by 0x5E684D6: zalloc (wayland-private.h:234) ==17195== by 0x5E6957D: wl_display_connect_to_fd (wayland-client.c:927) ==17195== by 0x5E6984D: wl_display_connect (wayland-client.c:1024) ==17195== by 0xAAC67E: tcu::lnx::wayland::Display::Display(tcu::lnx::EventState&, char const*) (tcuLnxWayland.cpp:80) ==17195== by 0xAA7B01: tcu::lnx::VulkanPlatform::createWsiDisplay(vk::wsi::Type) const (tcuLnxVulkanPlatform.cpp:219) ==17195== by 0x11FCE14: vkt::wsi::(anonymous namespace)::createDisplay(vk::Platform const&, std::vector > const&, vk::wsi::Type) (vktWsiIncrementalPresentTests.cpp:188) ==17195== by 0x11FF742: vkt::wsi::(anonymous namespace)::IncrementalPresentTestInstance::IncrementalPresentTestInstance(vkt::Context&, vkt::wsi::(anonymous namespace)::TestConfig const&) (vktWsiIncrementalPresentTests.cpp:1057) ==17195== by 0x1203ACA: vkt::InstanceFactory1::createInstance(vkt::Context&) const (vktTestCaseUtil.hpp:55) ==17195== by 0xAAE46D: vkt::TestCaseExecutor::init(tcu::TestCase*, std::__cxx11::basic_string, std::allocator > const&) (vktTestPackage.cpp:250) ==17195== by 0x1890348: tcu::TestSessionExecutor::enterTestCase(tcu::TestCase*, std::__cxx11::basic_string, std::allocator > const&) (tcuTestSessionExecutor.cpp:180) ==17195== by 0x188FF5E: tcu::TestSessionExecutor::iterate() (tcuTestSessionExecutor.cpp:101) ==17195== ==17195== Invalid read of size 4 ==17195== at 0x6AA84E9: __pthread_mutex_lock_full (pthread_mutex_lock.c:175) ==17195== by 0x5E68B49: wl_proxy_destroy (wayland-client.c:441) ==17195== by 0xA288539: wl_drm_destroy (wayland-drm-client-protocol.h:248) ==17195== by 0xA288948: wsi_wl_display_destroy (wsi_common_wayland.c:257) ==17195== by 0xA289DDF: wsi_wl_finish_wsi (wsi_common_wayland.c:936) ==17195== by 0xA082A93: anv_finish_wsi (anv_wsi.c:67) ==17195== by 0xA0687C3: anv_physical_device_finish (anv_device.c:408) ==17195== by 0xA068B9E: anv_DestroyInstance (anv_device.c:508) ==17195== by 0x9DE3896: ??? (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0x9DEE130: vkDestroyInstance (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0xAD2548: vk::refdetails::Deleter::operator()(vk::VkInstance_s*) const (vkRef.hpp:109) ==17195== by 0xAD308F: vk::refdetails::RefBase::reset() (vkRef.hpp:274) ==17195== Address 0xb6da710 is 240 bytes inside a block of size 320 free'd ==17195== at 0x4C2CE1B: free (vg_replace_malloc.c:530) ==17195== by 0x5E698DD: wl_display_disconnect (wayland-client.c:1047) ==17195== by 0xAAC98B: tcu::lnx::wayland::Display::~Display() (tcuLnxWayland.cpp:125) ==17195== by 0xAAC9A8: tcu::lnx::wayland::Display::~Display() (tcuLnxWayland.cpp:126) ==17195== by 0xAA9B83: de::DefaultDeleter::operator()(tcu::lnx::wayland::Display*) const (deDefs.hpp:62) ==17195== by 0xAA999F: de::details::UniqueBase >::reset() (deUniquePtr.hpp:90) ==17195== by 0xAA9473: de::details::UniqueBase >::~UniqueBase() (deUniquePtr.hpp:82) ==17195== by 0xAA8C85: de::details::MovePtr >::~MovePtr() (deUniquePtr.hpp:125) ==17195== by 0xAA9CC8: tcu::lnx::VulkanDisplayWayland::~VulkanDisplayWayland() (tcuLnxVulkanPlatform.cpp:158) ==17195== by 0xAA9D10: tcu::lnx::VulkanDisplayWayland::~VulkanDisplayWayland() (tcuLnxVulkanPlatform.cpp:158) ==17195== by 0x11EB059: de::DefaultDeleter::operator()(vk::wsi::Display*) const (deDefs.hpp:62) ==17195== by 0x11E9F5B: de::details::UniqueBase >::reset() (deUniquePtr.hpp:90) ==17195== Block was alloc'd at ==17195== at 0x4C2DC05: calloc (vg_replace_malloc.c:711) ==17195== by 0x5E684D6: zalloc (wayland-private.h:234) ==17195== by 0x5E6957D: wl_display_connect_to_fd (wayland-client.c:927) ==17195== by 0x5E6984D: wl_display_connect (wayland-client.c:1024) ==17195== by 0xAAC67E: tcu::lnx::wayland::Display::Display(tcu::lnx::EventState&, char const*) (tcuLnxWayland.cpp:80) ==17195== by 0xAA7B01: tcu::lnx::VulkanPlatform::createWsiDisplay(vk::wsi::Type) const (tcuLnxVulkanPlatform.cpp:219) ==17195== by 0x11FCE14: vkt::wsi::(anonymous namespace)::createDisplay(vk::Platform const&, std::vector > const&, vk::wsi::Type) (vktWsiIncrementalPresentTests.cpp:188) ==17195== by 0x11FF742: vkt::wsi::(anonymous namespace)::IncrementalPresentTestInstance::IncrementalPresentTestInstance(vkt::Context&, vkt::wsi::(anonymous namespace)::TestConfig const&) (vktWsiIncrementalPresentTests.cpp:1057) ==17195== by 0x1203ACA: vkt::InstanceFactory1::createInstance(vkt::Context&) const (vktTestCaseUtil.hpp:55) ==17195== by 0xAAE46D: vkt::TestCaseExecutor::init(tcu::TestCase*, std::__cxx11::basic_string, std::allocator > const&) (vktTestPackage.cpp:250) ==17195== by 0x1890348: tcu::TestSessionExecutor::enterTestCase(tcu::TestCase*, std::__cxx11::basic_string, std::allocator > const&) (tcuTestSessionExecutor.cpp:180) ==17195== by 0x188FF5E: tcu::TestSessionExecutor::iterate() (tcuTestSessionExecutor.cpp:101) ==17195== ==17195== Invalid read of size 8 ==17195== at 0x5E6DED2: wl_map_insert_at (wayland-util.c:240) ==17195== by 0x5E68A9C: proxy_destroy (wayland-client.c:411) ==17195== by 0x5E68B55: wl_proxy_destroy (wayland-client.c:442) ==17195== by 0xA288539: wl_drm_destroy (wayland-drm-client-protocol.h:248) ==17195== by 0xA288948: wsi_wl_display_destroy (wsi_common_wayland.c:257) ==17195== by 0xA289DDF: wsi_wl_finish_wsi (wsi_common_wayland.c:936) ==17195== by 0xA082A93: anv_finish_wsi (anv_wsi.c:67) ==17195== by 0xA0687C3: anv_physical_device_finish (anv_device.c:408) ==17195== by 0xA068B9E: anv_DestroyInstance (anv_device.c:508) ==17195== by 0x9DE3896: ??? (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0x9DEE130: vkDestroyInstance (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0xAD2548: vk::refdetails::Deleter::operator()(vk::VkInstance_s*) const (vkRef.hpp:109) ==17195== Address 0xb6da698 is 120 bytes inside a block of size 320 free'd ==17195== at 0x4C2CE1B: free (vg_replace_malloc.c:530) ==17195== by 0x5E698DD: wl_display_disconnect (wayland-client.c:1047) ==17195== by 0xAAC98B: tcu::lnx::wayland::Display::~Display() (tcuLnxWayland.cpp:125) ==17195== by 0xAAC9A8: tcu::lnx::wayland::Display::~Display() (tcuLnxWayland.cpp:126) ==17195== by 0xAA9B83: de::DefaultDeleter::operator()(tcu::lnx::wayland::Display*) const (deDefs.hpp:62) ==17195== by 0xAA999F: de::details::UniqueBase >::reset() (deUniquePtr.hpp:90) ==17195== by 0xAA9473: de::details::UniqueBase >::~UniqueBase() (deUniquePtr.hpp:82) ==17195== by 0xAA8C85: de::details::MovePtr >::~MovePtr() (deUniquePtr.hpp:125) ==17195== by 0xAA9CC8: tcu::lnx::VulkanDisplayWayland::~VulkanDisplayWayland() (tcuLnxVulkanPlatform.cpp:158) ==17195== by 0xAA9D10: tcu::lnx::VulkanDisplayWayland::~VulkanDisplayWayland() (tcuLnxVulkanPlatform.cpp:158) ==17195== by 0x11EB059: de::DefaultDeleter::operator()(vk::wsi::Display*) const (deDefs.hpp:62) ==17195== by 0x11E9F5B: de::details::UniqueBase >::reset() (deUniquePtr.hpp:90) ==17195== Block was alloc'd at ==17195== at 0x4C2DC05: calloc (vg_replace_malloc.c:711) ==17195== by 0x5E684D6: zalloc (wayland-private.h:234) ==17195== by 0x5E6957D: wl_display_connect_to_fd (wayland-client.c:927) ==17195== by 0x5E6984D: wl_display_connect (wayland-client.c:1024) ==17195== by 0xAAC67E: tcu::lnx::wayland::Display::Display(tcu::lnx::EventState&, char const*) (tcuLnxWayland.cpp:80) ==17195== by 0xAA7B01: tcu::lnx::VulkanPlatform::createWsiDisplay(vk::wsi::Type) const (tcuLnxVulkanPlatform.cpp:219) ==17195== by 0x11FCE14: vkt::wsi::(anonymous namespace)::createDisplay(vk::Platform const&, std::vector > const&, vk::wsi::Type) (vktWsiIncrementalPresentTests.cpp:188) ==17195== by 0x11FF742: vkt::wsi::(anonymous namespace)::IncrementalPresentTestInstance::IncrementalPresentTestInstance(vkt::Context&, vkt::wsi::(anonymous namespace)::TestConfig const&) (vktWsiIncrementalPresentTests.cpp:1057) ==17195== by 0x1203ACA: vkt::InstanceFactory1::createInstance(vkt::Context&) const (vktTestCaseUtil.hpp:55) ==17195== by 0xAAE46D: vkt::TestCaseExecutor::init(tcu::TestCase*, std::__cxx11::basic_string, std::allocator > const&) (vktTestPackage.cpp:250) ==17195== by 0x1890348: tcu::TestSessionExecutor::enterTestCase(tcu::TestCase*, std::__cxx11::basic_string, std::allocator > const&) (tcuTestSessionExecutor.cpp:180) ==17195== by 0x188FF5E: tcu::TestSessionExecutor::iterate() (tcuTestSessionExecutor.cpp:101) ==17195== ==17195== Invalid read of size 8 ==17195== at 0x5E6DF08: wl_map_insert_at (wayland-util.c:247) ==17195== by 0x5E68A9C: proxy_destroy (wayland-client.c:411) ==17195== by 0x5E68B55: wl_proxy_destroy (wayland-client.c:442) ==17195== by 0xA288539: wl_drm_destroy (wayland-drm-client-protocol.h:248) ==17195== by 0xA288948: wsi_wl_display_destroy (wsi_common_wayland.c:257) ==17195== by 0xA289DDF: wsi_wl_finish_wsi (wsi_common_wayland.c:936) ==17195== by 0xA082A93: anv_finish_wsi (anv_wsi.c:67) ==17195== by 0xA0687C3: anv_physical_device_finish (anv_device.c:408) ==17195== by 0xA068B9E: anv_DestroyInstance (anv_device.c:508) ==17195== by 0x9DE3896: ??? (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0x9DEE130: vkDestroyInstance (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0xAD2548: vk::refdetails::Deleter::operator()(vk::VkInstance_s*) const (vkRef.hpp:109) ==17195== Address 0xb6da6a8 is 136 bytes inside a block of size 320 free'd ==17195== at 0x4C2CE1B: free (vg_replace_malloc.c:530) ==17195== by 0x5E698DD: wl_display_disconnect (wayland-client.c:1047) ==17195== by 0xAAC98B: tcu::lnx::wayland::Display::~Display() (tcuLnxWayland.cpp:125) ==17195== by 0xAAC9A8: tcu::lnx::wayland::Display::~Display() (tcuLnxWayland.cpp:126) ==17195== by 0xAA9B83: de::DefaultDeleter::operator()(tcu::lnx::wayland::Display*) const (deDefs.hpp:62) ==17195== by 0xAA999F: de::details::UniqueBase >::reset() (deUniquePtr.hpp:90) ==17195== by 0xAA9473: de::details::UniqueBase >::~UniqueBase() (deUniquePtr.hpp:82) ==17195== by 0xAA8C85: de::details::MovePtr >::~MovePtr() (deUniquePtr.hpp:125) ==17195== by 0xAA9CC8: tcu::lnx::VulkanDisplayWayland::~VulkanDisplayWayland() (tcuLnxVulkanPlatform.cpp:158) ==17195== by 0xAA9D10: tcu::lnx::VulkanDisplayWayland::~VulkanDisplayWayland() (tcuLnxVulkanPlatform.cpp:158) ==17195== by 0x11EB059: de::DefaultDeleter::operator()(vk::wsi::Display*) const (deDefs.hpp:62) ==17195== by 0x11E9F5B: de::details::UniqueBase >::reset() (deUniquePtr.hpp:90) ==17195== Block was alloc'd at ==17195== at 0x4C2DC05: calloc (vg_replace_malloc.c:711) ==17195== by 0x5E684D6: zalloc (wayland-private.h:234) ==17195== by 0x5E6957D: wl_display_connect_to_fd (wayland-client.c:927) ==17195== by 0x5E6984D: wl_display_connect (wayland-client.c:1024) ==17195== by 0xAAC67E: tcu::lnx::wayland::Display::Display(tcu::lnx::EventState&, char const*) (tcuLnxWayland.cpp:80) ==17195== by 0xAA7B01: tcu::lnx::VulkanPlatform::createWsiDisplay(vk::wsi::Type) const (tcuLnxVulkanPlatform.cpp:219) ==17195== by 0x11FCE14: vkt::wsi::(anonymous namespace)::createDisplay(vk::Platform const&, std::vector > const&, vk::wsi::Type) (vktWsiIncrementalPresentTests.cpp:188) ==17195== by 0x11FF742: vkt::wsi::(anonymous namespace)::IncrementalPresentTestInstance::IncrementalPresentTestInstance(vkt::Context&, vkt::wsi::(anonymous namespace)::TestConfig const&) (vktWsiIncrementalPresentTests.cpp:1057) ==17195== by 0x1203ACA: vkt::InstanceFactory1::createInstance(vkt::Context&) const (vktTestCaseUtil.hpp:55) ==17195== by 0xAAE46D: vkt::TestCaseExecutor::init(tcu::TestCase*, std::__cxx11::basic_string, std::allocator > const&) (vktTestPackage.cpp:250) ==17195== by 0x1890348: tcu::TestSessionExecutor::enterTestCase(tcu::TestCase*, std::__cxx11::basic_string, std::allocator > const&) (tcuTestSessionExecutor.cpp:180) ==17195== by 0x188FF5E: tcu::TestSessionExecutor::iterate() (tcuTestSessionExecutor.cpp:101) ==17195== ==17195== Invalid write of size 8 ==17195== at 0x5E6DF26: wl_map_insert_at (wayland-util.c:248) ==17195== by 0x5E68A9C: proxy_destroy (wayland-client.c:411) ==17195== by 0x5E68B55: wl_proxy_destroy (wayland-client.c:442) ==17195== by 0xA288539: wl_drm_destroy (wayland-drm-client-protocol.h:248) ==17195== by 0xA288948: wsi_wl_display_destroy (wsi_common_wayland.c:257) ==17195== by 0xA289DDF: wsi_wl_finish_wsi (wsi_common_wayland.c:936) ==17195== by 0xA082A93: anv_finish_wsi (anv_wsi.c:67) ==17195== by 0xA0687C3: anv_physical_device_finish (anv_device.c:408) ==17195== by 0xA068B9E: anv_DestroyInstance (anv_device.c:508) ==17195== by 0x9DE3896: ??? (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0x9DEE130: vkDestroyInstance (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0xAD2548: vk::refdetails::Deleter::operator()(vk::VkInstance_s*) const (vkRef.hpp:109) ==17195== Address 0x4c is not stack'd, malloc'd or (recently) free'd ==17195== ==17195== ==17195== Process terminating with default action of signal 11 (SIGSEGV) ==17195== Access not within mapped region at address 0x4C ==17195== at 0x5E6DF26: wl_map_insert_at (wayland-util.c:248) ==17195== by 0x5E68A9C: proxy_destroy (wayland-client.c:411) ==17195== by 0x5E68B55: wl_proxy_destroy (wayland-client.c:442) ==17195== by 0xA288539: wl_drm_destroy (wayland-drm-client-protocol.h:248) ==17195== by 0xA288948: wsi_wl_display_destroy (wsi_common_wayland.c:257) ==17195== by 0xA289DDF: wsi_wl_finish_wsi (wsi_common_wayland.c:936) ==17195== by 0xA082A93: anv_finish_wsi (anv_wsi.c:67) ==17195== by 0xA0687C3: anv_physical_device_finish (anv_device.c:408) ==17195== by 0xA068B9E: anv_DestroyInstance (anv_device.c:508) ==17195== by 0x9DE3896: ??? (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0x9DEE130: vkDestroyInstance (in /usr/lib/x86_64-linux-gnu/libvulkan.so.1.0.54) ==17195== by 0xAD2548: vk::refdetails::Deleter::operator()(vk::VkInstance_s*) const (vkRef.hpp:109) ==17195== If you believe this happened as a result of a stack ==17195== overflow in your program's main thread (unlikely but ==17195== possible), you can try to increase the size of the ==17195== main thread stack using the --main-stacksize= flag. ==17195== The main thread stack size used in this run was 8388608. ==17195== ==17195== HEAP SUMMARY: ==17195== in use at exit: 9,884,033 bytes in 13,269 blocks ==17195== total heap usage: 421,571 allocs, 403,411 frees, 132,553,030 bytes allocated ==17195== ==17195== LEAK SUMMARY: ==17195== definitely lost: 163,560 bytes in 1,208 blocks ==17195== indirectly lost: 15,618 bytes in 263 blocks ==17195== possibly lost: 2,220,017 bytes in 7,591 blocks ==17195== still reachable: 7,485,222 bytes in 4,208 blocks ==17195== suppressed: 0 bytes in 0 blocks ==17195== Rerun with --leak-check=full to see details of leaked memory ==17195== ==17195== For counts of detected and suppressed errors, rerun with: -v ==17195== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)