empiredan opened a new issue, #2344:
URL: https://github.com/apache/incubator-pegasus/issues/2344

   ASan test failed for gutil.  See following error logs for details:
   
   ```
   Test start time: Fri Dec 12 13:01:20 Asia 2025
   test_modules=gutil_test
   ====================== run gutil_test ==========================
   ZooKeeper JMX enabled by default
   Using config: 
/root/apache/pegasus/.zk_install/zookeeper-bin/bin/../conf/zoo.cfg
   Stopping zookeeper ... STOPPED
   TARGET_PATH zookeeper-bin has existed, thus do not try to download 
apache-zookeeper-3.7.0-bin
   ZooKeeper JMX enabled by default
   Using config: 
/root/apache/pegasus/.zk_install/zookeeper-bin/bin/../conf/zoo.cfg
   Starting zookeeper ... STARTED
   Zookeeper started at port 22181
   ~/apache/pegasus/build/latest/bin/gutil_test ~/apache/pegasus
   [==========] Running 60 tests from 15 test suites.
   [----------] Global test environment set-up.
   [----------] 3 tests from MapUtilDeathTest
   [ RUN      ] MapUtilDeathTest.FindOrDieNoPrint
   F2025-12-12 13:01:24.766 (1765544484766760437 87135) : assertion expression: 
[it != m.end()] Map key not found
   [       OK ] MapUtilDeathTest.FindOrDieNoPrint (41 ms)
   [ RUN      ] MapUtilDeathTest.SetInsertOrDieTest
   F2025-12-12 13:01:24.808 (1765544484808561896 87136) : assertion expression: 
[InsertIfNotPresent(m, value)] duplicate value: 1
   [       OK ] MapUtilDeathTest.SetInsertOrDieTest (25 ms)
   [ RUN      ] MapUtilDeathTest.InsertOrDieNoPrint
   F2025-12-12 13:01:24.834 (1765544484834004061 87137) : assertion expression: 
[InsertIfNotPresent(m, key, data)] duplicate key.
   F2025-12-12 13:01:24.857 (1765544484857912456 87138) : assertion expression: 
[InsertIfNotPresent(m, value)] duplicate value.
   [       OK ] MapUtilDeathTest.InsertOrDieNoPrint (48 ms)
   [----------] 3 tests from MapUtilDeathTest (116 ms total)
   
   [----------] 4 tests from MapTraitsTest
   [ RUN      ] MapTraitsTest.UnorderedMap
   AddressSanitizer:DEADLYSIGNAL
   =================================================================
   ==87134==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 
0x556794142fac bp 0x7ffc255ca340 sp 0x7ffc255ca260 T0)
   ==87134==The signal is caused by a READ memory access.
   ==87134==Hint: address points to the zero page.
       #0 0x556794142fac in 
absl::lts_20230802::container_internal::CommonFieldsGenerationInfoEnabled::generation()
 const /root/apache/pegasus/thirdparty/output/include/absl/cont
   ainer/internal/raw_hash_set.h:821
       #1 0x556794142fac in void 
absl::lts_20230802::container_internal::InitializeSlots<std::allocator<char>, 
8ul, 8ul>(absl::lts_20230802::container_internal::CommonFields&, st
   d::allocator<char>) 
/root/apache/pegasus/thirdparty/output/include/absl/container/internal/raw_hash_set.h:1408
       #2 0x55679414b7d3 in 
absl::lts_20230802::container_internal::raw_hash_set<absl::lts_20230802::container_internal::NodeHashMapPolicy<int,
 int>, absl::lts_20230802::hash_int
   ernal::Hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, 
int> > >::initialize_slots() 
/root/apache/pegasus/thirdparty/output/include/absl/container/internal/r
   aw_hash_set.h:2505
       #3 0x55679414b7d3 in 
absl::lts_20230802::container_internal::raw_hash_set<absl::lts_20230802::container_internal::NodeHashMapPolicy<int,
 int>, absl::lts_20230802::hash_int
   ernal::Hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, 
int> > >::raw_hash_set(unsigned long, 
absl::lts_20230802::hash_internal::Hash<int> const&, std::equal
   _to<int> const&, std::allocator<std::pair<int const, int> > const&) 
/root/apache/pegasus/thirdparty/output/include/absl/container/internal/raw_hash_set.h:1721
       #4 0x5567941464e2 in 
absl::lts_20230802::container_internal::raw_hash_set<absl::lts_20230802::container_internal::NodeHashMapPolicy<int,
 int>, absl::lts_20230802::hash_int
   ernal::Hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, 
int> > >::raw_hash_set<std::pair<int, int> const*>(std::pair<int, int> const*, 
std::pair<int, int> co
   nst*, unsigned long, absl::lts_20230802::hash_internal::Hash<int> const&, 
std::equal_to<int> const&, std::allocator<std::pair<int const, int> > const&) 
/root/apache/pegasus/th
   irdparty/output/include/absl/container/internal/raw_hash_set.h:1740
       #5 0x5567941464e2 in 
absl::lts_20230802::container_internal::raw_hash_set<absl::lts_20230802::container_internal::NodeHashMapPolicy<int,
 int>, absl::lts_20230802::hash_int
   ernal::Hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, 
int> > >::raw_hash_set(std::initializer_list<std::pair<int, int> >, unsigned 
long, absl::lts_20230802
   ::hash_internal::Hash<int> const&, std::equal_to<int> const&, 
std::allocator<std::pair<int const, int> > const&) 
/root/apache/pegasus/thirdparty/output/include/absl/container/
   internal/raw_hash_set.h:1788
       #6 0x5567941464e2 in 
absl::lts_20230802::container_internal::raw_hash_map<absl::lts_20230802::container_internal::NodeHashMapPolicy<int,
 int>, absl::lts_20230802::hash_int
   ernal::Hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, 
int> > >::raw_hash_set(std::initializer_list<std::pair<int, int> >, unsigned 
long, absl::lts_20230802
   ::hash_internal::Hash<int> const&, std::equal_to<int> const&, 
std::allocator<std::pair<int const, int> > const&) 
/root/apache/pegasus/thirdparty/output/include/absl/container/
   internal/raw_hash_map.h:63
       #7 0x5567941464e2 in absl::lts_20230802::node_hash_map<int, int, 
absl::lts_20230802::hash_internal::Hash<int>, std::equal_to<int>, 
std::allocator<std::pair<int const, int>
    > >::raw_hash_set(std::initializer_list<std::pair<int, int> >, unsigned 
long, absl::lts_20230802::hash_internal::Hash<int> const&, std::equal_to<int> 
const&, std::allocator<s
   td::pair<int const, int> > const&) 
/root/apache/pegasus/thirdparty/output/include/absl/container/node_hash_map.h:155
       #8 0x5567941464e2 in TestBody 
/root/apache/pegasus/src/gutil/test/map_traits_test.cpp:31
       #9 0x5567946a1452 in void 
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, 
void>(testing::Test*, void (testing::Test::*)(), char const*) (/root/apa
   che/pegasus/build/release/src/gutil/test/gutil_test+0x85a452)
       #10 0x5567946999ea in void 
testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, 
void>(testing::Test*, void (testing::Test::*)(), char const*) (/root/apach
   e/pegasus/build/release/src/gutil/test/gutil_test+0x8529ea)
       #11 0x556794674027 in testing::Test::Run() 
(/root/apache/pegasus/build/release/src/gutil/test/gutil_test+0x82d027)
       #12 0x556794674b42 in testing::TestInfo::Run() 
(/root/apache/pegasus/build/release/src/gutil/test/gutil_test+0x82db42)
       #13 0x556794675548 in testing::TestSuite::Run() 
(/root/apache/pegasus/build/release/src/gutil/test/gutil_test+0x82e548)
       #14 0x556794685a6f in testing::internal::UnitTestImpl::RunAllTests() 
(/root/apache/pegasus/build/release/src/gutil/test/gutil_test+0x83ea6f)
       #15 0x5567946a25a7 in bool 
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool>(testing::internal::UnitTestImpl*, bool (testing
   ::internal::UnitTestImpl::*)(), char const*) 
(/root/apache/pegasus/build/release/src/gutil/test/gutil_test+0x85b5a7)
       #16 0x55679469acbe in bool 
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool>(testing::internal::UnitTestImpl*, bool (testing::i
   nternal::UnitTestImpl::*)(), char const*) 
(/root/apache/pegasus/build/release/src/gutil/test/gutil_test+0x853cbe)
       #17 0x556794684070 in testing::UnitTest::Run() 
(/root/apache/pegasus/build/release/src/gutil/test/gutil_test+0x83d070)
       #18 0x5567940c9c33 in RUN_ALL_TESTS() 
/root/apache/pegasus/thirdparty/output/include/gtest/gtest.h:2317
       #19 0x5567940c9c33 in main 
/root/apache/pegasus/src/gutil/test/main.cpp:25
       #20 0x7fe76c843d8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f)
       #21 0x7fe76c843e3f in __libc_start_main 
(/lib/x86_64-linux-gnu/libc.so.6+0x29e3f)
       #22 0x556794142974 in _start 
(/root/apache/pegasus/build/release/src/gutil/test/gutil_test+0x2fb974)
   
   AddressSanitizer can not provide additional info.
   SUMMARY: AddressSanitizer: SEGV 
/root/apache/pegasus/thirdparty/output/include/absl/container/internal/raw_hash_set.h:821
 in 
absl::lts_20230802::container_internal::CommonFieldsGenerationInfoEnabled::generation()
 const
   ==87134==ABORTING
   ./run.sh: line 24: 87134 Aborted                 (core dumped) 
GTEST_OUTPUT="xml:${output_xml}" ./gutil_test
   run gutil_test failed
   ---- ls ----
   total 492096
   drwxr-xr-x 3 root root        89 Dec 12 12:34 CMakeFiles
   -rw-r--r-- 1 root root     11880 Dec 12 12:34 Makefile
   -rw-r--r-- 1 root root      1297 Dec 12 12:34 cmake_install.cmake
   -rw------- 1 root root  91054080 Dec 12 12:49 core.86982
   -rw------- 1 root root  67502080 Dec 12 12:49 core.86983
   -rw------- 1 root root  67502080 Dec 12 12:49 core.86984
   -rw------- 1 root root  67567616 Dec 12 12:49 core.86985
   -rw------- 1 root root  67567616 Dec 12 12:49 core.86986
   -rw------- 1 root root  91054080 Dec 12 13:01 core.87134
   -rw------- 1 root root  67502080 Dec 12 13:01 core.87135
   -rw------- 1 root root  67502080 Dec 12 13:01 core.87136
   -rw------- 1 root root  67567616 Dec 12 13:01 core.87137
   -rw------- 1 root root  67567616 Dec 12 13:01 core.87138
   -rwxr-xr-x 1 root root 218684576 Dec 12 12:38 gutil_test
   -rwxrwxr-x 1 root root      1377 Dec 12 12:18 run.sh
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to