Project

General

Profile

Bug #1243

lttng 2.11 / 2.12 fails to destroy sessions.

Added by Matthew Khouzam 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/06/2020
Due date:
% Done:

0%

Estimated time:

Description

Attached output of sessiond -vvv, lttng-tools -vvv script to test. Taken in Ubuntu 16.04.04


Files

Makefile (76 Bytes) Makefile makefile Matthew Khouzam, 03/06/2020 09:35 PM
out.log (580 Bytes) out.log stdout from trace.sh Matthew Khouzam, 03/06/2020 09:35 PM
trace.sh (283 Bytes) trace.sh commands used for lttng Matthew Khouzam, 03/06/2020 09:35 PM
lttng.log (3.92 KB) lttng.log stderr from trace.sh Matthew Khouzam, 03/06/2020 09:35 PM
sessiond.log (192 KB) sessiond.log output of lttng-sessiond -vvv Matthew Khouzam, 03/06/2020 09:35 PM
xyiterate.c (2.44 KB) xyiterate.c simple program testing out tracef Matthew Khouzam, 03/06/2020 09:35 PM
sessiond-cons.log (423 KB) sessiond-cons.log sessiond -vvv --verbose-consumer Matthew Khouzam, 03/06/2020 11:24 PM
#1

Updated by Mathieu Desnoyers 7 months ago

The first error I see in the sessiond logs is:

DEBUG3 - 21:31:07.825293221 [8383/8531]: UST app context 5 allocated (in alloc_ust_app_ctx() at ust-app.c:1161)
Error: UST app create channel context failedh for app (pid: 8601) with ret -1024

Does the issue still happen without the perf contexts ?

#2

Updated by Mathieu Desnoyers 7 months ago

Also, having a log of "lttng-sessiond -vvv --verbose-consumer" would be useful.

#4

Updated by Matthew Khouzam 7 months ago

Without the performance counters, it "works". Traces can be read in trace compass and babeltrace2.

Babeltrace1 has the following output:

$> babeltrace -vvv .
03-06 23:31:21.331 13379 13379 I CLI :682 Configuration:
Debug mode: no
Verbose mode: no
Plugin paths:
- /home/ematkho/.local/lib/babeltrace/plugins
- /usr/lib/x86_64-linux-gnu/babeltrace/plugins
- /home/ematkho/.local/lib/babeltrace/plugins
- /usr/lib/x86_64-linux-gnu/babeltrace/plugins
Source component instances:
'source.ctf.fs':
Name: source-ctf-fs
Parameters:
path: .
Filter component instances:
'filter.utils.muxer':
Name: muxer
Parameters: { }
Sink component instances:
'sink.text.pretty':
Name: pretty
Parameters:
verbose: yes
Connections:
source-ctf-fs.* -> muxer.*
muxer.* -> pretty.*
03-06 23:31:21.332 13379 13379 I CLI :758 Loading dynamic plugins.
03-06 23:31:21.332 13379 13379 I CLI :808 Loading static plugins.
03-06 23:31:21.332 13379 13379 I CLI :837 Loaded all plugins: count=0
03-06 23:31:21.332 13379 13379 I CLI :2888 Executing command: cmd=0, command-name="convert"
03-06 23:31:21.332 13379 13379 I CLI :2595 Creating components.
03-06 23:31:21.332 13379 13379 E CLI :2390 Cannot find component class: plugin-name="ctf", comp-cls-name="fs", comp-cls-type=0
Cannot find component class 'source.ctf.fs'
03-06 23:31:21.332 13379 13379 E CLI :2599 Cannot create components.
Cannot create components
03-06 23:31:21.332 13379 13379 I CLI :2915 Command completed: cmd=0, command-name="convert", ret=-1

#5

Updated by Matthew Khouzam 7 months ago

Please note everything is installed from the PPA. (lttng/stable) or right now, (lttng/daily)

Also available in: Atom PDF