Project

General

Profile

Actions

Bug #364

closed

SessionD coredump after "lttng destroy" (possibly due to bug-363)

Added by Tan le tran over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
10/03/2012
Due date:
% Done:

100%

Estimated time:

Description

Commits used:
userspace : (sep6) a5a9f42 Ensure that read-side functions meet 10-line LGPL criterion
lttng-ust : (Oct03) c433c3c Fix: be quiet on filter linker error
lttng-tools: (sep28) 633d008 Fix: Metadata stream leak when received in consumer
babeltrace : (sep27) fef3bf2 Fix: Allow 64-bit packet offset

Sceanrio: =========

/home/test_apps/demo-trace 60 &
lttng list -u
lttng create $SESSION_NAME -o /cluster/temp/sessiondir/$SESSION_NAME
lttng enable-event "ust_tests_demo2:l*" -u --filter ' intfield > 3'
lttng enable-event "ust_tests_demo2:loop" -u --filter ' intfield < 3'

lttng start $SESSION_NAME;
lttng list $SESSION_NAME

#--- wait for demo to finish.
sleep 1
babeltrace --no-delta /cluster/temp/sessiondir/$SESSION_NAME

lttng destroy

GET:

DEBUG1: Wait for client response [in thread_manage_clients() at main.c:3073]

  • glibc detected * lttng-sessiond: corrupted double-linked list: 0x0000000000657360 * ======= Backtrace: =========
    /lib64/libc.so.6(+0x75558)[0x7f014f640558]
    /lib64/libc.so.6(+0x75b3f)[0x7f014f640b3f]
    /lib64/libc.so.6(+0x77f2e)[0x7f014f642f2e]
    /lib64/libc.so.6(__libc_calloc+0xc8)[0x7f014f644bc8]
    lttng-sessiond[0x418ce6]
    /lib64/libpthread.so.0(+0x77b6)[0x7f014f9467b6]
    /lib64/libc.so.6(clone+0x6d)[0x7f014f6a2bcd] ======= Memory map: ========
    00400000-00434000 r-xp 00000000 00:0e 578732 /usr/bin/lttng-sessiond
    00633000-00634000 r--p 00033000 00:0e 578732 /usr/bin/lttng-sessiond
    00634000-0063b000 rw-p 00034000 00:0e 578732 /usr/bin/lttng-sessiond
    0063b000-00681000 rw-p 00000000 00:00 0 [heap]

Files

terminal.log (76.7 KB) terminal.log terminal log + test instruction Tan le tran, 10/03/2012 04:08 PM
lttng-sessiond.20588.SC-1.core.tar.gz (136 KB) lttng-sessiond.20588.SC-1.core.tar.gz coredump file Tan le tran, 10/03/2012 04:08 PM
Actions #1

Updated by David Goulet over 11 years ago

  • Status changed from New to Confirmed
  • Assignee set to David Goulet
  • Priority changed from Normal to High
  • Target version set to 2.1 stable

Bug 363 should be fixed before digging in this one.

Here is what I get on my system:

  • glibc detected * lttng-sessiond: free(): invalid pointer: 0x00000000017aa550 * ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(+0x75b76)[0x7fb829a55b76]
    /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fb829a5a8ac]
    lttng-sessiond[0x410b66]
    /usr/local/lib/liburcu.so.1(+0x2a0e)[0x7fb82a5b6a0e]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)[0x7fb829d6db50]
    /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fb829ab870d]
Actions #2

Updated by David Goulet over 11 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF