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

segfault with async requests #20

Open
porterjamesj opened this issue Apr 15, 2014 · 7 comments
Open

segfault with async requests #20

porterjamesj opened this issue Apr 15, 2014 · 7 comments

Comments

@porterjamesj
Copy link
Contributor

As illustrated in JuliaLang/julia#6525

@porterjamesj
Copy link
Contributor Author

@loladiro I'm curious how you were digging into this before? My toolkit for debugging when I segfault Julia is basically none at this point and I'd love to be able to figure out what's going wrong here.

@Keno
Copy link
Contributor

Keno commented May 3, 2014

I built Julia with LLVM 3.5 on linux, which gives me proper gdb backtraces through Julia code.

@porterjamesj
Copy link
Contributor Author

So:

  1. Make debug build of Julia with LLVM 3.5 on linux
  2. Run offending code through julia running under gdb
  3. Examine backtrace

?

@Keno
Copy link
Contributor

Keno commented May 3, 2014

Pretty much. I'd be happy to answer any question you encounter along the way, but I won't have time to actually work on this for another two weeks or so.

@porterjamesj
Copy link
Contributor Author

thanks! and no problem; I have a mostly free Saturday so I figured I'd take a crack at it :)

@sbromberger
Copy link
Contributor

Just an update: I'm not seeing this behavior with the latest Requests and 0.4. I do get

ERROR: GnuTLS Exception: GNUTLS_E_PREMATURE_TERMINATION(-110): The TLS connection was non-properly terminated.
 in wait at task.jl:51
 in sync_end at /usr/local/julia-latest/lib/julia/sys.dylib
 in anonymous at task.jl:323

after several hundred requests.

@sbromberger
Copy link
Contributor

Perhaps related, though: #39

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

3 participants