|Re: [tracecompass-dev] Issue with custom Tracer based on Trace compass|
Here are some debugging hints:
1- Does the problem happen only with one trace, or all your recent traces?
2- Is it normal that you have an event with a timestamp of
Long.MAX_VALUE? How does that happen? Maybe it's your CTF trace
that has the problem? How is your CTF generated? With LTTng or
bareCTF or programmatically?
3- Maybe an event is malformed. Does babeltrace read your trace correctly up to the end of the trace and the output looks ok to you?
4- What is your trace clock? For instance, in Linux/LTTng, it is the monotonic clock which won't have values that high.
If none of those hints seem problematic to you and babeltrace
reads the trace just fine and there really is a clock overflow in
the trace timestamp (if that is the case?), you may open a bug for
Trace Compass  and, if you can, attach one of the traces that
pose problem if it does not contain sensitive data and we will
look into it.
We developed a CTF Trace analyzer with a custom trace format based on Trace Compass version 4.3.
Recently we ran into the following issue:
When opening a trace in a Tracing project, the analysis try to build the entry and perform the analysis eternally for our custom view based on a TimeGraphView.
It even freeze the eclipse instance and the workspace become unusable.
After further investigation, it seems that the thread that contains the deadlock is the thread that performs the mergeBucket() function that build the HistogramDataModel (I attached a screenshot of the call stack for this thread). This issue seems to come from the fact that we have an event with a timestamp that is apparently the size of a long (9223372036854775807). An overflow probably occur at the loop while(timestamp >= fTimeLimit).
We cannot see how to deal with this issue from our perspective, (for instance checking if an event is inconsistent in the trace that is processed) as most of the processing in our application is done by Trace compass.
Do you have any idea how we could solve this issue ?
Mannarino Systems & Software Inc.
100 Alexis-Nihon Boulevard, Suite 800
Canada, H4M 2P4
The information contained in this electronic message and any attachment(s) is intended only for the use of the intended recipient. The information is subject to applicable export control regulations. It may contain confidential, proprietary or legally privileged information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution, disclosure, use, print or copying of this communication and any attachment(s) is strictly prohibited. If you have received this electronic message in error, please notify the sender immediately and destroy all copies.
L'information contenue dans le présent message électronique et les fichiers qui y sont joints sont réservés uniquement à l'usage du destinataire visé. L'information est régie par les règlements applicables concernant l'exportation de marchandise contrôlée. Le présent message peut contenir des renseignements de nature confidentielle, exclusive ou protégée par le secret professionnel aux termes de la loi. Si le lecteur du présent message n'est pas le destinataire visé ou l'employé ou l'agent responsable de la remise du message au destinataire visé, veuillez prendre note que toute diffusion, distribution, divulgation, utilisation, impression ou reproduction de la présente communication, et de tout fichier qui y est joint, est strictement interdite. Si vous avez reçu le présent message électronique par erreur, veuillez informer immédiatement l'expéditeur, détruire toutes les copies électroniques et papiers.
_______________________________________________ tracecompass-dev mailing list tracecompass-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tracecompass-dev
Back to the top