[lttng-dev] lttng_abi_map_channel: Assertion `chan' failed

Anand Neeli anand.neeli at gmail.com
Wed Apr 1 16:30:06 EDT 2015


Hi,
I'm running sample app in lttng-ust/doc/examples/easy-ust and it is
crashing with following traceback. (infact all the instrumented app's crash)

I have attached complete lttng logs.
I'm using 2.6.0
Can you please let me know if i'm missing anything here?

aneeli at aneeli-desktop: easy-ust$ ./sample
sample: lttng-ust-abi.c:436: lttng_abi_map_channel: Assertion `chan' failed.
Aborted (core dumped)

TRACEBACK
Core was generated by `./sample'.
Program terminated with signal 6, Aborted.
#0  0x00007f28ef322425 in __GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007f28ef322425 in __GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f28ef325b8b in __GI_abort () at abort.c:91
#2  0x00007f28ef31b0ee in __assert_fail_base (fmt=<optimized out>,
    assertion=0x7f28ef6e4de5 "chan", file=0x7f28ef6e4d35 "lttng-ust-abi.c",
    line=<optimized out>, function=<optimized out>) at assert.c:94
#3  0x00007f28ef31b192 in __GI___assert_fail (assertion=0x7f28ef6e4de5
"chan",
    file=0x7f28ef6e4d35 "lttng-ust-abi.c", line=436,
    function=0x7f28ef6e50d0 "lttng_abi_map_channel") at assert.c:103
#4  0x00007f28ef6c26ea in lttng_abi_map_channel (session_objd=1,
    ust_chan=<optimized out>, uargs=<optimized out>, owner=0x7f28ef8f27a0)
    at lttng-ust-abi.c:436
#5  0x00007f28ef6c2790 in lttng_session_cmd (objd=1, cmd=<optimized out>,
    arg=139813769041368, uargs=0x7f28ee09d280, owner=0x7f28ef8f27a0)
    at lttng-ust-abi.c:567
#6  0x00007f28ef6bfa22 in handle_message (lum=0x7f28ee09d5b0, sock=4,
    sock_info=0x7f28ef8f27a0) at lttng-ust-comm.c:645
#7  ust_listener_thread (arg=0x7f28ef8f27a0) at lttng-ust-comm.c:1246
#8  0x00007f28ee8a7e9a in start_thread (arg=0x7f28ee09e700)
    at pthread_create.c:308
#9  0x00007f28ef3e03fd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
(gdb)


Thanks,
Anand Neeli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150402/07cb1510/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lttng_abi_map_channel.log
Type: application/octet-stream
Size: 41722 bytes
Desc: not available
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150402/07cb1510/attachment-0001.obj>


More information about the lttng-dev mailing list