Project

General

Profile

Actions

Bug #1077

closed

ctf_visitor_construct_metadata: missing trace declaration

Added by Waldemar G over 7 years ago. Updated about 4 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11/16/2016
Due date:
% Done:

0%

Estimated time:

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

trace_babeltrace_2.txt (2.11 MB) trace_babeltrace_2.txt Waldemar G, 11/18/2016 09:28 AM
trace_babeltrace_1.txt (3.21 MB) trace_babeltrace_1.txt Waldemar G, 11/18/2016 09:34 AM
Actions #1

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?

Actions #2

Updated by Waldemar G over 7 years ago

Hi,

Thank you for the answer, I'm using lttng v2.7.4.

Logs are attached (quite big unfortunately).

BR

Waldemar

Actions #3

Updated by Waldemar G over 7 years ago

and the first part of logs.

Actions #4

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

Actions #5

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

Actions #6

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.

Actions

Also available in: Atom PDF