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

Kernel crashes when nthreads > 1 #1449

Closed
ycamacho opened this issue Feb 5, 2021 · 4 comments · Fixed by #1647
Closed

Kernel crashes when nthreads > 1 #1449

ycamacho opened this issue Feb 5, 2021 · 4 comments · Fixed by #1647

Comments

@ycamacho
Copy link
Contributor

ycamacho commented Feb 5, 2021

Problem description

If the .yml input file has
montecarlo:
nthreads: >1

the jupyter notebook kernel crashes with error

python(77911,0x70000d4e5000) malloc: double free for ptr 0x7ff487819400
python(77911,0x70000d4e5000) malloc: *** set a breakpoint in malloc_error_break to debug
[I 09:05:07.135 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports

Expected Output

If nthreads parameter is set to 1 or removed (default is 1), then tardis works.

@jaladh-singhal
Copy link
Member

I can confirm, that's the same case with me. Thank you for creating issue @ycamacho - I almost forgot to create one.

@MarkMageeAstro
Copy link
Contributor

Another confirmation, this is happening to me too.

@andrewfullard
Copy link
Contributor

I can't reproduce this with e.g. tardis_example.yml with nthreads > 1. Is this still occurring?

@andrewfullard
Copy link
Contributor

To update the issue: this occurs when vpacket logging is turned on with nthreads > 1. A fix is being worked on.

@andrewfullard andrewfullard linked a pull request Jun 14, 2021 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants