[MacPorts] #67900: pyarrow Segmentation Fault on Import

MacPorts noreply at macports.org
Thu Aug 3 20:22:38 UTC 2023


#67900: pyarrow Segmentation Fault on Import
---------------------------+--------------------
  Reporter:  essandess     |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  apache-arrow  |
---------------------------+--------------------

Comment (by essandess):

 Same crash dump as in https://trac.macports.org/ticket/67896:

 FWIW, I've tried setting a few more {{{cmake}}} flags to be more
 consistent with upstream's build script at
 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)
 Anonymous UUID:        FB4C243B-9995-8C6F-21D7-DF0A98B0F842

 Sleep/Wake UUID:       5DCE5B67-C31B-4246-9602-2F63A08C6C68

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

-- 
Ticket URL: <https://trac.macports.org/ticket/67900#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list