Skip to content

Precompilation spits out Task object, followed by segfaults during runtime, on 1.9 #1202

@IanButterworth

Description

@IanButterworth

See #1195 (comment)

(HTTP) pkg> precompile
Precompiling project...
  1 dependency successfully precompiled in 9 seconds. 16 already precompiled.
  1 dependency had output during precompilation:
┌ HTTP [cd3eb016-35fb-5094-929b-558a96fad6f3]
│  Task
│  Task(next=Task(next=nothing, queue=Base.IntrusiveLinkedList{Task}(head=<circular reference @-3>, tail=<circular reference @-2>), storage=nothing, donenotify=Base.GenericCondition{Base.Threads.SpinLock}(waitq=Base.IntrusiveLinkedList{Task}(head=nothing, tail=nothing), lock=Base.Threads.SpinLock(owned=0)), result=nothing, logstate=nothing, code=HTTP.Servers.var"#16#17"{HTTP.Handlers.var"#1#2"{HTTP.var"#50#52"}, HTTP.Servers.Listener{MbedTLS.SSLConfig, Sockets.TCPServer}, Base.Set{HTTP.Connections.Connection{IO_t} where IO_t<:IO}, Int64, Nothing, Base.ReentrantLock, Int64, Base.Semaphore, HTTP.Connections.Connection{MbedTLS.SSLContext}}(f=HTTP.Handlers.var"#1#2"{HTTP.var"#50#52"}(handler=HTTP.var"#50#52"()), listener=HTTP.Servers.Listener{MbedTLS.SSLConfig, Sockets.TCPServer}(addr=Sockets.InetAddr{Sockets.IPv4}(host=Sockets.IPv4(host=0x00000000), port=0xe1d5), hostname="0.0.0.0", hostport="57813", ssl=MbedTLS.SSLConfig(data=0x0000000144f155d0, rng=MbedTLS.CtrDrbg(data=0x0000000144f160b0, entropy=MbedTLS.Entropy(data=0x0000000138200000, sources=Array{Any, (0,)}[])), chain=#<null>, dbg=MbedTLS.tls_dbg, cert=MbedTLS.CRT(data=0x0000000144f14870), key=MbedTLS.PKContext(data=0x00006000022b4be0), alpn_protos=#<null>), server=Sockets.TCPServer(handle=0x0000600001d3bde0, status=6, cond=Base.GenericCondition{Base.Threads.SpinLock}(waitq=Base.IntrusiveLinkedList{Task}(head=nothing, tail=nothing), lock=Base.Threads.SpinLock(owned=0)))), conns=Base.Set{HTTP.Connections.Connection{IO_t} where IO_t<:IO}(dict=Base.Dict{HTTP.Connections.Connection{IO_t} where IO_t<:IO, Nothing}(slots=Array{UInt8, (16,)}[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xec, 0x00, 0x00, 0x00], keys=Array{HTTP.Connections.Connection{IO_t} where IO_t<:IO, (16,)}[
│    #<null>,
│    #<null>,
│    #<null>,
│    #<null>,
│    #<null>,
│    #<null>,
│    #<null>,
│    #<null>,
│    #<null>,
│    #<null>,
│    #<null>,
│    #<null>,
│    HTTP.Connections.Connection{MbedTLS.SSLContext}(host="0.0.0.0", port="57813", idle_timeout=0, require_ssl_verification=true, keepalive=true, peerip=Sockets.IPv4(host=0x7f000001), peerport=0xfa41, localport=0xe1d5, io=MbedTLS.SSLContext(data=0x0000000144f6b5b0, datalock=Base.ReentrantLock(locked_by=nothing, reentrancy_cnt=0x00000000, havelock=0x00, cond_wait=Base.GenericCondition{Base.Threads.SpinLock}(waitq=Base.IntrusiveLinkedList{Task}(head=nothing, tail=nothing), lock=Base.Threads.SpinLock(owned=0)), _=(0, 0, 0)), waitlock=Base.ReentrantLock(locked_by=nothing, reentrancy_cnt=0x00000000, havelock=0x00, cond_wait=Base.GenericCondition{Base.Threads.SpinLock}(waitq=Base.IntrusiveLinkedList{Task}(head=nothing, tail=nothing), lock=Base.Threads.SpinLock(owned=0)), _=(0, 0, 0)), config=MbedTLS.SSLConfig(data=0x0000000144f155d0, rng=MbedTLS.CtrDrbg(data=0x0000000144f160b0, entropy=MbedTLS.Entropy(data=0x0000000138200000, sources=Array{Any, (0,)}[])), chain=#<null>, dbg=MbedTLS.tls_dbg, cert=MbedTLS.CRT(data=0x0000000144f14870), key=MbedTLS.PKContext(data=0x00006000022b4be0), alpn_protos=#<null>), isreadable=false, bytesavailable=0, close_notify_sent=true, bio=Sockets.TCPSocket(handle=0x0000600001d30000, status=6, buffer=Base.GenericIOBuffer{Array{UInt8, 1}}(data=Array{UInt8, (65536,)}[0x17, 0x03, 0x03, 0x00, 0x8b, 0x4c, 0xab, 0x32, 0x27, 0
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions