Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal instruction (core dumped) #2

Open
codevbus opened this issue Jan 16, 2018 · 15 comments
Open

Illegal instruction (core dumped) #2

codevbus opened this issue Jan 16, 2018 · 15 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@codevbus
Copy link

Getting:

Illegal instruction (core dumped)

When running:

sudo docker run -p 8080:8080 artpar/languagecrunch

@artpar artpar self-assigned this Jan 16, 2018
@artpar
Copy link
Owner

artpar commented Jan 16, 2018

That's weird. What OS and docker version are you using ?

@codevbus
Copy link
Author

Docker: Docker version 17.12.0-ce, build c97c6d6
OS: Ubuntu 16.04_3 LTS
Kernel: 4.13.0-26-generic

@artpar artpar added the help wanted Extra attention is needed label Jan 16, 2018
@artpar
Copy link
Owner

artpar commented Jan 16, 2018

@codevbus I created a docker image built on hub.docker.com, please try this out:

docker run -p 8080:8080 artpar/languagecrunch-cloudbuild

https://hub.docker.com/r/artpar/languagecrunch-cloudbuild/

The original image was built on osx, wondering if that was an issue.

@gsaulmon
Copy link

I can confirm the same behavior, and that the new image does work.

OS Fedora release 26 (Twenty Six)
Kernel 4.14.13-200.fc26.x86_64
Docker Version 17.12.0-ce
Docker Build c97c6d6

Failing w/original image

➜  ~ docker run --rm -it -p 8080:8080 artpar/languagecrunch           
Package directory: /app/neuralcoref
INFO:root:Loading spacy model
Illegal instruction (core dumped)

Working w/new image

➜  ~ docker run --rm -it -p 8080:8080 artpar/languagecrunch-cloudbuild
INFO:root:Loading spacy model, wait for confirmation before using
INFO:root:Loaded spacy model
loading model from /app/neuralcoref/weights/
Bottle v0.12.13 server starting up (using WSGIRefServer())...
Listening on http://0.0.0.0:8080/
Hit Ctrl-C to quit.

@codevbus
Copy link
Author

I'm still getting the same error on the new image.

@codevbus
Copy link
Author

Potentially this?

explosion/spaCy#1589

@mehmetilker
Copy link

Same problem here, on windows 10.

PS C:\Users\x> docker run artpar/languagecrunch
INFO:root:Loading spacy model
Illegal instruction

I haven't tried languagecrunch-cloudbuild

@artpar
Copy link
Owner

artpar commented Jan 26, 2018

@mehmetilker can you try languagecrunch-cloudbuild, it solved the issue for couple of people.

The issue linked by @codevbus seems to be related and the comment there says they have figured out the issue and the fix will come in next version. I hope that works out.

@mehmetilker
Copy link

@artpar I was waiting for download. Yes it worked. Thanks.

@dwarcher
Copy link

Hi, just wanted to note that I'm still having this issue with the cloudbuild version. Also, this looks awesome, can't wait to try it.

I'm running on CentOS Linux release 7.4.1708 (Core)
Docker version 17.11.0-ce, build 1caf76c

@artpar
Copy link
Owner

artpar commented Jan 31, 2018

For those who are not able to run the docker image, can you try building the image locally and see if it makes any difference ?

Have hosted the docker image to: http://languagecrunch.docile.online/
You can use this for testing and playing around. Please do not rely on this for production use case.

Eg:

@dwarcher
Copy link

Got it, doing docker build worked. Thanks!

@codevbus
Copy link
Author

@artpar Sorry for the delay in response. Finally got a chance to poke at this more. Building the docker image from the Dockerfile/repo on the server finally worked.

Thanks for your assistance!

@artpar
Copy link
Owner

artpar commented Feb 11, 2018

Not closing the issue, as its not really solved and might help someone else.

@Logbetz
Copy link

Logbetz commented Mar 4, 2018

Getting:
Illegal instruction (core dumped)

When running:
import tensorflow as tf. The same as i'm running my python script.

I'm using Ubuntu 16.04 LTS in Oracle Virtual Machine. My Laptop is Acer Aspire E 15 with Intel Celeron Processor.

How can i solve it?
1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants