BusyJay opened a new issue, #3134:
URL: https://github.com/apache/brpc/issues/3134

   **Describe the bug**
   ```
   [ RUN      ] RandUtilTest.Sanity
   AddressSanitizer:DEADLYSIGNAL
   =================================================================
   ==3279583==ERROR: AddressSanitizer: FPE on unknown address 0x7f929495a108 
(pc 0x7f929495a108 bp 0x7fff0ede56e0 sp 0x7fff0ede56a0 T0)
       #0 0x7f929495a108 in butil::fast_rand_impl(unsigned long, 
butil::FastRandSeed*) /brpc/src/butil/fast_rand.cpp:71
       #1 0x7f929495a108 in butil::fast_rand_in_64(long, long) 
/brpc/src/butil/fast_rand.cpp:126
       #2 0xa170ab in long butil::fast_rand_in<long>(long, long) 
/brpc/src/butil/fast_rand.h:60
       #3 0xa170ab in RandUtilTest_Sanity_Test::TestBody() 
/brpc/test/rand_util_unittest.cc:39
       #4 0x1226c22 in void 
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, 
void>(testing::Test*, void (testing::Test::*)(), char const*) 
/brpc/cmake-build/googletest-src/googletest/src/gtest.cc:2402
   [ RUN      ] StringPrintfTest.StringPrintfBounds
   /brpc/test/stringprintf_unittest.cc:97: Failure
         Expected: srcw
         Which is: 
L"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
   To be equal to: outw.c_str()
         Which is: L""
   [  FAILED  ] StringPrintfTest.StringPrintfBounds (0 ms)
   [ RUN      ] StringNumberConversionsTest.IntToString
   /data/workspace/brpc/test/string_number_conversions_unittest.cc:51: Failure
         Expected: IntToString(test->num)
         Which is: "-8"
   To be equal to: test->sexpected
         Which is: "-2147483648"
   /data/workspace/brpc/test/string_number_conversions_unittest.cc:58: Failure
         Expected: Int64ToString(test->num)
         Which is: "-8"
   To be equal to: test->sexpected
         Which is: "-9223372036854775808"
   [  FAILED  ] StringNumberConversionsTest.IntToString (1 ms)
   ```
   **To Reproduce**
   
   
   **Expected behavior**
   
   
   **Versions**
   OS:
   Compiler:
   brpc:
   protobuf:
   
   **Additional context/screenshots**
   
   


-- 
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