Repository: pytorch
Issue: Seg Fault: import vaex with torch
Labels: module: binaries,module: crash,triaged

## 🐛 Bug

We are experiencing a seg fault issue when importing the vaex package when torch is installed.

## To Reproduce

Steps to reproduce the behavior:

Dockerfile used

`FROM nvidia/cuda:9.2-base

RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:deadsnakes/ppa

RUN apt-get update && \
    apt-get install -y \
        tree \
        unzip \
        wget \
        curl \
        sudo

RUN apt-get install -y \
        python3.7 \
        python3.7-dev \
        python3-pip

RUN apt-get install -y libpcre3-dev build-essential
RUN python3.7 -m pip install vaex \
   torch==1.4.0+cu92 torchvision==0.5.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html`

`root@c27474117131:/# python3.7
Python 3.7.7 (default, Mar 10 2020, 17:25:08) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> import vaex
Segmentation fault
`

Error Log
`root@a30a347a9c71:/# python3.7 -q -X faulthandler
>>> import torch
>>> import vaex
Fatal Python error: Segmentation fault
Current thread 0x00007f520a7b3700 (most recent call first):
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1043 in create_module
  File "<frozen importlib._bootstrap>", line 583 in module_from_spec
  File "<frozen importlib._bootstrap>", line 670 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/usr/local/lib/python3.7/dist-packages/vaex/strings.py", line 7 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/usr/local/lib/python3.7/dist-packages/vaex/column.py", line 9 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/usr/local/lib/python3.7/dist-packages/vaex/utils.py", line 24 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/usr/local/lib/python3.7/dist-packages/vaex/dataframe.py", line 17 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/usr/local/lib/python3.7/dist-packages/vaex/__init__.py", line 39 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<stdin>", line 1 in <module>
Segmentation fault
root@a30a347a9c71:/#`

Expected Behavior 

No seg fault

## Environment

root@c27474117131:/# python3.7 collect_env.py
Collecting environment information...
PyTorch version: 1.4.0+cu92
Is debug build: No
CUDA used to build PyTorch: 9.2

OS: Ubuntu 16.04.6 LTS
GCC version: (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
CMake version: Could not collect

Python version: 3.7
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA

Versions of relevant libraries:
[pip] Could not collect
[conda] Could not collect
root@c27474117131:/# 


## Additional context
Conda is not an option right now, we prefer to stick with pip. Since there is a lot of code working with pip.
Created an Issue on the vaex github repo. They suggested contacting the torch developers.
https://github.com/vaexio/vaex/issues/606


cc @ezyang @seemethere