Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16814

Native unit test valgrind memcheck failed in kunpeng aarch64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.3, 3.3.4
    • None
    • hdfs-client
    • Patch

    Description

      When I ran hdfs-native-client unit test in Kunpeng Arm environment, I found that memcheck_rpc_engine,memcheck_hdfs_config_connect_bugs,memcheck_libhdfs_mini_stress_valgrind_hdfspp_test_static valgrind memcheck fails

      error:

      ==257209== Syscall param epoll_ctl(event) points to uninitialised byte(s)
      ==257209==    at 0x50B08B8: epoll_ctl (syscall-template.S:78)
      ==257209==    by 0x55FDFF: interrupt (epoll_reactor.ipp:456)
      ==257209==    by 0x55FDFF: stop_all_threads (task_io_service.ipp:449)
      ==257209==    by 0x55FDFF: stop (task_io_service.ipp:233)
      ==257209==    by 0x55FDFF: stop (io_service.ipp:109)
      ==257209==    by 0x55FDFF: hdfs::IoServiceImpl::Stop() (ioservice_impl.cc:145)
      ==257209==    by 0x3CA5BB: hdfs::FileSystemImpl::~FileSystemImpl() (filesystem.cc:247)
      ==257209==    by 0x3CA723: hdfs::FileSystemImpl::~FileSystemImpl() (filesystem.cc:248)
      ==257209==    by 0x3C08A7: doHdfsConnect(std::experimental::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::experimental::optional<unsigned short>, std::experimental::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, hdfs::Options const&) (hdfs.cc:329)
      ==257209==    by 0x3C112B: hdfsBuilderConnect (hdfs.cc:1727)
      ==257209==    by 0x3869CF: hdfs::ConfigConnectBugs_Test_HDFS_11294_Test::TestBody() (hdfs_config_connect_bugs.cc:109) 

      I succeeded by adding  epoll_ctl(event)  to suppression.

       

      Attachments

        1. HDFS-10596.patch
          1 kB
          kuper

        Activity

          People

            Unassigned Unassigned
            kuper kuper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: