RidgeRun / gst-shark

GstShark is a front-end for GStreamer traces
GNU Lesser General Public License v2.1
94 stars 45 forks source link

Corrupted CTF file #39

Open EllieDP opened 6 years ago

EllieDP commented 6 years ago

When the bitrate tracer is paired with 2 or more other tracers, the CTF file is unreadable.

micha137 commented 6 years ago

What error message do you get?

EllieDP commented 6 years ago

error] ctf_event_visit: event ID 4 used more than once in stream 0 [error] ctf_visitor_construct_metadata: event declaration error [error] Error in CTF metadata constructor -1 [warning] Unable to open trace metadata for path "./test". [warning] [Context] Cannot open_trace of format ctf at path ./test. [warning] [Context] cannot open trace "./shark" from ./test for reading. [error] Cannot open any trace for reading.

[error] opening trace "./test" for reading.

[error] none of the specified trace paths could be opened.

To reproduce the error, include the bitrate tracer with 2 or more other tracers. The bitrate tracer alone produces a valid CTF file, and any combination of all the other tracers if the bitrate is not included.

rrcarlosrodriguez commented 5 years ago

Hi @EllieDP,

Please give a try to our latest Gst-Shark release, we added support to plot the bitrate tracer, so it might fix your issue. If not please provide the pipeline you are using, gstreamer version and platform