[ltt-dev] lttv: Segmentation fault while reading a trace

Mathieu Desnoyers compudj at krystal.dyndns.org
Mon Mar 23 11:03:00 EDT 2009


* VISHAL KANAUJIA (vishalkanaujia at gmail.com) wrote:
> Hi,
>   I created trace with $  lttctl -C -w /tmp/trace1 trace1 and I did get
> acknowledgement that trace has been started. After stopping the
> trace I tried to read it. But I'm struck with following issue:
> 
> [root at abc tmp]# lttv -m textDump -t /tmp/trace1
> 
> ** (process:23164): CRITICAL **: cannot open trace /tmp/trace1
> /usr/local/bin/lttv: line 15: 23164 Segmentation fault      $0.real $*
> [root at abc tmp]# ll !$
> ll /tmp/trace1
> total 520
> -rwxr-xr-x 1 root root 262144 2009-03-23 16:05 metadata_0
> -rwxr-xr-x 1 root root 262144 2009-03-23 16:05 metadata_1
> 

You probably forgot to run

ltt-armall

before starting the trace.

Mathieu

> Am I missing something here?
> 
> Thanks,
> Vishal
> 
> PS: I have installed LTTng with following configuration:
> 
> o $uname -a
>    2.6.29-rc3 #1 SMP Wed Mar 18 19:40:04 IST 2009 i686 i686 i386 GNU/Linux
> o LTTng path: patch-2.6.29-rc3-lttng-0.92
> o Linux Trace Toolkit Trace Control 0.65-11022009
> o Linux Trace Toolkit Visualizer 0.11.6-13112008

> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list