Segmentation fault using `lttv -m textDump...' on 2.6.24

Andrew McDermott <[email protected]> Mon, 18 Feb 2008 11:29:22 +0000
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
Hi,

I have taken kernel.org 2.6.24 and patched with
patch-2.6.24-rc8-git3-lttng-0.10-pre42.tar.bz2 -- I couldn't find
anything later than this so I assume this represents the patch series
for 2.6.24.

On top of that I have taken:

  lttv-0.10.0-pre10-18012008.tar.gz &
  ltt-control-0.47-25012008.tar.gz

I have collected a trace using:

  lttctl -n trace3 -l /mnt/debugfs/ltt -t /tmp/trace3 -d

and stopped using:

  lttctl -n trace3 -l /mnt/debugfs/ltt -t /tmp/trace3 -f

    Linux Trace Toolkit Trace Control 0.47-25012008
    Controlling trace : trace3
    Linux Trace Toolkit Trace Daemon 0.47-25012008
    Reading from debugfs directory : /mnt/debugfs/ltt/trace3
    Writing to trace directory : /tmp/trace3

I have some data in the trace:

    ls -lR /tmp/trace3/

    /tmp/trace3/:
    total 1032
    drwxr-xr-x 2 root root    4096 Feb 18 11:13 control
    -rwxr-xr-x 1 root root 1048576 Feb 18 11:13 cpu_0

    /tmp/trace3/control:
    total 532
    -rwxr-xr-x 1 root root  65536 Feb 18 11:13 facilities_0
    -rwxr-xr-x 1 root root  65536 Feb 18 11:13 interrupts_0
    -rwxr-xr-x 1 root root  65536 Feb 18 11:13 modules_0
    -rwxr-xr-x 1 root root  65536 Feb 18 11:13 network_0
    -rwxr-xr-x 1 root root 262144 Feb 18 11:13 processes_0

I then try and decode the trace but get the following error:

  lttv -m textDump -t /tmp/trace3

** (process:27426): WARNING **: No marker of name kernel_arch_syscall_entry found

(process:27426): GLib-CRITICAL **: g_array_remove_range: assertion `index_ < array->len' failed

** (process:27426): WARNING **: No marker of name kernel_arch_trap_entry found
/usr/local/lttv-0.10.0-pre10/bin/lttv: line 15: 27426 Segmentation fault      $0.real $*

Any clues?  Have I missed a step?  Is there a step that I haven't
taken that is new with 2.6.24.  The last time I tried this the
sequence worked with 2.6.21.

Thanks for any help...

-- 
andy