[erlang-bugs] Twisty turny gen_server hang

Matthew Dempsky <>
Fri Jul 27 22:30:45 CEST 2007

Here's a simpler test case:


    start() ->
        gen_server:start(?MODULE, [], []).

    init([]) ->
        exit(self(), burlap).

The cause seems to be that proc_lib:sync_wait/2 expects to receive an
EXIT message if Pid exits, but proc_lib:start* is often called from
contexts where the trap_exit flag is unset (e.g., gen_server).

More information about the erlang-bugs mailing list