[erlang-bugs] release_handler_1 still broken

Paul Mineiro <>
Wed Feb 25 20:07:18 CET 2009


Hey.  I just upgraded to r12b5.  Thanks and kudos.

Unfortunately I noticed that release_handler_1 still fails on dynamic
child specifications.  Here's a patch (the patch says sasl-2.1.5.1 but it
works with r12b5 as well; the file does not appear to have
changed).

Cheers.

-- p

--- /usr/lib/erlang/lib/sasl-2.1.5.1/src/release_handler_1.erl  2007-08-05 08:48:53.000000000 -0700
+++ release_handler_1.erl       2008-03-25 19:39:29.000000000 -0700
@@ -505,7 +505,7 @@
                application:which_applications())).

 get_procs([{Name, Pid, worker, dynamic} | T], Sup) when is_pid(Pid) ->
-    Mods = get_dynamic_mods(Name),
+    Mods = get_dynamic_mods(Pid),
     [{Sup, Name, Pid, Mods} | get_procs(T, Sup)];
 get_procs([{Name, Pid, worker, Mods} | T], Sup) when is_pid(Pid), is_list(Mods) ->
     [{Sup, Name, Pid, Mods} | get_procs(T, Sup)];


In an artificial world, only extremists live naturally.

        -- Paul Graham



More information about the erlang-bugs mailing list