Skip to content

[C++] Fatal error condition occurred in aws_thread_launch #32761

@asfimport

Description

@asfimport

I am encountering this error using the latest version of pyarrow (9.0.0) w/ Python 3.10. I received pyarrow as an indirect dependency of google-cloud-bigquery.

It seems like this issue was never fully fixed:

#20039

Fatal error condition occurred in /opt/vcpkg/buildtrees/aws-c-io/src/9e6648842a-364b708815.clean/source/event_loop.c:72: aws_thread_launch(&cleanup_thread, s_event_loop_destroy_async_thread_fn, el_group, &thread_options) == AWS_OP_SUCCESS
Exiting Application
################################################################################
Stack trace:
################################################################################
/usr/local/lib/python3.10/dist-packages/pyarrow/libarrow.so.900(+0x200af06) [0x7f4719c39f06]
/usr/local/lib/python3.10/dist-packages/pyarrow/libarrow.so.900(+0x20028e5) [0x7f4719c318e5]
/usr/local/lib/python3.10/dist-packages/pyarrow/libarrow.so.900(+0x1f27e09) [0x7f4719b56e09]
/usr/local/lib/python3.10/dist-packages/pyarrow/libarrow.so.900(+0x200ba3d) [0x7f4719c3aa3d]
/usr/local/lib/python3.10/dist-packages/pyarrow/libarrow.so.900(+0x1f25948) [0x7f4719b54948]
/usr/local/lib/python3.10/dist-packages/pyarrow/libarrow.so.900(+0x200ba3d) [0x7f4719c3aa3d]
/usr/local/lib/python3.10/dist-packages/pyarrow/libarrow.so.900(+0x1ee0b46) [0x7f4719b0fb46]
/usr/local/lib/python3.10/dist-packages/pyarrow/libarrow.so.900(+0x194546a) [0x7f471957446a]
/lib/x86_64-linux-gnu/libc.so.6(+0x45495) [0x7f473ab81495]
/lib/x86_64-linux-gnu/libc.so.6(on_exit+0) [0x7f473ab81610]
/usr/local/bin/python(+0x2790ab) [0x55965e9a00ab]
/usr/local/bin/python(+0x265d7f) [0x55965e98cd7f]
/usr/local/bin/python(PyErr_PrintEx+0x1d) [0x55965e98ccad]
/usr/local/bin/python(_PyRun_SimpleFileObject+0x1d6) [0x55965e989576]
/usr/local/bin/python(_PyRun_AnyFileObject+0x43) [0x55965e989243]
/usr/local/bin/python(Py_RunMain+0x2be) [0x55965e979b6e]
/usr/local/bin/python(Py_BytesMain+0x2d) [0x55965e94fe6d]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f473ab65d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f473ab65e40]
/usr/local/bin/python(_start+0x25) [0x55965e94fd65]
/usr/bin/bash: line 172:    20 Aborted                 (core dumped

I think this issue might only occur on certain kernel versions? It's strange, I cannot reproduce it running the image on my machine (ubuntu 4.15.0-180-generic), but some of our CI runners (those w/ ubuntu using kernel 5.4.0-90-generic) consistently have this issue. I will try to gather some more information.

Environment: Python 3.10.4 in a ubuntu:22.04 docker image w/ kernel 5.4.0-90-generic
Reporter: Matthew Schurr
Assignee: Kouhei Sutou / @kou

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-17501. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions