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

error in running finalizer: ErrorException("auto_unbox: unable to determine argument type") #42

Open
denizyuret opened this issue Dec 21, 2015 · 0 comments

Comments

@denizyuret
Copy link
Contributor

Continuing from: https://groups.google.com/d/topic/julia-dev/NqPz4f_0VLg/discussion

I get this error intermittently on exit from Julia. I was able to trace it to the finalizer of CudaPtr (pointer.jl:44), in particular to the statement haskey(cuda_ptrs, p). Here is what I know so far:

  • If I comment out the CudaPtr finalizer (pointer.jl:38) the error disappears.
  • If I comment out haskey(cuda_ptrs, p) (pointer.jl:46) the error disappears.
  • The error does not consistently appear: Sometimes if a gc or a user-free occurs before Julia exit and calls the CudaPtr finalizer the error disappears. I am still trying to pinpoint the exact condition.
  • The debugger backtrace looks like this is happening during compilation maybe? However I am having trouble accessing the C variables in gdb so I am not sure: https://gist.github.com/denizyuret/161cf7e8b79266809a27
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

1 participant