You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/03/01 16:45:08 UTC

[GitHub] [arrow-nanoarrow] paleolimbot commented on issue #137: [C] BitmapTestCountSetSingleByte test segfualts on MacOS M1 Conda

paleolimbot commented on issue #137:
URL: https://github.com/apache/arrow-nanoarrow/issues/137#issuecomment-1450466113

   Or even better:
   
   ```
   cmake .. -DNANOARROW_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug
   lldb buffer_test
   # (lldb) run
   ```
   
   ```
   * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
     * frame #0: 0x000000010000a1c6 buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody() [inlined] std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__is_long[abi:v15007](this="") const at string:1499:16 [opt]
       frame #1: 0x000000010000a1c6 buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody() [inlined] std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string(this="") at string:2333:9 [opt]
       frame #2: 0x000000010000a1c6 buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody() [inlined] std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string(this="") at string:2331:1 [opt]
       frame #3: 0x000000010000a1c6 buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody() [inlined] std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::operator(this=0x000000030416b7d0, __ptr="")[abi:v15007](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) const at unique_ptr.h:48:5 [opt]
       frame #4: 0x000000010000a1c6 buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody() [inlined] std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::reset[abi:v15007](this=0x000000030416b7d0, __p="") at unique_ptr.h:305:7 [opt]
       frame #5: 0x000000010000a1ba buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody() [inlined] std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::~unique_ptr[abi:v15007](this=0x000000030416b7d0) at unique_ptr.h:259:19 [opt]
       frame #6: 0x000000010000a1ba buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody() [inlined] std::__1::unique_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::default_delete<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::~unique_ptr[abi:v15007](this=0x000000030416b7d0) at unique_ptr.h:259:17 [opt]
       frame #7: 0x000000010000a1ba buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody() [inlined] testing::AssertionResult::~AssertionResult(this=0x000000030416b7c8) at gtest.h:283:18 [opt]
       frame #8: 0x000000010000a1ba buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody() [inlined] testing::AssertionResult::~AssertionResult(this=0x000000030416b7c8) at gtest.h:283:18 [opt]
       frame #9: 0x000000010000a1ba buffer_test`BitmapTest_BitmapTestCountSetSingleByte_Test::TestBody(this=<unavailable>) at buffer_test.cc:334:3 [opt]
       frame #10: 0x0000000100025a9d buffer_test`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) [inlined] void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(object=<unavailable>, method=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2607:10 [opt]
       frame #11: 0x0000000100025a8a buffer_test`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x0000600000004120, method=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2643:14 [opt]
       frame #12: 0x00000001000259f6 buffer_test`testing::Test::Run(this=0x0000600000004120) at gtest.cc:2682:5 [opt]
       frame #13: 0x000000010002718b buffer_test`testing::TestInfo::Run(this=0x0000000108b04e00) at gtest.cc:2861:11 [opt]
       frame #14: 0x0000000100027d28 buffer_test`testing::TestSuite::Run(this=0x0000000108b04ac0) at gtest.cc:3015:28 [opt]
       frame #15: 0x000000010003952c buffer_test`testing::internal::UnitTestImpl::RunAllTests(this=0x0000000108c043e0) at gtest.cc:5855:44 [opt]
       frame #16: 0x000000010003881d buffer_test`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) [inlined] bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=<unavailable>, method=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2607:10 [opt]
       frame #17: 0x000000010003880a buffer_test`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=<unavailable>, method=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2643:14 [opt]
       frame #18: 0x000000010003878a buffer_test`testing::UnitTest::Run(this=0x0000000100060658) at gtest.cc:5438:10 [opt]
       frame #19: 0x000000010001557b buffer_test`main [inlined] RUN_ALL_TESTS() at gtest.h:2490:46 [opt]
       frame #20: 0x000000010001556e buffer_test`main(argc=1, argv=0x000000030416bbc0) at gtest_main.cc:52:10 [opt]
       frame #21: 0x00000002000bb52e dyld`start + 462
   ```


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org