Bug #1077
closedctf_visitor_construct_metadata: missing trace declaration
0%
Description
I'm using babeltrace v1.4 to parse a ctf traces produced by lttng. I can see some error and need to understand, where is the problem. Does this mean that the input for babeltrace is incorrect or some other reason?
[error] ctf_visitor_construct_metadata: missing trace declaration
[error] Error in CTF metadata constructor -22
[error] [Context] Cannot open_mmap_trace of format ctf.
[error] Error adding trace
[error] get_next_index failed
[error] Stream 18446744073709551615 is not declared in metadata.
[error] Open file mmap stream error.
[error] [Context] Cannot open_mmap_trace of format ctf.
[error] Error adding trace
[warning] [Context] Cannot open_trace of format lttng-live at path net://10.21.14.23:53591/host/session-29.
[warning] [Context] cannot open trace "net://10.21.14.23:53591/host/session-29" for reading.
[error] opening trace "net://10.21.14.23:53591/host/session-29" for reading.
[error] none of the specified trace paths could be opened.
[17:20:41.151543852] (+?.?????????) du1 com_trithread:INFO: { cpu_id = 7 }, { procname = "LmOseTestProbeP" }, { process = "LmOseTestProbePT", fileAndLine = "sql_emu.c:178", msg = "SQLITE database = /rcs/applicationlogs/ARM-STUB_CXP90295_26/basic_cv.db " }
I'm using Linux 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux, and lttng v2.7.4
Waldemar
Files
Updated by Jérémie Galarneau over 7 years ago
- Status changed from New to Feedback
Can you invoke babeltrace in verbose mode (using the -vvv option) and paste the result here?
Also, which version of LTTng are you using?
Updated by Waldemar G over 7 years ago
- File trace_babeltrace_2.txt trace_babeltrace_2.txt added
Hi,
Thank you for the answer, I'm using lttng v2.7.4.
Logs are attached (quite big unfortunately).
BR
Waldemar
Updated by Waldemar G over 7 years ago
- File trace_babeltrace_1.txt trace_babeltrace_1.txt added
and the first part of logs.
Updated by Mathieu Desnoyers over 7 years ago
Hi,
Can you also provide the list of operations you do when interacting with lttng (session creation, enabling events, start, stop...) along with the result of those commands ?
Thanks,
Mathieu
Updated by Waldemar G over 7 years ago
I don't have this data right now.
I could also say, that the problem appears during restart of machine where lttng session is working.
Waldemar
Updated by Jonathan Rajotte Julien about 4 years ago
- Status changed from Feedback to Invalid
The state of babeltrace changed a lot.
Closing as invalid. If this still applies to Babeltrace 2, please create a new issue.