Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Issue with custom Tracer based on Trace compass
  • From: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
  • Date: Tue, 31 Mar 2020 09:45:30 -0400
  • Autocrypt: addr=gbastien@xxxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsFNBFBOneQBEACmVKsSR9YiWFJuUI5qFPMHh11O3aHBjxsVXIcPchi/FJF9ZB4rOaQ4cbVq AOFD4wftjWl5cZE6SwQS+IsCB3QjaJvq/hQsSgwW959PllZ266/yW7G8f77si2g9NeK+u5NB EwNCTLcai6VPjHXpXvWD0s9oeD5RuEK5qRjAjne7D1F/vpDEzfolc8ZIYkTp+eQ7gwgqSoei z9qPObes8fg6l/zB+vsOu2L5DE8/2Ad5ItYlC8MTD+LrFjyhxuFC14VuXvIV4DwOkKRfWGn9 PDDUnQbu2p1x4g6zLmk9Karm9qzWDKNrqhUHvrQwUS5ooiLHeCbkjDG3Iq7f9u3DiqP7OFmu 313UX8qB8glOJgGLnjha9sVwUT6Eqx+oqAXwBZJIopG5mVDTuhIiapWcWUzwewIF5rIw7ReN RQsCD2e+a+xBhoFTfM0yqbHKLaPfds2/b7+vIzi9lKfqOX8o5OEKPjJkxcxXJcYVpxCWQpfG rVuek0ucfyBd5zeHJYfwOdiVjGn7lqrhAlzsCYj7DYYSC/7bNykh2wyttuzi4DcprgxsVKIk j1KaSdq8GhSuAgOnja9Ro1/E4pNZHdBd/kNU+Qb1L98s8r3EcdOoPI4CJCDrNLodNbBliH5Y JvnpaYvMqWek+MQ8a/spmuSdFS5FivSMaOfifzWCOItTksOtEQARAQABzTJHZW5ldmlldmUg QmFzdGllbiAodGFoaW5pKSA8Z2Jhc3RpZW5AdmVyc2F0aWMubmV0PsLBoQQTAQIASwIbAwYL CQgHAwIGFQgCCQoLBBYCAwECHgECF4AfGGh0dHA6Ly9wb29sLnNrcy1rZXlzZXJ2ZXJzLm5l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4PMm+Wl8cxakWYJio09E9HaP+V7b jvgrBQ==
  • Delivered-to: tracecompass-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tracecompass-dev>
  • List-help: <mailto:tracecompass-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tracecompass-dev>, <mailto:tracecompass-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tracecompass-dev>, <mailto:tracecompass-dev-request@eclipse.org?subject=unsubscribe>
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

Hi Alexis,


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 [1] 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.

[1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Tracecompass


Best regards,

Geneviève


On 3/31/20 8:46 AM, tracecompass developer discussions wrote:

Hi,

 

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 ?

 

Thanks,

 

Alexis Bouffies

Software Engineer/Analyst

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