Project

General

Profile

Segmentation Fault while running hello in lttng-ust-2.0.1\tests\hello

Added by RKP RKP about 12 years ago

I am using lttng .216 on linux 2.6.33.7.
I am getting segmentation Fault while running hello located in lttng-ust-2.0.1\tests\hello.

execve("./hello", ["./hello"], [/* 7 vars */]) = 0
brk(0) = 0x13000
uname({sys="Linux", node="OMAP3EVM", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/tls/v5l/fast-mult/half/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/tls/v5l/fast-mult/half", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/tls/v5l/fast-mult/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/tls/v5l/fast-mult", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/tls/v5l/half/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/tls/v5l/half", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/tls/v5l/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/tls/v5l", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/tls/fast-mult/half/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/tls/fast-mult/half", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/tls/fast-mult/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/tls/fast-mult", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/tls/half/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/tls/half", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/tls/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/tls", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/v5l/fast-mult/half/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/v5l/fast-mult/half", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/v5l/fast-mult/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/v5l/fast-mult", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/v5l/half/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/v5l/half", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/v5l/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/v5l", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/fast-mult/half/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/fast-mult/half", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/fast-mult/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/fast-mult", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/half/liblttng-ust.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/u/demo/lib/half", 0xbe8cc518) = -1 ENOENT (No such file or directory)
open("/u/demo/lib/liblttng-ust.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0pE\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=607223, ...}) = 0
mmap2(NULL, 298540, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40028000
mprotect(0x40064000, 32768, PROT_NONE) = 0
mmap2(0x4006c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3c) = 0x4006c000
close(3) = 0
open("/u/demo/lib/liblttng-ust-tracepoint.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\204\f\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=52083, ...}) = 0
mmap2(NULL, 57228, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40071000
mprotect(0x40077000, 28672, PROT_NONE) = 0
mmap2(0x4007e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0x4007e000
close(3) = 0
open("/u/demo/lib/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\240\26\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=46675, ...}) = 0
mmap2(NULL, 61972, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4007f000
mprotect(0x40086000, 28672, PROT_NONE) = 0
mmap2(0x4008d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x4008d000
close(3) = 0
open("/u/demo/lib/liburcu-bp.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0<\25\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=64311, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000
mmap2(NULL, 52628, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4008f000
mprotect(0x40094000, 28672, PROT_NONE) = 0
mmap2(0x4009b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0x4009b000
close(3) = 0
open("/u/demo/lib/liburcu-common.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\f\7\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=25438, ...}) = 0
mmap2(NULL, 40572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4009c000
mprotect(0x4009e000, 28672, PROT_NONE) = 0
mmap2(0x400a5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x400a5000
close(3) = 0
open("/u/demo/lib/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\224D\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=143812, ...}) = 0
mmap2(NULL, 127520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400a6000
mprotect(0x400bb000, 28672, PROT_NONE) = 0
mmap2(0x400c2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0x400c2000
mmap2(0x400c4000, 4640, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400c4000
close(3) = 0
open("/u/demo/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0l\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=26808, ...}) = 0
mmap2(NULL, 49364, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400c6000
mprotect(0x400ca000, 28672, PROT_NONE) = 0
mmap2(0x400d1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0x400d1000
close(3) = 0
open("/u/demo/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0p'\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=68281, ...}) = 0
mmap2(NULL, 77748, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400d3000
mprotect(0x400de000, 28672, PROT_NONE) = 0
mmap2(0x400e5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0x400e5000
close(3) = 0
open("/u/demo/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\354V\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1743092, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40021000
mmap2(NULL, 1344756, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400e6000
mprotect(0x40221000, 32768, PROT_NONE) = 0
mmap2(0x40229000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13b) = 0x40229000
mmap2(0x4022c000, 9460, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4022c000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
set_tls(0x40021e70, 0x400225a8, 0x40022638, 0x40021e70, 0x40027000) = 0
mprotect(0x40229000, 8192, PROT_READ) = 0
mprotect(0x400d1000, 4096, PROT_READ) = 0
mprotect(0x400c2000, 4096, PROT_READ) = 0
mprotect(0x4008d000, 4096, PROT_READ) = 0
mprotect(0x40028000, 245760, PROT_READ|PROT_WRITE) = 0
mprotect(0x40028000, 245760, PROT_READ|PROT_EXEC) = 0
mprotect(0x40026000, 4096, PROT_READ) = 0
set_tid_address(0x40021a18) = 782
set_robust_list(0x40021a20, 0xc) = 0
futex(0xbe8cce44, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbe8cce44, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 400c3000) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x400aa3a4, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x400aa23c, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
gettimeofday({946697361, 156949}, NULL) = 0
open("/dev/urandom", O_RDONLY) = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getuid32() = 0
getppid() = 781
gettimeofday({946697361, 169291}, NULL) = 0
gettimeofday({946697361, 171098}, NULL) = 0
read(3, "U\310\2454\262\263\373\326&N\35\222e\330\272\375", 16) = 16
gettid() = 782
--- SIGSEGV (Segmentation fault)
0 (0) ---
++ killed by SIGSEGV (core dumped) ++

@

Core dump Stack Trace is as follows:
@

[New Thread 771]
Core was generated by `strace ./hello'.
Program terminated with signal 11, Segmentation fault.
#0 0x400672ec in ?? ()

@

Any way out of this issue?