All pastes #2108801 Raw Edit

Stuff

public text v1 · immutable
#2108801 ·published 2012-02-01 18:20 UTC
rendered paste body
root@Hassan-PC:~# gdb lttng
GNU gdb (Ubuntu/Linaro 7.4-0ubuntu1) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/lttng...done.
(gdb) run enable-event -k sched_switch
Starting program: /usr/local/bin/lttng enable-event -k sched_switch
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0804d10d in enable_events (session_name=<optimized out>)
    at commands/enable_events.c:344
344				if (opt_loglevel[0] != '\0') {
(gdb) bt full
#0  0x0804d10d in enable_events (session_name=<optimized out>)
    at commands/enable_events.c:344
        err = 0
        ret = <optimized out>
        event_name = 0x8057050 "sched_switch"
        channel_name = 0x8057390 "channel0"
        ev = {type = LTTNG_EVENT_TRACEPOINT, 
          name = "sched_switch", '\000' <repeats 243 times>, 
          loglevel_type = 3221221728, 
          loglevel = "\000\000\000\000\000\000\000\000\020\000\000\000-\221\376\267\235\251ⷠ\213\004\b\000\000\000\000\035\367\376\267\003\000\000\000\364\357\377\267\004\254\341\267\004\000\000\000\344%\373\267ܖ\376\267\006\000\000\000\207\360\226|\363\003\000\000\240s\005\b\344%\373\267\003\000\000\000L\245\377\267\360\275\341\267\006\000\000\000!\317\t\375\363\003\000\000\001\000\000\000@\b\342\267\060&\373\267L\245\377\267\360\275\341\267\360O\342\267\000\000\000\000\000\000\000\000\001\000\000\000\245\004\000\000P&\373\267\300\"\373\267\210\212\004\b\360O\342\267h\202\004\b\001\000\000\000\364\357\377\267\320\372\377\267\240\364\377\277x\364\377\277i\231\376\267d\364\377\277h\202\004\bL\364\377\277t\372\377\267\000\000\000\000P&\373\267\001\000\000\000\000\000\000\000\001\000\000\000\030\371\377\267\b\000\000\000\000\000\000\000\250s\005\b\200\364\377\277\000\000\000\000\000\000\000\000\030\371\377\267Q\213\004\b", loglevel_value = 438, 
          enabled = 4294967295, pid = -1073744736, attr = {probe = {addr = 0, 
              offset = 576560704782336, 
              symbol_name = "0D\371\267\370\246\350\267\300\"\373\267,D\371\267\000\000\000\000\364/\371\267\240s\005\b`\f\002\000\000D\371\267S\264\350\267DH\371\267\060p\350\267\000\000\000\000\060p\350\267\000\000\000\000\377\377\377\377\000\000\000\000\364/\371\267\bu\005\b\370\n\002\000\250s\005\b\000\000\000\000\375\364\377\277\063\201跨s\005\b\364/\371\267\000D\371\267\000\000\000\000\375\364\377\277\035\346\350\267\000\000\000\000\250s\005\b\364/\371\267\250s\005\b\244\235編s\005\b\000\000\000\000\250s\005\b\005\365\377\277tB\005\b\375\364\377\277\214\236\004\b\250s\005\bE\006\005\b\375\364\377\277 r\005\b\006\000\000\000\"\266ug%\000\000\000 r\005\b\320\067\373\267\000\063\373\267L\245\377\267\360session\000\000\000\000\000\000\000\000\001\000\000\000N\000\000\000@&\373\267\060\353\375\267J\211\004\b :\373\267X\205\004\b"}, ftrace = {
              symbol_name = '\000' <repeats 12 times>, "a\f\002\000\060D\371\267\370\246\350\267\300\"\373\267,D\371\267\000\000\000\000\364/\371\267\240s\005\b`\f\002\000\000D\371\267S\264\350\267DH\371\267\060p\350\267\000\000\000\000\060p\350\267\000\000\000\000\377\377\377\377\000\000\000\000\364/\371\267\bu\005\b\370\n\002\000\250s\005\b\000\000\000\000\375\364\377\277\063\201跨s\005\b\364/\371\267\000D\371\267\000\000\000\000\375\364\377\277\035\346\350\267\000\000\000\000\250s\005\b\364/\371\267\250s\005\b\244\235編s\005\b\000\000\000\000\250s\005\b\005\365\377\277tB\005\b\375\364\377\277\214\236\004\b\250s\005\bE\006\005\b\375\364\377\277 r\005\b\006\000\000\000\"\266ug%\000\000\000 r\005\b\320\067\373\267\000\063\373\267L\245\377\267\360session\000\000\000\000\000\000\000\000\001\000\000\000N\000\000\000@", <incomplete sequence \373\267>}}}
        dom = {type = LTTNG_DOMAIN_KERNEL, attr = {pid = -1207963660, 
            exec_name = "\364\357\377\267\320\372\377\267 \366\377\277\370\365\377\277i\231\376\267\344\365\377\277X\205\004\b\314\365\377\277t\372\377\267\000\---Type <return> to continue, or q <return> to quit---
000\000\000@&\373\267\001\000\000\000\000\000\000\000\001\000\000\000\030\371\377\267\001\000\000\000\364\357\377\267\020\000\000\000\017'\000\000\030\000\000\000\060D\371\267\070D\371\267\200'\373\267\r\000\000\000\000\000\000\000(\000\000\000 \366\377\277\004\000\000\000\000\000\000\000\030\371\377\267J\211\004\b\r\000\000\000h\341\350\267\a\000\000\000\000<\377\267\355I\373\267\364\357\373\267\000\000\000E\320\367\377\277\n\377\377\277HO\000\000\341\240\344\267\f\377\377\277\031\006\005\b\002\000\000\000\002\000\000\000\031\006\005\b\004\000\000\000\000\000\000\000\340\323\004\b\333\370\377\277\350\366\377\277\000Y\355~\027\006\005\b@&\373\267\001\000\000\000\000\000\000\000\017\377\377\277\333\370\377\277\350\366\377\277P\375\004\b\017\377\377\277\005\000\000\000\340\323\004"}}
        __func__ = "enable_events"
#1  0x0804d5e3 in cmd_enable_events (argc=3, argv=0xbffff788)
    at commands/enable_events.c:487
        opt = <optimized out>
        ret = <optimized out>
        pc = 0x8057080
        session_name = 0x8057220 "lttngtop"
#2  0x080497d6 in handle_command (argv=0xbffff788, argc=3) at lttng.c:266
        i = 5
        ret = <optimized out>
        cmd = <optimized out>
#3  parse_args (argv=0xbffff784, argc=4) at lttng.c:492
        opt = <optimized out>
        ret = 0
#4  main (argc=4, argv=0xbffff784) at lttng.c:530
        ret = <optimized out>