Code to reproduce:
Interactive Elixir (1.12.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>
nil
iex(2)> alias Exqlite.Sqlite3
Exqlite.Sqlite3
iex(3)> {:ok, conn} = Sqlite3.open(":memory:")
{:ok, #Reference<0.3373779577.804651032.117242>}
iex(4)> Sqlite3.close(conn)
:ok
iex(5)> Sqlite3.close(conn)
fish: Job 1, 'iex -S mix' terminated by signal SIGSEGV (Address boundary error)
It would be nice to handle this situation more gracefully.