python3 segmentation faults with spacy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3-defaults (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After
# pip3 install spacy
executing
# python3 -m spacy download de
results in a segmentation fault, as shown by the following output woith strace information added
[...]
Running setup.py install for de-core-news-sm ... done
Successfully installed blis-0.4.1 catalogue-0.2.0 certifi-2019.11.28 chardet-3.0.4 cymem-2.0.3 de-core-
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 26073
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=26073, si_uid=1000, si_status=0, si_utime=742, si_stime=113} ---
write(1, "\33[38;
You can now load the model via spacy.load(
write(1, "\n", 1
) = 1
getcwd(
stat("/
stat("/
stat("/
stat("/
openat(AT_FDCWD, "/home/
fstat(3, {st_mode=
getdents(3, /* 245 entries /, 32768) = 10048
getdents(3, / 0 entries */, 32768) = 0
close(3) = 0
stat("/
stat("/
stat("/
stat("/
stat("/
openat(AT_FDCWD, "/home/
fstat(3, {st_mode=
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=
read(3, "3\r\r\
read(3, "", 1) = 0
close(3) = 0
stat("/
stat("/
stat("/
openat(AT_FDCWD, "/home/
ioctl(3, FIOCLEX) = 0
fstat(3, {st_mode=
ioctl(3, TCGETS, 0x7fffc1f91eb0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
lseek(3, 0, SEEK_CUR) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
I've also opened this as spacy issue at https:/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python3 3.6.7-1~18.04
ProcVersionSign
Uname: Linux 5.0.0-37-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 1 15:42:19 2020
InstallationDate: Installed on 2019-08-18 (136 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python3-defaults
UpgradeStatus: No upgrade log present (probably fresh install)