Project

General

Profile

Bug #542 » gdb-backtrace.log

David Goulet, 05/22/2013 04:51 PM

 
Program terminated with signal 11, Segmentation fault.
#0 ustctl_duplicate_ust_object_data (dest=0x7fee742d1df8, src=0x0) at ustctl.c:800
800 if (src->handle != -1) {
(gdb) bt full
#0 ustctl_duplicate_ust_object_data (dest=0x7fee742d1df8, src=0x0) at ustctl.c:800
obj = 0x7fee85dd19c0
ret = <optimized out>
__func__ = "ustctl_duplicate_ust_object_data"
#1 0x000000000041d72c in duplicate_channel_object (reg_chan=0x7fee742cf070, ua_chan=0x7fee742d1cd0)
at ust-app.c:2000
ret = 0
__PRETTY_FUNCTION__ = "duplicate_channel_object"
#2 0x000000000041dd57 in send_channel_uid_to_ust (reg_chan=0x7fee742cf070, app=0x19106d0,
ua_sess=0x7fee742d0710, ua_chan=0x7fee742d1cd0) at ust-app.c:2161
ret = 32750
reg_stream = 0x7fee742cf0b8
__PRETTY_FUNCTION__ = "send_channel_uid_to_ust"
__func__ = "send_channel_uid_to_ust"
#3 0x000000000041e0b2 in create_channel_per_uid (app=0x19106d0, usess=0x7fee742c0230,
ua_sess=0x7fee742d0710, ua_chan=0x7fee742d1cd0) at ust-app.c:2263
ret = 0
reg_uid = 0x7fee742c2020
reg_chan = 0x7fee742cf070
__PRETTY_FUNCTION__ = "create_channel_per_uid"
__func__ = "create_channel_per_uid"
#4 0x000000000041e348 in do_create_channel (app=0x19106d0, usess=0x7fee742c0230,
ua_sess=0x7fee742d0710, ua_chan=0x7fee742d1cd0) at ust-app.c:2341
ret = 32750
__PRETTY_FUNCTION__ = "do_create_channel"
#5 0x000000000041e4f3 in create_ust_app_channel (ua_sess=0x7fee742d0710, uchan=0x7fee742c0dc0,
app=0x19106d0, type=LTTNG_UST_CHAN_PER_CPU, usess=0x7fee742c0230, ua_chanp=0x0) at ust-app.c:2414
ret = 0
iter = {iter = {node = 0x0, next = 0x0}}
ua_chan_node = 0x0
ua_chan = 0x7fee742d1cd0
__func__ = "create_ust_app_channel"
#6 0x0000000000421121 in ust_app_create_channel_glb (usess=0x7fee742c0230, uchan=0x7fee742c0dc0)
at ust-app.c:3426
ret = 0
created = 1
iter = {iter = {node = 0x1910748, next = 0x17cbdf0}}
app = 0x19106d0
ua_sess = 0x7fee742d0710
__PRETTY_FUNCTION__ = "ust_app_create_channel_glb"
__func__ = "ust_app_create_channel_glb"
#7 0x0000000000409916 in channel_ust_create (usess=0x7fee742c0230, attr=0x7fee74001afc,
type=LTTNG_BUFFER_PER_UID) at channel.c:344
ret = 10
uchan = 0x7fee742c0dc0
defattr = 0x0
__PRETTY_FUNCTION__ = "channel_ust_create"
__func__ = "channel_ust_create"
#8 0x0000000000412a3a in cmd_enable_channel (session=0x7fee742c2250, domain=0x7fee740019c8,
attr=0x7fee74001afc, wpipe=-1) at cmd.c:901
uchan = 0x0
ret = 32750
usess = 0x7fee742c0230
chan_ht = 0x7fee742c02a0
__PRETTY_FUNCTION__ = "cmd_enable_channel"
__func__ = "cmd_enable_channel"
#9 0x000000000042d46b in process_client_msg (cmd_ctx=0x7fee741f4dd0, sock=198,
sock_error=0x7fee85dd0be4) at main.c:2694
ret = 10
need_tracing_session = 1
need_domain = 1
__func__ = "process_client_msg"
#10 0x000000000042f173 in thread_manage_clients (data=0x0) at main.c:3463
sock = 198
ret = 8780
i = 1
pollfd = 7
err = -1
sock_error = 0
revents = 1
nb_fd = 1
cmd_ctx = 0x7fee741f4dd0
events = {epfd = 14, nb_fd = 2, alloc_size = 2, init_size = 2, events = 0x178e490}
__func__ = "thread_manage_clients"
(1-1/2)