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

Julia segfaults when killed #17852

Closed
Keno opened this issue Aug 5, 2016 · 1 comment
Closed

Julia segfaults when killed #17852

Keno opened this issue Aug 5, 2016 · 1 comment

Comments

@Keno
Copy link
Member

Keno commented Aug 5, 2016

It's trying to set up an exception frame, but the signal thread is not associated with a task:

1|debug > bt
[1] jl_enter_handler  at /home/kfischer/julia/src/builtins.c:200
[2] jl_atexit_hook  at /home/kfischer/julia/src/init.c:233
[3] jl_exit  at /home/kfischer/julia/src/jl_uv.c:537
[4] signal_listener  at ./signals-unix.c:458
[5] start_thread  at pthread_create.c:312

1|debug > f 1
Stopped in function jl_enter_handler
In builtins.c:195
199       // Must have no safepoint
200       eh->prev = current_task->eh;
201       eh->gcstack = ptls->pgcstack;
202   #ifdef JULIA_ENABLE_THREADING

1|C++ > current_task
(jl_task_t *) 0x0
@yuyichao
Copy link
Contributor

yuyichao commented Aug 5, 2016

Dup of #17706

@yuyichao yuyichao closed this as completed Aug 5, 2016
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