Skip to content

Crashing When Closing a Connection #22

Closed
@BrettRToomey

Description

@BrettRToomey

Hello,

I have been experiencing a crash in my scripts while using the Oracle.jl package. I managed to minimise the code and generate this recreation:

julia> include("db.jl");

julia> c = Oracle.Connection(db_user, db_pass, db)
Oracle.Connection(Oracle.Context(Ptr{Nothing} @0x00007ffc4044c250), Ptr{Nothing} @0x00007ffc407053e0, Oracle.EncodingInfo("UTF-8", 4, "UTF-8", 4), nothing)

julia> Oracle.close(c)

julia> c = Oracle.Connection(db_user, db_pass, db)
Oracle.Connection(Oracle.Context(Ptr{Nothing} @0x00007ffc407096f0), Ptr{Nothing} @0x00007ffc40707320, Oracle.EncodingInfo("UTF-8", 4, "UTF-8", 4), nothing)

julia> Oracle.close(c)
zsh: segmentation fault  julia

db.jl only has db credentials and the db string, that way I don't risk leaking them.

I am on macOS Big Sur with an Intel-based MacBook. I am using Julia 1.6.1. Please ask if there is anything else you need from me!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions