aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/crashdump_helper.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-05-27 12:48:00 +0200
committerSiri Hansen <[email protected]>2014-05-27 14:17:41 +0200
commitdbd2604939e92c110277d941589b8965fdda4270 (patch)
tree7f073ac6c07cc710d3cdac0254e0cae0f36dfd55 /lib/observer/test/crashdump_helper.erl
parent339b6416664c7dc64d72c21653138137e8d1018f (diff)
downloadotp-dbd2604939e92c110277d941589b8965fdda4270.tar.gz
otp-dbd2604939e92c110277d941589b8965fdda4270.tar.bz2
otp-dbd2604939e92c110277d941589b8965fdda4270.zip
[cdv] Allow registered name as owner of timer in crashdump
crashdump_viewer would crash if the owner of a timer was specified as the process' regisered name. This has been corrected.
Diffstat (limited to 'lib/observer/test/crashdump_helper.erl')
-rw-r--r--lib/observer/test/crashdump_helper.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/observer/test/crashdump_helper.erl b/lib/observer/test/crashdump_helper.erl
index 40dbe28d46..0eb4a92c53 100644
--- a/lib/observer/test/crashdump_helper.erl
+++ b/lib/observer/test/crashdump_helper.erl
@@ -35,7 +35,9 @@ n1_proc(Creator,_N2,Pid2,Port2,_L) ->
register(aaaaaaaa,self()),
process_flag(save_calls,3),
ets:new(cdv_test_ordset_table,[ordered_set]),
- erlang:send_after(1000000,self(),cdv_test_timer_message),
+ erlang:send_after(1000000,self(),cdv_test_timer_message1),
+ erlang:send_after(1000000,aaaaaaaa,cdv_test_timer_message2),
+ erlang:send_after(1000000,noexistproc,cdv_test_timer_message3),
Port = hd(erlang:ports()),
Fun = fun() -> ok end,
Ref = make_ref(),