essandess commented on issue #37010:
URL: https://github.com/apache/arrow/issues/37010#issuecomment-1664623305

   Here's the macOS Crash Reporter output. What's the `lldb` command to capture 
the trace for `python3.10 -c 'import pyarrow'`?
   
   Also, I've tried setting a few more `cmake` flags to be more consistent with 
the build script at 
[python_wheel_macos_build.sh](https://github.com/apache/arrow/blob/main/ci/scripts/python_wheel_macos_build.sh),
 but keep hitting the same issue.
   
   ```
   Process:               Python [51251]
   Path:                  
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Resources/Python.app/Contents/MacOS/Python
   Identifier:            org.python.python
   Version:               3.10.12 (3.10.12)
   Code Type:             X86-64 (Native)
   Parent Process:        bash [15799]
   Responsible:           Terminal [15797]
   User ID:               502
   
   Date/Time:             2023-08-03 16:08:12.4564 -0400
   OS Version:            macOS 13.5 (22G74)
   Report Version:        12
   Bridge OS Version:     7.6 (20P6072)
   
   Time Awake Since Boot: 810000 seconds
   Time Since Wake:       607027 seconds
   
   System Integrity Protection: enabled
   
   Crashed Thread:        0  Dispatch queue: com.apple.main-thread
   
   Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
   Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000012340
   Exception Codes:       0x0000000000000001, 0x0000000000012340
   
   Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
   Terminating Process:   exc handler [51251]
   
   VM Region Info: 0x12340 is not in any region.  Bytes before following 
region: 4352785600
         REGION TYPE                    START - END         [ VSIZE] PRT/MAX 
SHRMOD  REGION DETAIL
         UNUSED SPACE AT START
   --->  
         __TEXT                      103736000-10373a000    [   16K] r-x/r-x 
SM=COW  .../MacOS/Python
   
   Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
   0   libjemalloc.2.dylib                     0x1059ec3df je_free_default + 193
   1   libprotobuf.3.21.12.0.dylib             0x105688477 
google::protobuf::internal::ArenaStringPtr::Destroy() + 39
   2   libprotobuf.3.21.12.0.dylib             0x10571d5a5 
google::protobuf::FileDescriptorProto::SharedDtor() + 149
   3   libprotobuf.3.21.12.0.dylib             0x10571d6bd 
google::protobuf::FileDescriptorProto::~FileDescriptorProto() + 45
   4   libprotobuf.3.21.12.0.dylib             0x105738657 
google::protobuf::EncodedDescriptorDatabase::Add(void const*, int) + 167
   5   libprotobuf.3.21.12.0.dylib             0x1056e34f4 
google::protobuf::DescriptorPool::InternalAddGeneratedFile(void const*, int) + 
36
   6   libprotobuf.3.21.12.0.dylib             0x1057544d9 
google::protobuf::(anonymous 
namespace)::AddDescriptors(google::protobuf::internal::DescriptorTable const*) 
+ 105
   7   dyld                                 0x7ff81b4f93fb invocation function 
for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) 
const::$_0::operator()() const + 175
   8   dyld                                 0x7ff81b537b7a invocation function 
for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, 
dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) 
block_pointer, void const*) const + 242
   9   dyld                                 0x7ff81b52bf22 invocation function 
for block in dyld3::MachOFile::forEachSection(void 
(dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 577
   10  dyld                                 0x7ff81b4dc0af 
dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, 
bool&) block_pointer) const + 245
   11  dyld                                 0x7ff81b52b0bf 
dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, 
bool, bool&) block_pointer) const + 175
   12  dyld                                 0x7ff81b53773a 
dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, 
dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) 
block_pointer, void const*) const + 470
   13  dyld                                 0x7ff81b4f666c 
dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 220
   14  dyld                                 0x7ff81b4f685a 
dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, 
dyld3::Array<dyld4::Loader const*>&) const + 178
   …
   ```


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

Reply via email to