Skip to content

Ray import segfaults if pyarrow is imported first. #7393

@clarkzinzow

Description

@clarkzinzow

What is the problem?

Ray segfaults if pyarrow has been imported before Ray.

In repl:

In [1]: import pyarrow

In [2]: import ray
Segmentation fault
In [1]: import ray

In [2]: import pyarrow

In [3]:

Version information:

  • Python 3.7.5
  • Ubuntu 19.10
  • ray 0.8.2 (confirmed on nightly wheel, 0.8.1 and 0.8.0)
  • pyarrow 0.16.0

Reproduction

The following should segfault:

import pyarrow
import ray

The following should not:

import ray
import pyarrow
  • I have verified my script runs in a clean environment and reproduces the issue.
  • I have verified the issue also occurs with the latest wheels.

Metadata

Metadata

Assignees

Labels

P1Issue that should be fixed within a few weeksbugSomething that is supposed to be working; but isn't

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions