|
GNU gdb (GDB) SUSE (6.8.50.20090302-1.5.18)
|
|
Copyright (C) 2009 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 "x86_64-suse-linux".
|
|
For bug reporting instructions, please see:
|
|
<http://www.gnu.org/software/gdb/bugs/>...
|
|
|
|
warning: exec file is newer than core file.
|
|
[New Thread 7930]
|
|
[New Thread 5928]
|
|
[New Thread 5923]
|
|
[New Thread 5920]
|
|
[New Thread 18397]
|
|
[New Thread 5926]
|
|
[New Thread 5925]
|
|
[New Thread 5924]
|
|
|
|
warning: Can't read pathname for load map: Input/output error.
|
|
Missing separate debuginfo for /lib64/librt.so.1
|
|
Try: zypper install -C "debuginfo(build-id)=d2c6a2f5b4c35e0fb41d45e2be66c3b73b686a44"
|
|
Missing separate debuginfo for /lib64/libdl.so.2
|
|
Try: zypper install -C "debuginfo(build-id)=3e4f6bfee9fdf77ca975b77b8c325347d9228bb8"
|
|
Missing separate debuginfo for /lib64/libpopt.so.0
|
|
Try: zypper install -C "debuginfo(build-id)=895e7fadb3a3371343391d34280543ea4df24a03"
|
|
Missing separate debuginfo for /lib64/libpthread.so.0
|
|
Try: zypper install -C "debuginfo(build-id)=bb81b1117fc93fc0eafb3e96eabfca4d8976c879"
|
|
Missing separate debuginfo for /lib64/libc.so.6
|
|
Try: zypper install -C "debuginfo(build-id)=2636ed5ff526582a49ed9b6e982c231335db1620"
|
|
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
|
|
Try: zypper install -C "debuginfo(build-id)=3d68b93f8701971da6133437486f3909223534f8"
|
|
|
|
warning: .dynamic section for "/lib64/librt.so.1" is not at the expected address (wrong library or version mismatch?)
|
|
Error while mapping shared library sections:
|
|
/usr/lib64/liblttng-ctl.so.0: No such file or directory.
|
|
Error while mapping shared library sections:
|
|
/usr/lib64/liburcu-common.so.1: No such file or directory.
|
|
Error while mapping shared library sections:
|
|
/usr/lib64/liburcu.so.1: No such file or directory.
|
|
|
|
warning: .dynamic section for "/lib64/libdl.so.2" is not at the expected address (wrong library or version mismatch?)
|
|
Error while mapping shared library sections:
|
|
/usr/lib64/liblttng-ust-ctl.so.1: No such file or directory.
|
|
Error while mapping shared library sections:
|
|
/lib64/libpopt.so.0: No such file or directory.
|
|
|
|
warning: .dynamic section for "/lib64/libpthread.so.0" is not at the expected address (wrong library or version mismatch?)
|
|
|
|
warning: .dynamic section for "/lib64/libc.so.6" is not at the expected address (wrong library or version mismatch?)
|
|
|
|
warning: .dynamic section for "/lib64/ld-linux-x86-64.so.2" is not at the expected address (wrong library or version mismatch?)
|
|
Error while mapping shared library sections:
|
|
/usr/lib64/liburcu-bp.so.1: No such file or directory.
|
|
Error while mapping shared library sections:
|
|
/usr/lib64/liburcu-cds.so.1: No such file or directory.
|
|
Reading symbols from /lib64/librt.so.1...Missing separate debuginfo for /lib64/librt.so.1
|
|
done.
|
|
Loaded symbols for /lib64/librt.so.1
|
|
Symbol file not found for /usr/lib64/liblttng-ctl.so.0
|
|
Symbol file not found for /usr/lib64/liburcu-common.so.1
|
|
Symbol file not found for /usr/lib64/liburcu.so.1
|
|
Reading symbols from /lib64/libdl.so.2...Missing separate debuginfo for /lib64/libdl.so.2
|
|
done.
|
|
Loaded symbols for /lib64/libdl.so.2
|
|
Symbol file not found for /usr/lib64/liblttng-ust-ctl.so.1
|
|
Symbol file not found for /lib64/libpopt.so.0
|
|
Reading symbols from /lib64/libpthread.so.0...Missing separate debuginfo for /lib64/libpthread.so.0
|
|
done.
|
|
Loaded symbols for /lib64/libpthread.so.0
|
|
Reading symbols from /lib64/libc.so.6...Missing separate debuginfo for /lib64/libc.so.6
|
|
done.
|
|
Loaded symbols for /lib64/libc.so.6
|
|
Reading symbols from /lib64/ld-linux-x86-64.so.2...Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
|
|
done.
|
|
Loaded symbols for /lib64/ld-linux-x86-64.so.2
|
|
Symbol file not found for /usr/lib64/liburcu-bp.so.1
|
|
Symbol file not found for /usr/lib64/liburcu-cds.so.1
|
|
Core was generated by `lttng-sessiond -d'.
|
|
Program terminated with signal 11, Segmentation fault.
|
|
#0 0x00000000004132b6 in create_ust_channel (app=0x6622c0, ua_sess=0x656dd0, ua_chan=0x6964a0) at ust-app.c:783
|
|
783 ua_chan->handle = ua_chan->obj->handle;
|
|
(gdb) bt full
|
|
#0 0x00000000004132b6 in create_ust_channel (app=0x6622c0, ua_sess=0x656dd0, ua_chan=0x6964a0) at ust-app.c:783
|
|
ret = <value optimized out>
|
|
__func__ = "create_ust_channel"
|
|
#1 0x0000000000414236 in ust_app_global_update (usess=0x7fa8ac0399b0, sock=144) at ust-app.c:2630
|
|
ret = <value optimized out>
|
|
iter = {iter = {node = 0x696720, next = 0x658310}}
|
|
uiter = {iter = {node = 0x0, next = 0x40f8ba}}
|
|
iter_ctx = {iter = {node = 0x0, next = 0x0}}
|
|
app = 0x6622c0
|
|
ua_sess = 0x656dd0
|
|
ua_chan = 0x6964a0
|
|
ua_event = 0x90
|
|
ua_ctx = <value optimized out>
|
|
__PRETTY_FUNCTION__ = "ust_app_global_update"
|
|
__func__ = "ust_app_global_update"
|
|
#2 0x000000000041a266 in update_ust_app (app_sock=<value optimized out>) at main.c:671
|
|
sess = 0x7fa8ac03d9e0
|
|
#3 thread_manage_apps (app_sock=<value optimized out>) at main.c:1205
|
|
i = 0
|
|
ret = <value optimized out>
|
|
pollfd = 12
|
|
err = <value optimized out>
|
|
revents = <value optimized out>
|
|
ust_cmd = {sock = 144, reg_msg = {major = 2, minor = 1, pid = 1397, ppid = 1, uid = 0, gid = 0, bits_per_long = 64,
|
|
name = "TestApp_Mini1\0\0"}, node = {next = 0x641d78}}
|
|
events = {epfd = 17, nb_fd = 10, alloc_size = 16, init_size = 2, events = 0x64e410}
|
|
__func__ = "thread_manage_apps"
|
|
#4 0x00007fa8b79677b6 in pthread_tryjoin_np () from /lib64/libpthread.so.0
|
|
No symbol table info available.
|
|
#5 0x00007fa8b51d9700 in ?? ()
|
|
No symbol table info available.
|
|
#6 0x0000000000000000 in ?? ()
|
|
No symbol table info available.
|
|
(gdb) print ua_chan
|
|
$1 = (struct ust_app_channel *) 0x6964a0
|
|
(gdb) print ua_chan->obj
|
|
$2 = (struct lttng_ust_object_data *) 0x0
|
|
(gdb) print ret
|
|
$3 = <value optimized out>
|
|
(gdb) dis
|
|
disable disassemble disconnect display
|
|
(gdb) disassemble
|
|
Dump of assembler code for function create_ust_channel:
|
|
0x0000000000413240 <create_ust_channel+0>: mov %rbx,-0x20(%rsp)
|
|
0x0000000000413245 <create_ust_channel+5>: mov %r12,-0x10(%rsp)
|
|
0x000000000041324a <create_ust_channel+10>: mov %rdx,%rbx
|
|
0x000000000041324d <create_ust_channel+13>: mov %r13,-0x8(%rsp)
|
|
0x0000000000413252 <create_ust_channel+18>: mov %rbp,-0x18(%rsp)
|
|
0x0000000000413257 <create_ust_channel+23>: mov %rdi,%r13
|
|
0x000000000041325a <create_ust_channel+26>: sub $0x28,%rsp
|
|
0x000000000041325e <create_ust_channel+30>: mov %rsi,%r12
|
|
0x0000000000413261 <__uatomic_add+0>: lock addq $0x2,0x22ec2e(%rip) # 0x641e98 <health_thread_cmd+24>
|
|
0x000000000041326a <create_ust_channel+42>: xor %edi,%edi
|
|
0x000000000041326c <create_ust_channel+44>: mov $0x2,%esi
|
|
0x0000000000413271 <create_ust_channel+49>: callq 0x40a290 <lttng_fd_get>
|
|
0x0000000000413276 <create_ust_channel+54>: test %eax,%eax
|
|
0x0000000000413278 <create_ust_channel+56>: mov %eax,%ebp
|
|
0x000000000041327a <create_ust_channel+58>: js 0x413350 <create_ust_channel+272>
|
|
0x0000000000413280 <__uatomic_add+0>: lock addq $0x2,0x22ec0f(%rip) # 0x641e98 <health_thread_cmd+24>
|
|
0x0000000000413289 <create_ust_channel+73>: mov 0x8(%r12),%esi
|
|
0x000000000041328e <create_ust_channel+78>: mov 0x0(%r13),%edi
|
|
0x0000000000413292 <create_ust_channel+82>: lea 0x248(%rbx),%rcx
|
|
0x0000000000413299 <create_ust_channel+89>: lea 0x108(%rbx),%rdx
|
|
0x00000000004132a0 <create_ust_channel+96>: callq 0x403848 <ustctl_create_channel@plt>
|
|
0x00000000004132a5 <create_ust_channel+101>: test %eax,%eax
|
|
0x00000000004132a7 <create_ust_channel+103>: mov %eax,%ebp
|
|
0x00000000004132a9 <create_ust_channel+105>: js 0x413370 <create_ust_channel+304>
|
|
0x00000000004132af <create_ust_channel+111>: mov 0x248(%rbx),%rax
|
|
0x00000000004132b6 <create_ust_channel+118>: mov 0x8(%rax),%eax
|
|
0x00000000004132b9 <create_ust_channel+121>: mov %eax,0x4(%rbx)
|
|
0x00000000004132bc <create_ust_channel+124>: mov 0x22a905(%rip),%r8d # 0x63dbc8 <lttng_opt_quiet>
|
|
0x00000000004132c3 <create_ust_channel+131>: test %r8d,%r8d
|
|
0x00000000004132c6 <create_ust_channel+134>: je 0x413300 <create_ust_channel+192>
|
|
0x00000000004132c8 <__uatomic_add+0>: lock addq $0x2,0x22ebc7(%rip) # 0x641e98 <health_thread_cmd+24>
|
|
0x00000000004132d1 <create_ust_channel+145>: mov (%rbx),%edi
|
|
0x00000000004132d3 <create_ust_channel+147>: test %edi,%edi
|
|
0x00000000004132d5 <create_ust_channel+149>: je 0x413338 <create_ust_channel+248>
|
|
0x00000000004132d7 <__uatomic_add+0>: lock addq $0x2,0x22ebb8(%rip) # 0x641e98 <health_thread_cmd+24>
|
|
0x00000000004132e0 <create_ust_channel+160>: mov %ebp,%eax
|
|
0x00000000004132e2 <create_ust_channel+162>: mov 0x8(%rsp),%rbx
|
|
0x00000000004132e7 <create_ust_channel+167>: mov 0x10(%rsp),%rbp
|
|
0x00000000004132ec <create_ust_channel+172>: mov 0x18(%rsp),%r12
|
|
---Type <return> to continue, or q <return> to quit---
|
|
0x00000000004132f1 <create_ust_channel+177>: mov 0x20(%rsp),%r13
|
|
0x00000000004132f6 <create_ust_channel+182>: add $0x28,%rsp
|
|
0x00000000004132fa <create_ust_channel+186>: retq
|
|
0x00000000004132fb <create_ust_channel+187>: nopl 0x0(%rax,%rax,1)
|
|
0x0000000000413300 <create_ust_channel+192>: mov 0x22a90a(%rip),%eax # 0x63dc10 <lttng_opt_verbose>
|
|
0x0000000000413306 <create_ust_channel+198>: sub $0x2,%eax
|
|
0x0000000000413309 <create_ust_channel+201>: cmp $0x1,%eax
|
|
0x000000000041330c <create_ust_channel+204>: ja 0x4132c8 <__uatomic_add>
|
|
0x000000000041330e <create_ust_channel+206>: mov 0x4(%r13),%ecx
|
|
0x0000000000413312 <create_ust_channel+210>: mov 0x0(%r13),%r8d
|
|
0x0000000000413316 <create_ust_channel+214>: lea 0x8(%rbx),%rdx
|
|
0x000000000041331a <create_ust_channel+218>: mov 0x22a8f7(%rip),%rdi # 0x63dc18 <stderr@@GLIBC_2.2.5>
|
|
0x0000000000413321 <create_ust_channel+225>: mov $0x42aa90,%r9d
|
|
0x0000000000413327 <create_ust_channel+231>: mov $0x429dd8,%esi
|
|
0x000000000041332c <create_ust_channel+236>: xor %eax,%eax
|
|
0x000000000041332e <create_ust_channel+238>: callq 0x403e98 <fprintf@plt>
|
|
0x0000000000413333 <create_ust_channel+243>: jmp 0x4132c8 <__uatomic_add>
|
|
0x0000000000413335 <create_ust_channel+245>: nopl (%rax)
|
|
0x0000000000413338 <create_ust_channel+248>: mov %rbx,%rdx
|
|
0x000000000041333b <create_ust_channel+251>: mov %r12,%rsi
|
|
0x000000000041333e <create_ust_channel+254>: mov %r13,%rdi
|
|
0x0000000000413341 <create_ust_channel+257>: callq 0x4114a0 <disable_ust_channel>
|
|
0x0000000000413346 <create_ust_channel+262>: mov %eax,%ebp
|
|
0x0000000000413348 <create_ust_channel+264>: jmp 0x4132d7 <__uatomic_add>
|
|
0x000000000041334a <create_ust_channel+266>: nopw 0x0(%rax,%rax,1)
|
|
0x0000000000413350 <create_ust_channel+272>: mov 0x22a8c1(%rip),%rcx # 0x63dc18 <stderr@@GLIBC_2.2.5>
|
|
0x0000000000413357 <create_ust_channel+279>: mov $0x3c,%edx
|
|
0x000000000041335c <create_ust_channel+284>: mov $0x1,%esi
|
|
0x0000000000413361 <create_ust_channel+289>: mov $0x429d38,%edi
|
|
0x0000000000413366 <create_ust_channel+294>: callq 0x403e48 <fwrite@plt>
|
|
0x000000000041336b <create_ust_channel+299>: jmpq 0x4132d7 <__uatomic_add>
|
|
0x0000000000413370 <create_ust_channel+304>: mov 0x8(%r12),%r9d
|
|
0x0000000000413375 <create_ust_channel+309>: mov 0x4(%r13),%ecx
|
|
0x0000000000413379 <create_ust_channel+313>: lea 0x8(%rbx),%rdx
|
|
0x000000000041337d <create_ust_channel+317>: mov 0x0(%r13),%r8d
|
|
0x0000000000413381 <create_ust_channel+321>: mov 0x22a890(%rip),%rdi # 0x63dc18 <stderr@@GLIBC_2.2.5>
|
|
0x0000000000413388 <create_ust_channel+328>: mov $0x429d78,%esi
|
|
0x000000000041338d <create_ust_channel+333>: mov %eax,(%rsp)
|
|
0x0000000000413390 <create_ust_channel+336>: xor %eax,%eax
|
|
0x0000000000413392 <create_ust_channel+338>: callq 0x403e98 <fprintf@plt>
|
|
---Type <return> to continue, or q <return> to quit---q
|
|
Quit
|
|
(gdb) info registers
|
|
rax 0x0 0
|
|
rbx 0x6964a0 6907040
|
|
rcx 0x7fa8b795bed8 140362611277528
|
|
rdx 0x7fa8b795bed8 140362611277528
|
|
rsi 0x7fa8b7727508 140362608964872
|
|
rdi 0x7fa8b795be80 140362611277440
|
|
rbp 0x4 0x4
|
|
rsp 0x7fa8b51d8ab0 0x7fa8b51d8ab0
|
|
r8 0x7fa8b795be80 140362611277440
|
|
r9 0x7fa8b795bed8 140362611277528
|
|
r10 0x7fa8b51d9700 140362569848576
|
|
r11 0x7fa8b795bed0 140362611277520
|
|
r12 0x656dd0 6647248
|
|
r13 0x6622c0 6693568
|
|
r14 0x7fa8b51d8b00 140362569845504
|
|
r15 0x7fa8b51d8af0 140362569845488
|
|
rip 0x4132b6 0x4132b6 <create_ust_channel+118>
|
|
eflags 0x10202 [ IF RF ]
|
|
cs 0x33 51
|
|
ss 0x2b 43
|
|
ds 0x0 0
|
|
es 0x0 0
|
|
fs 0x0 0
|
|
gs 0x0 0
|
|
fctrl 0x37f 895
|
|
fstat 0x0 0
|
|
ftag 0xffff 65535
|
|
fiseg 0x0 0
|
|
fioff 0x0 0
|
|
foseg 0x0 0
|
|
fooff 0x0 0
|
|
fop 0x0 0
|
|
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
|
|
(gdb) set disassembly-flavor intel
|
|
(gdb) disassemble
|
|
Dump of assembler code for function create_ust_channel:
|
|
0x0000000000413240 <create_ust_channel+0>: mov QWORD PTR [rsp-0x20],rbx
|
|
0x0000000000413245 <create_ust_channel+5>: mov QWORD PTR [rsp-0x10],r12
|
|
0x000000000041324a <create_ust_channel+10>: mov rbx,rdx
|
|
0x000000000041324d <create_ust_channel+13>: mov QWORD PTR [rsp-0x8],r13
|
|
0x0000000000413252 <create_ust_channel+18>: mov QWORD PTR [rsp-0x18],rbp
|
|
0x0000000000413257 <create_ust_channel+23>: mov r13,rdi
|
|
0x000000000041325a <create_ust_channel+26>: sub rsp,0x28
|
|
0x000000000041325e <create_ust_channel+30>: mov r12,rsi
|
|
0x0000000000413261 <__uatomic_add+0>: lock add QWORD PTR [rip+0x22ec2e],0x2 # 0x641e98 <health_thread_cmd+24>
|
|
0x000000000041326a <create_ust_channel+42>: xor edi,edi
|
|
0x000000000041326c <create_ust_channel+44>: mov esi,0x2
|
|
0x0000000000413271 <create_ust_channel+49>: call 0x40a290 <lttng_fd_get>
|
|
0x0000000000413276 <create_ust_channel+54>: test eax,eax
|
|
0x0000000000413278 <create_ust_channel+56>: mov ebp,eax
|
|
0x000000000041327a <create_ust_channel+58>: js 0x413350 <create_ust_channel+272>
|
|
0x0000000000413280 <__uatomic_add+0>: lock add QWORD PTR [rip+0x22ec0f],0x2 # 0x641e98 <health_thread_cmd+24>
|
|
0x0000000000413289 <create_ust_channel+73>: mov esi,DWORD PTR [r12+0x8]
|
|
0x000000000041328e <create_ust_channel+78>: mov edi,DWORD PTR [r13+0x0]
|
|
0x0000000000413292 <create_ust_channel+82>: lea rcx,[rbx+0x248]
|
|
0x0000000000413299 <create_ust_channel+89>: lea rdx,[rbx+0x108]
|
|
0x00000000004132a0 <create_ust_channel+96>: call 0x403848 <ustctl_create_channel@plt>
|
|
0x00000000004132a5 <create_ust_channel+101>: test eax,eax
|
|
0x00000000004132a7 <create_ust_channel+103>: mov ebp,eax
|
|
0x00000000004132a9 <create_ust_channel+105>: js 0x413370 <create_ust_channel+304>
|
|
0x00000000004132af <create_ust_channel+111>: mov rax,QWORD PTR [rbx+0x248]
|
|
0x00000000004132b6 <create_ust_channel+118>: mov eax,DWORD PTR [rax+0x8]
|
|
0x00000000004132b9 <create_ust_channel+121>: mov DWORD PTR [rbx+0x4],eax
|
|
0x00000000004132bc <create_ust_channel+124>: mov r8d,DWORD PTR [rip+0x22a905] # 0x63dbc8 <lttng_opt_quiet>
|
|
0x00000000004132c3 <create_ust_channel+131>: test r8d,r8d
|
|
0x00000000004132c6 <create_ust_channel+134>: je 0x413300 <create_ust_channel+192>
|
|
0x00000000004132c8 <__uatomic_add+0>: lock add QWORD PTR [rip+0x22ebc7],0x2 # 0x641e98 <health_thread_cmd+24>
|
|
0x00000000004132d1 <create_ust_channel+145>: mov edi,DWORD PTR [rbx]
|
|
0x00000000004132d3 <create_ust_channel+147>: test edi,edi
|
|
0x00000000004132d5 <create_ust_channel+149>: je 0x413338 <create_ust_channel+248>
|
|
0x00000000004132d7 <__uatomic_add+0>: lock add QWORD PTR [rip+0x22ebb8],0x2 # 0x641e98 <health_thread_cmd+24>
|
|
0x00000000004132e0 <create_ust_channel+160>: mov eax,ebp
|
|
0x00000000004132e2 <create_ust_channel+162>: mov rbx,QWORD PTR [rsp+0x8]
|
|
0x00000000004132e7 <create_ust_channel+167>: mov rbp,QWORD PTR [rsp+0x10]
|
|
0x00000000004132ec <create_ust_channel+172>: mov r12,QWORD PTR [rsp+0x18]
|