Project

General

Profile

Bug #390 ยป consumerd_crash_when_relayd_is_killed_nov1.txt

Jesus Garcia, 11/01/2012 02:19 PM

 
SC-1:~ # date;
Thu Nov 1 13:54:11 EDT 2012
SC-1:~ # /home/test_apps/TestApp_type1 50000 np &
[1] 29238
SC-1:~ # ps -eaf | grep lttng | grep -v grep
root 20628 1 0 11:27 ? 00:00:00 lttng-sessiond -d
SC-1:~ # ps -eaf | egrep "lttng|TestApp" | grep -v grep
root 20628 1 0 11:27 ? 00:00:00 lttng-sessiond -d
root 29238 28031 4 13:54 pts/3 00:00:00 /home/test_apps/TestApp_type1 50000 np
SC-1:~ #
SC-1:~ # lttng-relayd -C tcp://0.0.0.0:50000 -D tcp://0.0.0.0:50001 -o /cluster/temp/ses1 &
[2] 29271
SC-1:~ # lttng create ses1 -U net://192.168.0.1:50000:50001/./
Session ses1 created.
Traces will be written in net://192.168.0.1:50000:50001/./
SC-1:~ # lttng enable-event -u com*
UST event com* created in channel channel0
SC-1:~ # lttng list ses1
Tracing session ses1: [inactive]
Trace path: net://192.168.0.1:50000/./ [data: 5343]

=== Domain: UST global ===

Channels:
-------------
- channel0: [enabled]

Attributes:
overwrite mode: 0
subbufers size: 4096
number of subbufers: 4
switch timer interval: 0
read timer interval: 200
output: mmap()

Events:
com* (type: tracepoint) [enabled]

SC-1:~ #
SC-1:~ # netstat -etanp | grep lttng
tcp 0 0 0.0.0.0:50000 0.0.0.0:* LISTEN 0 176104 29271/lttng-relayd
tcp 0 0 0.0.0.0:50001 0.0.0.0:* LISTEN 0 176105 29271/lttng-relayd
SC-1:~ #
SC-1:~ # ps -eaf | egrep "lttng|TestApp" | grep -v grep
root 20628 1 0 11:27 ? 00:00:00 lttng-sessiond -d
root 29238 28031 4 13:54 pts/3 00:00:03 /home/test_apps/TestApp_type1 50000 np
root 29271 28031 0 13:54 pts/3 00:00:00 lttng-relayd -C tcp://0.0.0.0:50000 -D tcp://0.0.0.0:50001 -o /cluster/temp/ses1
root 29289 20628 0 13:54 ? 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
SC-1:~ #
SC-1:~ #
SC-1:~ # ll /cluster/dumps
total 3032
-rw------- 1 root root 34619392 Nov 1 10:34 lttng-consumerd.13581.SC-1.core
-rw------- 1 root root 34185216 Nov 1 11:27 lttng-consumerd.19941.SC-1.core
-rw------- 1 root root 34631680 Nov 1 10:34 lttng-consumerd.7181.PL-3.core
-rw------- 1 root root 34324480 Oct 31 16:01 lttng-consumerd.938.SC-1.core
SC-1:~ #
SC-1:~ #
SC-1:~ # lttng start; sleep 5; date; pkill relayd; date; lttng destroy; date; ps -eaf | grep lttng
Tracing started for session ses1
Thu Nov 1 13:56:00 EDT 2012
Thu Nov 1 13:56:00 EDT 2012
Session ses1 destroyed
Thu Nov 1 13:56:00 EDT 2012
root 20628 1 0 11:27 ? 00:00:00 lttng-sessiond -d
root 29271 28031 0 13:54 pts/3 00:00:00 lttng-relayd -C tcp://0.0.0.0:50000 -D tcp://0.0.0.0:50001 -o /cluster/temp/ses1
root 29289 20628 0 13:54 ? 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
root 29374 28031 0 13:55 pts/3 00:00:00 grep lttng
SC-1:~ #
[2]+ Done lttng-relayd -C tcp://0.0.0.0:50000 -D tcp://0.0.0.0:50001 -o /cluster/temp/ses1
SC-1:~ #
SC-1:~ #
SC-1:~ # ps -eaf | egrep "trace|lttng|TestApp" | grep -v grep
root 9993 1 0 10:20 ? 00:00:02 /opt/trace_ea/bin/TraceEa
root 10042 9993 0 10:20 ? 00:00:00 /opt/trace_ea/bin/TraceEa
root 11800 1 0 10:22 ? 00:00:01 /opt/trace/sbin/trace_c
root 11806 1 0 10:22 ? 00:00:00 /opt/trace/sbin/trace_p
root 29238 28031 4 13:54 pts/3 00:00:05 /home/test_apps/TestApp_type1 50000 np
root 29404 1 0 13:56 ? 00:00:00 lttng-sessiond -d
SC-1:~ #
SC-1:~ #
SC-1:~ # date
Thu Nov 1 13:56:17 EDT 2012
SC-1:~ #
SC-1:~ #
SC-1:~ # ll /cluster/dumps
total 3420
-rw------- 1 root root 34619392 Nov 1 10:34 lttng-consumerd.13581.SC-1.core
-rw------- 1 root root 34185216 Nov 1 11:27 lttng-consumerd.19941.SC-1.core
-rw------- 1 root root 34086912 Nov 1 13:56 lttng-consumerd.29289.SC-1.core <===<<< New core dump
-rw------- 1 root root 34631680 Nov 1 10:34 lttng-consumerd.7181.PL-3.core
-rw------- 1 root root 34324480 Oct 31 16:01 lttng-consumerd.938.SC-1.core
SC-1:~ #
    (1-1/1)