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 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: ... 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 = __func__ = "create_ust_channel" #1 0x0000000000414236 in ust_app_global_update (usess=0x7fa8ac0399b0, sock=144) at ust-app.c:2630 ret = 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 = __PRETTY_FUNCTION__ = "ust_app_global_update" __func__ = "ust_app_global_update" #2 0x000000000041a266 in update_ust_app (app_sock=) at main.c:671 sess = 0x7fa8ac03d9e0 #3 thread_manage_apps (app_sock=) at main.c:1205 i = 0 ret = pollfd = 12 err = revents = 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 = (gdb) dis disable disassemble disconnect display (gdb) disassemble Dump of assembler code for function create_ust_channel: 0x0000000000413240 : mov %rbx,-0x20(%rsp) 0x0000000000413245 : mov %r12,-0x10(%rsp) 0x000000000041324a : mov %rdx,%rbx 0x000000000041324d : mov %r13,-0x8(%rsp) 0x0000000000413252 : mov %rbp,-0x18(%rsp) 0x0000000000413257 : mov %rdi,%r13 0x000000000041325a : sub $0x28,%rsp 0x000000000041325e : mov %rsi,%r12 0x0000000000413261 <__uatomic_add+0>: lock addq $0x2,0x22ec2e(%rip) # 0x641e98 0x000000000041326a : xor %edi,%edi 0x000000000041326c : mov $0x2,%esi 0x0000000000413271 : callq 0x40a290 0x0000000000413276 : test %eax,%eax 0x0000000000413278 : mov %eax,%ebp 0x000000000041327a : js 0x413350 0x0000000000413280 <__uatomic_add+0>: lock addq $0x2,0x22ec0f(%rip) # 0x641e98 0x0000000000413289 : mov 0x8(%r12),%esi 0x000000000041328e : mov 0x0(%r13),%edi 0x0000000000413292 : lea 0x248(%rbx),%rcx 0x0000000000413299 : lea 0x108(%rbx),%rdx 0x00000000004132a0 : callq 0x403848 0x00000000004132a5 : test %eax,%eax 0x00000000004132a7 : mov %eax,%ebp 0x00000000004132a9 : js 0x413370 0x00000000004132af : mov 0x248(%rbx),%rax 0x00000000004132b6 : mov 0x8(%rax),%eax 0x00000000004132b9 : mov %eax,0x4(%rbx) 0x00000000004132bc : mov 0x22a905(%rip),%r8d # 0x63dbc8 0x00000000004132c3 : test %r8d,%r8d 0x00000000004132c6 : je 0x413300 0x00000000004132c8 <__uatomic_add+0>: lock addq $0x2,0x22ebc7(%rip) # 0x641e98 0x00000000004132d1 : mov (%rbx),%edi 0x00000000004132d3 : test %edi,%edi 0x00000000004132d5 : je 0x413338 0x00000000004132d7 <__uatomic_add+0>: lock addq $0x2,0x22ebb8(%rip) # 0x641e98 0x00000000004132e0 : mov %ebp,%eax 0x00000000004132e2 : mov 0x8(%rsp),%rbx 0x00000000004132e7 : mov 0x10(%rsp),%rbp 0x00000000004132ec : mov 0x18(%rsp),%r12 ---Type to continue, or q to quit--- 0x00000000004132f1 : mov 0x20(%rsp),%r13 0x00000000004132f6 : add $0x28,%rsp 0x00000000004132fa : retq 0x00000000004132fb : nopl 0x0(%rax,%rax,1) 0x0000000000413300 : mov 0x22a90a(%rip),%eax # 0x63dc10 0x0000000000413306 : sub $0x2,%eax 0x0000000000413309 : cmp $0x1,%eax 0x000000000041330c : ja 0x4132c8 <__uatomic_add> 0x000000000041330e : mov 0x4(%r13),%ecx 0x0000000000413312 : mov 0x0(%r13),%r8d 0x0000000000413316 : lea 0x8(%rbx),%rdx 0x000000000041331a : mov 0x22a8f7(%rip),%rdi # 0x63dc18 0x0000000000413321 : mov $0x42aa90,%r9d 0x0000000000413327 : mov $0x429dd8,%esi 0x000000000041332c : xor %eax,%eax 0x000000000041332e : callq 0x403e98 0x0000000000413333 : jmp 0x4132c8 <__uatomic_add> 0x0000000000413335 : nopl (%rax) 0x0000000000413338 : mov %rbx,%rdx 0x000000000041333b : mov %r12,%rsi 0x000000000041333e : mov %r13,%rdi 0x0000000000413341 : callq 0x4114a0 0x0000000000413346 : mov %eax,%ebp 0x0000000000413348 : jmp 0x4132d7 <__uatomic_add> 0x000000000041334a : nopw 0x0(%rax,%rax,1) 0x0000000000413350 : mov 0x22a8c1(%rip),%rcx # 0x63dc18 0x0000000000413357 : mov $0x3c,%edx 0x000000000041335c : mov $0x1,%esi 0x0000000000413361 : mov $0x429d38,%edi 0x0000000000413366 : callq 0x403e48 0x000000000041336b : jmpq 0x4132d7 <__uatomic_add> 0x0000000000413370 : mov 0x8(%r12),%r9d 0x0000000000413375 : mov 0x4(%r13),%ecx 0x0000000000413379 : lea 0x8(%rbx),%rdx 0x000000000041337d : mov 0x0(%r13),%r8d 0x0000000000413381 : mov 0x22a890(%rip),%rdi # 0x63dc18 0x0000000000413388 : mov $0x429d78,%esi 0x000000000041338d : mov %eax,(%rsp) 0x0000000000413390 : xor %eax,%eax 0x0000000000413392 : callq 0x403e98 ---Type to continue, or q 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 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 : mov QWORD PTR [rsp-0x20],rbx 0x0000000000413245 : mov QWORD PTR [rsp-0x10],r12 0x000000000041324a : mov rbx,rdx 0x000000000041324d : mov QWORD PTR [rsp-0x8],r13 0x0000000000413252 : mov QWORD PTR [rsp-0x18],rbp 0x0000000000413257 : mov r13,rdi 0x000000000041325a : sub rsp,0x28 0x000000000041325e : mov r12,rsi 0x0000000000413261 <__uatomic_add+0>: lock add QWORD PTR [rip+0x22ec2e],0x2 # 0x641e98 0x000000000041326a : xor edi,edi 0x000000000041326c : mov esi,0x2 0x0000000000413271 : call 0x40a290 0x0000000000413276 : test eax,eax 0x0000000000413278 : mov ebp,eax 0x000000000041327a : js 0x413350 0x0000000000413280 <__uatomic_add+0>: lock add QWORD PTR [rip+0x22ec0f],0x2 # 0x641e98 0x0000000000413289 : mov esi,DWORD PTR [r12+0x8] 0x000000000041328e : mov edi,DWORD PTR [r13+0x0] 0x0000000000413292 : lea rcx,[rbx+0x248] 0x0000000000413299 : lea rdx,[rbx+0x108] 0x00000000004132a0 : call 0x403848 0x00000000004132a5 : test eax,eax 0x00000000004132a7 : mov ebp,eax 0x00000000004132a9 : js 0x413370 0x00000000004132af : mov rax,QWORD PTR [rbx+0x248] 0x00000000004132b6 : mov eax,DWORD PTR [rax+0x8] 0x00000000004132b9 : mov DWORD PTR [rbx+0x4],eax 0x00000000004132bc : mov r8d,DWORD PTR [rip+0x22a905] # 0x63dbc8 0x00000000004132c3 : test r8d,r8d 0x00000000004132c6 : je 0x413300 0x00000000004132c8 <__uatomic_add+0>: lock add QWORD PTR [rip+0x22ebc7],0x2 # 0x641e98 0x00000000004132d1 : mov edi,DWORD PTR [rbx] 0x00000000004132d3 : test edi,edi 0x00000000004132d5 : je 0x413338 0x00000000004132d7 <__uatomic_add+0>: lock add QWORD PTR [rip+0x22ebb8],0x2 # 0x641e98 0x00000000004132e0 : mov eax,ebp 0x00000000004132e2 : mov rbx,QWORD PTR [rsp+0x8] 0x00000000004132e7 : mov rbp,QWORD PTR [rsp+0x10] 0x00000000004132ec : mov r12,QWORD PTR [rsp+0x18]