[ltt-dev] Assertion Fail

Mathieu Desnoyers compudj at krystal.dyndns.org
Tue Jan 5 20:52:33 EST 2010


Hi,

This kind of problem happened with old LTTng versions when the xml
facility description checksum did not match the checksum put in the code
generated by genevent.

So there seems to be an incompatibility between your lttng and
ltt-control versions (or the version of the facilities xml files
installed on your target system. They are copied into the trace
directory).

If I were you, I'd go with a more recent kernel and toolchain
altogether, or at least try a version that is not based on a rcX-mmY
kernel. I'm curious to know why you ended up using this precise kernel
version ?

Thanks,

Mathieu

* Sachin Desai (sachin.desai at gmail.com) wrote:
> Hi Mathieu,
> 
> I need troubleshooting the problem with an ltt_event_facility()
> assertion crash. I am running the following:
> 
> lttv: 0.8.84
> lttctl:  0.42
> lttng: 0.9.10
> lnx: 2.6.22-rc4-mm2
> 
> I patched the mm tree, compiled and successfully ran it on a PowerMac
> 7447A ppc platform. Everything so far has been "out of the box". I
> succesfully loaded the modules, installed lttctl and lttv (gui as
> well). I verified the .xml files under /usr/.../.../facilities are the
> correct ones. I do not have any custom facilities.
> 
> I have spend many days poring thru code, reading the mail archives and
> attempting numerous "fixes". Can you please point me in the right
> direction?
> 
> Below, I have pasted the crash output.
> 
> Thanks,
> 
> Sachin
> 
> lttv -m textDump -t /tmp/trace:
> -------------------------------------------------------------------------------
> ** (process:24668): WARNING **: Unknown facility 145 (0x91) in
> tracefile /control/interrupts
> 
> ** (process:24668): WARNING **: Unknown facility 145 (0x91) in
> tracefile /control/modules
> 
> ** (process:24668): WARNING **: Unknown facility 145 (0x91) in
> tracefile /control/network
> 
> ** (process:24668): WARNING **: Unknown facility 211 (0xd3) in
> tracefile /control/processes
> 
> ** (process:24668): WARNING **: Unknown facility 211 (0xd3) in tracefile /cpu
> 
> ** ERROR:(event.c:88):ltt_event_facility: assertion failed: (facility->exists)
> /usr/local/bin/lttv: line 15: 24668 Aborted                 $0.real $*
> 
> lsmod:
> ----------
> ltt_statedump           8616  0
> ltt_probe_fs            5248  0
> ltt_probe_list          3616  0
> ltt_probe_net           3616  0
> ltt_probe_kernel        6176  0
> ltt_probe_mm            3584  0
> ltt_control             3204  0
> 
> dmesg:
> -----------
> ltt-control init
> LTT : Facility mm registered with id 59
> LTT : Facility kernel registered with id 211
> LTT : Facility net registered with id 179
> LTT : Facility list registered with id 145
> LTT : Facility fs registered with id 225
> LTT : ltt-facility-statedump init
> ltt-control ltt_control_input
> ltt_control : trace trace
> Creating trace trace
> ltt-control ltt_control_input
> ltt_control : trace trace
> Start tracing trace
> Dumping facility mm
> Dumping facility list
> Dumping facility net
> Dumping facility kernel
> Dumping facility fs
> ltt_statedump_start
> do_ltt_statedump
> do_ltt_statedump end
> ltt-control ltt_control_input
> ltt_control : trace trace
> Stop tracing trace
> ltt-control ltt_control_input
> ltt_control : trace trace
> Destroying trace trace
> ISO 9660 Extensions: RRIP_1991A
> ltt-control ltt_control_input
> ltt_control : trace trace
> Creating trace trace
> ltt-control ltt_control_input
> ltt_control : trace trace
> 
> _______________________________________________
> 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