Skip to content

Instantly share code, notes, and snippets.

@Frost
Created August 10, 2015 19:35
Show Gist options
  • Select an option

  • Save Frost/170e8370d2428d5f7b25 to your computer and use it in GitHub Desktop.

Select an option

Save Frost/170e8370d2428d5f7b25 to your computer and use it in GitHub Desktop.
`mix test` crash when upgrading postgrex from 0.8 -> 0.9.1
=ERROR REPORT==== 10-Aug-2015::21:33:01 ===
** Generic server <0.876.0> terminating
** Last message in was {tcp,#Port<0.44223>,
<<82,0,0,0,8,0,0,0,0,83,0,0,0,22,97,112,112,108,
105,99,97,116,105,111,110,95,110,97,109,101,0,0,
83,0,0,0,25,99,108,105,101,110,116,95,101,110,
99,111,100,105,110,103,0,85,84,70,56,0,83,0,0,0,
23,68,97,116,101,83,116,121,108,101,0,73,83,79,
44,32,77,68,89,0,83,0,0,0,25,105,110,116,101,
103,101,114,95,100,97,116,101,116,105,109,101,
115,0,111,110,0,83,0,0,0,27,73,110,116,101,114,
118,97,108,83,116,121,108,101,0,112,111,115,116,
103,114,101,115,0,83,0,0,0,20,105,115,95,115,
117,112,101,114,117,115,101,114,0,111,110,0,83,
0,0,0,25,115,101,114,118,101,114,95,101,110,99,
111,100,105,110,103,0,85,84,70,56,0,83,0,0,0,25,
115,101,114,118,101,114,95,118,101,114,115,105,
111,110,0,57,46,52,46,52,0,83,0,0,0,35,115,101,
115,115,105,111,110,95,97,117,116,104,111,114,
105,122,97,116,105,111,110,0,112,111,115,116,
103,114,101,115,0,83,0,0,0,35,115,116,97,110,
100,97,114,100,95,99,111,110,102,111,114,109,
105,110,103,95,115,116,114,105,110,103,115,0,
111,110,0,83,0,0,0,23,84,105,109,101,90,111,110,
101,0,108,111,99,97,108,116,105,109,101,0,75,0,
0,0,12,0,0,80,7,63,112,156,83,90,0,0,0,5,73>>}
** When Server state == #{backend_key => nil,
bootstrap => false,
extensions => [{'Elixir.Postgrex.Extensions.Binary',nil},
{'Elixir.Postgrex.Extensions.Text',nil}],
listener_channels => #{'__struct__' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0},
listeners => #{'__struct__' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0},
opts => [{database,<<"postgres">>},
{sync_connect,true},
{hostname,<<"localhost">>},
{username,<<"postgres">>},
{password,<<>>}],
parameters => #{},
portal => nil,
queue => {[#{command => {connect,[{database,<<"postgres">>},
{sync_connect,true},
{hostname,<<"localhost">>},
{username,<<"postgres">>},
{password,<<>>}]},
from => {<0.48.0>,#Ref<0.0.2.6149>},
reply => no_reply}],
[]},
rows => [],
sock => {gen_tcp,#Port<0.44223>},
state => auth,
statement => nil,
tail => <<>>,
types => types_removed,
types_key => {"localhost",5432,<<"postgres">>,[]}}
** Reason for termination ==
** {{noproc,{'Elixir.GenServer',call,
['Elixir.Postgrex.TypeServer',
{fetch,{"localhost",5432,<<"postgres">>,[]}},
60000]}},
[{'Elixir.GenServer',call,3,[{file,"lib/gen_server.ex"},{line,365}]},
{'Elixir.Postgrex.Protocol',bootstrap,1,
[{file,"lib/postgrex/protocol.ex"},
{line,34}]},
{'Elixir.Postgrex.Connection',new_data,2,
[{file,"lib/postgrex/connection.ex"},
{line,417}]},
{'Elixir.Postgrex.Connection',handle_info,2,
[{file,"lib/postgrex/connection.ex"},
{line,292}]},
{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,615}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,681}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
** (EXIT from #PID<0.48.0>) exited in: GenServer.call(Postgrex.TypeServer, {:fetch, {'localhost', 5432, "postgres", []}}, 60000)
** (EXIT) no process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment