-
Notifications
You must be signed in to change notification settings - Fork 29
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
Interrupted by signal 11:SIGSEGV #2
Comments
Hi! I have never seen this particular issue before, but we should be able to get to the bottom of it. First: this probably has nothing to do with the error, but you should not include the brackets in Second, have you tried other configurations, for instance Finally, to pinpoint what triggers the segfault, could you try turning on the Python debugger by adding the line The error should come from either Thanks! |
So, I ran it using --method=rnn --model=bare and it worked. I tried tracing the code to find the line that triggers the issue. and i think this is the one y_hat, status = self._inference(doc, potentials, relaxed=True,
|
Thanks, your analysis is great! Both signs point to the fact that the AD3 inference is the culprit. In particular, At the moment |
I installed the AD3 version you sent me, i am still facing the same issue while running the "strict" variant. |
Hmm, maybe there are some issues with your AD3 install. Can you try running the AD3 python examples and the python unit tests? It might be worth trying to install all the dependencies in a fresh, empty virtualenv to make sure that old versions are not accidentally used. |
I made sure that i am using the fresh installation of the AD3, then And everything works just fine. |
Yet the error with Marseille is still there? This is odd. It would be great if you could still try installing everything in a fresh virtualenv. What OS are you using? |
Linux, Ubuntu |
That is exactly the same as what I am using, so it is probably not about that. Let me know what the results are in a fresh virtualenv. BTW, what happens if you use |
I still didn't try cdcp, however I tried the linear-struct strict model. It fails too, the output is as follows [dynet] random seed: 2656436439 Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) |
I just tried making an empty virtualenv and installing all the dependencies from scratch, and I still could not reproduce this problem. What version of python are you using? When you stepped through the code via the debugger, did it manage to get through any documents before crashing, or does it crash at the very first call to inference? In any case I am working on making AD3 a bit safer to naked memory accesses, which might help pinpoint what's going on here. I plan to make a new release soon. |
I just released AD3 v2.1 which can be installed with |
I got the issue "Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)"
when i am trying to reproduce the same results over the ukp data set.
The problem appears while running exp_train_test.py using the arguments "ukp --method rnn-struct --model strict [--dynet-seed=42]"
The console output is as follows:
[dynet] random seed: 3694361057
[dynet] allocating memory: 512MB
[dynet] memory allocation done.
2017-07-18 12:27:07,154 - root - INFO - rnn-struct strict on ukp ({'max_iter': 10, 'mlp_dropout': 0.15})
2017-07-18 12:27:13,659 - root - INFO - Setting node class weights Claim: 1.0, MajorClaim: 1.0, Premise: 1.0
2017-07-18 12:27:13,660 - root - INFO - Setting link class weights False: 1.0, True: 4.725530458590007
2017-07-18 12:27:13,660 - root - INFO - Overriding n_embeds to glove size 300
2017-07-18 12:27:13,671 - root - INFO - Initializing embeddings...
2017-07-18 12:27:13,799 - root - INFO - ...done
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
Do you know what can be causing this problem ?, and i am using dynet v1.1
The text was updated successfully, but these errors were encountered: