Project

General

Profile

Actions

Bug #499

closed

lttng2.2.0rc1: SessionD (Program terminated with signal 6, Aborted) when create session without specifying buffer type

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

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
04/10/2013
Due date:
% Done:

100%

Estimated time:

Description

Commit used:
============
babeltrace    : 740aad2 (HEAD, origin/master, origin/HEAD) Show token in CTF parser error
lttng-tools   : 500c239 (HEAD, tag: v2.2.0-rc1, origin/master, origin/HEAD) Update version to v2.2.0-rc1
lttng-ust     : 9c915ee (HEAD, tag: v2.2.0-rc1, origin/master, origin/HEAD) Version 2.2.0-rc1
userspace-rcu : d107390 (HEAD, origin/master, origin/HEAD, globalBuffer) Add tab to output ..

Problem Description:
====================
 * SessionD coredump with the following gdb info:

   (gdb) bt
#0  0x00007f4d42413b55 in raise () from /lib64/libc.so.6
#1  0x00007f4d42415131 in abort () from /lib64/libc.so.6
#2  0x00007f4d4240ca10 in __assert_fail () from /lib64/libc.so.6
#3  0x000000000041b2c5 in shadow_copy_session (ua_sess=0x67afc0, usess=0x66b460, app=0x66d330) at ust-app.c:1392
#4  0x000000000041bb4d in create_ust_app_session (usess=0x66b460, app=0x66d330, ua_sess_ptr=0x7f4d40fca928, is_created=0x0) at ust-app.c:1615
#5  0x0000000000420ac2 in ust_app_global_update (usess=0x66b460, sock=22) at ust-app.c:3927
#6  0x0000000000426188 in update_ust_app (app_sock=22) at main.c:680
#7  0x00000000004280fd in thread_dispatch_ust_registration (data=0x0) at main.c:1465
#8  0x00007f4d4275c7b6 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f4d424b8c6d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Is problem reproducible ?
=========================
  * yes 

How to reproduce (if reproducible):
===================================
  * From a program that use lttng API calls to create session, etc:
    :
    struct lttng_domain dom;
    :
    : //-- do not initialize dom.buf_type !
    :
    handle = lttng_create_handle(sessionName.c_str(), &dom);
    :
    // Then use lttng_channel_set_default_attr
    //          lttng_enable_channel
    //          

Any other information:
======================
- 


Files

SessionD_Abort_gdb_output.log (7.33 KB) SessionD_Abort_gdb_output.log gdb output Tan le tran, 04/10/2013 10:48 AM
Actions

Also available in: Atom PDF