[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKecwXB6CYuykBYrfGUDffF_AY31E_M8HpQddOe4xojjx0xZ8w@mail.gmail.com>
Date: Mon, 18 Nov 2019 09:33:31 -0300
From: Santiago Pastorino <spastorino@...il.com>
To: linux-kernel@...r.kernel.org
Subject: perf trace segfault
Hi,
I'm currently running Linux kernel 5.3.11-arch1-1 and I'm getting a segfault
when I run `perf trace` after some seconds.
Here I'm pasting the backtrace:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fdbb2615a40 in main_arena () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007fdbb2615a40 in main_arena () from /usr/lib/libc.so.6
#1 0x0000562fc44e22d7 in syscall__scnprintf_val (sc=0x562fc50cc4a0,
val=6, arg=0x7ffd10440870, size=2021, bf=0x562fc52b722b "") at
builtin-trace.c:1649
#2 syscall__scnprintf_args (sc=sc@...ry=0x562fc50cc4a0,
bf=0x562fc52b721b "fd: 223, level: ", size=2037,
args=args@...ry=0x7fdbb21a118c <error: Cannot access memory at address
0x7fdbb21a118c>, augmented_args=augmented_args@...ry=0x0,
augmented_args_size=augmented_args_size@...ry=0, trace=0x7ffd10440fa0,
thread=0x562fc51da000) at builtin-trace.c:1716
#3 0x0000562fc44e3e22 in trace__sys_enter (trace=0x7ffd10440fa0,
evsel=<optimized out>, event=<optimized out>, sample=0x7ffd10440990)
at builtin-trace.c:1935
#4 0x0000562fc44e11ac in trace__handle_event (sample=0x7ffd10440990,
event=0x7fdbb21a1140, trace=0x7ffd10440fa0) at builtin-trace.c:2645
#5 __trace__deliver_event (trace=trace@...ry=0x7ffd10440fa0,
event=0x7fdbb21a1140) at builtin-trace.c:2899
#6 0x0000562fc44ea7dc in trace__deliver_event (event=<optimized out>,
trace=0x7ffd10440fa0) at builtin-trace.c:2926
#7 trace__run (argv=<optimized out>, argc=<optimized out>,
trace=0x7ffd10440fa0) at builtin-trace.c:3124
#8 cmd_trace (argc=<optimized out>, argv=<optimized out>) at
builtin-trace.c:4060
#9 0x0000562fc4519043 in run_builtin (p=0x562fc4a026c0 <commands+576>,
argc=1, argv=0x7ffd10444560) at perf.c:304
#10 0x0000562fc44952fc in handle_internal_command (argv=<optimized
out>, argc=<optimized out>) at perf.c:356
#11 run_argv (argcp=<optimized out>, argv=<optimized out>) at perf.c:400
#12 main (argc=1, argv=0x7ffd10444560) at perf.c:522
(gdb) quit
# perf --version
perf version 5.3.g4d856f72c10e
Thanks for reading and feel free to cc me in replies since I'm not
subscribed to lkml.
Powered by blists - more mailing lists