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

Segmentation fault when starting the service #4

Open
bowu opened this issue Aug 11, 2016 · 3 comments
Open

Segmentation fault when starting the service #4

bowu opened this issue Aug 11, 2016 · 3 comments

Comments

@bowu
Copy link

bowu commented Aug 11, 2016

Everything compiled successfully. I followed the tutorial by invoking:
./djinn --common ../common/ --weights weights/ --portno 8080 --gpu 1 --debug 0 --nets nets.txt
But saw:
Segmentation fault (core dumped)

The output from gdb is:

77 Caffe::set_phase(Caffe::TEST);
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff668d8f3 in malloc_consolidate (av=av@entry=0x7ffff69cd760 <main_arena>) at malloc.c:4157
4157 malloc.c: No such file or directory.

Did anybody saw this before? Any help would be greatly appreciated.

@jhauswald
Copy link
Contributor

I'm assuming you're trying to run it on the GPU so make sure that all the CPU_ONLY flags are set correctly (and match):

Have you downloaded the djinn weights as well?

@bowu
Copy link
Author

bowu commented Aug 11, 2016

I compiled caffe and djinn again by following the instructions from the djinn website, but the problem still exists. The only change I made is about the caffe installation location. All the CPU_ONLY flags match your examples. Any clue would be appreciated.

@bowu
Copy link
Author

bowu commented Aug 11, 2016

BTW, I have Ubuntu 14.04 and a Titan Z card, and I can compile and run CUDA programs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants