You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "rich7420 (via GitHub)" <gi...@apache.org> on 2026/09/06 16:54:16 UTC

Re: [I] macOS aarch64 flake: SIGBUS in _pthread_tsd_cleanup after ParquetReadFromFakeHadoopFsSuite [datafusion-comet]

rich7420 commented on issue #4200:
URL: https://github.com/apache/datafusion-comet/issues/4200#issuecomment-5560723054

   Observed the same failure shape on macOS arm64, Spark 4.0.4 / JDK 17:
   
   https://github.com/rich7420/datafusion-comet/actions/runs/34042209542/job/101515650370
   
   `ParquetReadFromFakeHadoopFsSuite / native scan on fake fs` passed, then a native thread crashed with `SIGBUS / BUS_ADRALN` as the suite stopped its SparkContext. The stack contains `_pthread_tsd_cleanup`, `_pthread_exit`, and `_pthread_start`.
   
   Using the `native-lib-macos` artifact from this run to symbolize the link register:
   
   ```text
   libcomet load address: 0x15e980000
   LR:                   0x15fac10f8
   atos result:          hdfsThreadDestructor + 80
   ```
   
   The preceding instruction is an indirect call to JNI `GetJavaVM`; the faulting `pc` and `x8` are both `0x106cc6a00`. This shows that the destructor was entered and the fault occurred during its JNI call. It does not establish that the destructor's library had been unloaded; a stale or corrupted JNI environment/function table remains a hypothesis.
   
   The job uploaded `hs_err_pid7266.log` and `unit-tests.log` as artifacts. No fix is included in this report.
   


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org