2015-01-14 07:49:10 |
bugproxy |
bug |
|
|
added bug |
2015-01-14 07:49:13 |
bugproxy |
tags |
|
architecture-ppc64le bugnameltc-120252 severity-high targetmilestone-inin1504 |
|
2015-01-14 08:32:19 |
Ubuntu Foundations Team Bug Bot |
tags |
architecture-ppc64le bugnameltc-120252 severity-high targetmilestone-inin1504 |
architecture-ppc64le bot-comment bugnameltc-120252 severity-high targetmilestone-inin1504 |
|
2015-01-14 14:53:36 |
Brian Murray |
affects |
ubuntu |
linux (Ubuntu) |
|
2015-01-14 14:53:48 |
Brian Murray |
tags |
architecture-ppc64le bot-comment bugnameltc-120252 severity-high targetmilestone-inin1504 |
architecture-ppc64le bot-comment bugnameltc-120252 severity-high targetmilestone-inin1504 vivid |
|
2015-01-14 17:39:48 |
Joseph Salisbury |
tags |
architecture-ppc64le bot-comment bugnameltc-120252 severity-high targetmilestone-inin1504 vivid |
architecture-ppc64le bot-comment bugnameltc-120252 kernel-da-key severity-high targetmilestone-inin1504 vivid |
|
2015-01-14 22:40:36 |
Chris J Arges |
linux (Ubuntu): assignee |
|
Chris J Arges (arges) |
|
2015-01-14 22:40:38 |
Chris J Arges |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2015-01-14 22:40:42 |
Chris J Arges |
linux (Ubuntu): assignee |
Chris J Arges (arges) |
|
|
2015-01-26 16:12:42 |
bugproxy |
attachment added |
|
strace perf trace sleep 1 (ERROR) https://bugs.launchpad.net/bugs/1410673/+attachment/4305848/+files/strace.perf-trace-sleep-1.err.gz |
|
2015-01-26 16:12:45 |
bugproxy |
attachment added |
|
strace perf trace sleep 1 (OK) https://bugs.launchpad.net/bugs/1410673/+attachment/4305849/+files/strace.perf-trace-sleep-1.ok.gz |
|
2015-01-26 16:12:47 |
bugproxy |
attachment added |
|
strace -f perf trace sleep 1 (ERROR) https://bugs.launchpad.net/bugs/1410673/+attachment/4305850/+files/strace-f.perf-trace-sleep-1.err.gz |
|
2015-01-26 16:12:50 |
bugproxy |
attachment added |
|
strace -f perf trace sleep 1 (OK) https://bugs.launchpad.net/bugs/1410673/+attachment/4305851/+files/strace-f.perf-trace-sleep-1.ok.gz |
|
2015-05-12 09:39:56 |
bugproxy |
attachment added |
|
strace perf trace sleep 1 (ERROR) https://bugs.launchpad.net/bugs/1410673/+attachment/4396124/+files/strace.perf-trace-sleep-1.err.gz |
|
2015-05-12 09:39:58 |
bugproxy |
attachment added |
|
strace perf trace sleep 1 (OK) https://bugs.launchpad.net/bugs/1410673/+attachment/4396125/+files/strace.perf-trace-sleep-1.ok.gz |
|
2015-05-12 09:40:00 |
bugproxy |
attachment added |
|
strace -f perf trace sleep 1 (ERROR) https://bugs.launchpad.net/bugs/1410673/+attachment/4396126/+files/strace-f.perf-trace-sleep-1.err.gz |
|
2015-05-12 09:40:02 |
bugproxy |
attachment added |
|
strace -f perf trace sleep 1 (OK) https://bugs.launchpad.net/bugs/1410673/+attachment/4396127/+files/strace-f.perf-trace-sleep-1.ok.gz |
|
2015-06-10 18:34:48 |
Chris J Arges |
linux (Ubuntu): status |
New |
Confirmed |
|
2015-06-26 14:18:35 |
Chris J Arges |
linux (Ubuntu): assignee |
|
Chris J Arges (arges) |
|
2015-06-26 14:18:38 |
Chris J Arges |
linux (Ubuntu): status |
Confirmed |
In Progress |
|
2015-06-26 14:18:43 |
Chris J Arges |
nominated for series |
|
Ubuntu Vivid |
|
2015-06-26 14:18:43 |
Chris J Arges |
bug task added |
|
linux (Ubuntu Vivid) |
|
2015-06-26 14:18:48 |
Chris J Arges |
linux (Ubuntu Vivid): assignee |
|
Chris J Arges (arges) |
|
2015-06-26 14:18:49 |
Chris J Arges |
linux (Ubuntu Vivid): importance |
Undecided |
Medium |
|
2015-06-26 14:18:51 |
Chris J Arges |
linux (Ubuntu Vivid): status |
New |
In Progress |
|
2015-06-26 14:21:24 |
Chris J Arges |
description |
== Comment: #0 - PAVAMAN SUBRAMANIYAM <pavsubra@in.ibm.com> - 2015-01-12 02:21:16 ==
---Problem Description---
perf trace sleep 1 is throwing segmentation fault
Contact Information = pavsubra@in.ibm.com
---uname output---
Linux ubuntu 3.18.0-8-generic #9-Ubuntu SMP Mon Jan 5 22:52:15 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P8
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Install a Ubuntu 15.04 guest VM on Power KVM host on a P8 machine.
Then execute the below command on the same:
root@ubuntu:~# perf trace sleep 1
Segmentation fault (core dumped)
root@ubuntu:~# echo $?
139
root@ubuntu:~# perf trace -v sleep 1
mmap size 67174400B
Problems reading syscall 3 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 0 information
Problems reading syscall 45 information
Problems reading syscall 45 information
Problems reading syscall 33 information
Problems reading syscall 33 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 33 information
Problems reading syscall 33 information
Problems reading syscall 5 information
Problems reading syscall 5 information
Problems reading syscall 108 information
Problems reading syscall 108 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 6 information
Problems reading syscall 6 information
Problems reading syscall 33 information
Problems reading syscall 33 information
Problems reading syscall 5 information
Problems reading syscall 5 information
Problems reading syscall 3 information
Problems reading syscall 3 information
Problems reading syscall 108 information
Problems reading syscall 108 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 6 information
Problems reading syscall 6 information
Problems reading syscall 91 information
Problems reading syscall 91 information
Problems reading syscall 45 information
Problems reading syscall 45 information
Problems reading syscall 45 information
Problems reading syscall 45 information
Problems reading syscall 5 information
Problems reading syscall 5 information
Problems reading syscall 108 information
Problems reading syscall 108 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 6 information
Problems reading syscall 6 information
Problems reading syscall 162 information
Problems reading syscall 162 information
Segmentation fault (core dumped)
Stack trace output:
no
Oops output:
no
Userspace tool common name: /usr/bin/perf
The userspace tool has the following bit modes: 64-bit
System Dump Info:
The system is not configured to capture a system dump.
Userspace rpm: linux-tools-common
Userspace tool obtained from project website: na
*Additional Instructions for pavsubra@in.ibm.com:
-Post a private note with access information to the machine that the bug is occuring on.
-Attach sysctl -a output output to the bug.
-Attach ltrace and strace of userspace application.
== Comment: #3 - SANDHYA VENUGOPALA <vsandhya@in.ibm.com> - 2015-01-13 06:00:18 ==
Segmentation Fault happens intermittently. Execute "perf trace sleep 1" multiple times to ensure there is no segmentation fault on the version you are testing.
This failure is seen on the upstream version(3.19) also. GDB output -
root@ubuntu:~/linux/tools/perf# ./perf trace sleep 1
Segmentation fault (core dumped)
root@ubuntu:~/linux/tools/perf# gdb ./perf core
GNU gdb (Ubuntu 7.8.1-1ubuntu2) 7.8.1
Copyright (C) 2014 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 "powerpc64le-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./perf...done.
[New LWP 24493]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
Core was generated by `./perf trace sleep 1 '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 perf_mmap__read_head (mm=0x3fff95730058) at util/evlist.h:193
193 int head = ACCESS_ONCE(pc->data_head);
(gdb) bt
#0 perf_mmap__read_head (mm=0x3fff95730058) at util/evlist.h:193
#1 perf_evlist__mmap_read (evlist=0x1000f851e70, idx=<optimized out>) at util/evlist.c:638
#2 0x000000001004318c in trace__run (argv=<optimized out>, argc=<optimized out>, trace=0x3fffdca33668) at builtin-trace.c:2123
#3 cmd_trace (argc=<optimized out>, argv=<optimized out>, prefix=<optimized out>) at builtin-trace.c:2601
#4 0x0000000010009328 in run_builtin (p=0x10178210 <commands+504>, argc=3, argv=0x3fffdca36800) at perf.c:341
#5 0x00000000100085c8 in handle_internal_command (argv=0x3fffdca36800, argc=3) at perf.c:400
#6 run_argv (argv=0x3fffdca36220, argcp=0x3fffdca3622c) at perf.c:444
#7 main (argc=3, argv=0x3fffdca36800) at perf.c:559 |
[Impact]
Running 'perf trace sleep 1' throws a segmentation fault.
[Test Case]
Install a Ubuntu 15.04 guest VM on Power KVM host on a P8 machine.
Then execute the below command on the same:
root@ubuntu:~# perf trace sleep 1
Segmentation fault (core dumped)
[Fix]
commit 7951722da2963cc1f1a7831a37aa2311ac927056
$ git describe 7951722da2963cc1f1a7831a37aa2311ac927056
v4.1-rc5-310-g7951722
--
== Comment: #0 - PAVAMAN SUBRAMANIYAM <pavsubra@in.ibm.com> - 2015-01-12 02:21:16 ==
---Problem Description---
perf trace sleep 1 is throwing segmentation fault
Contact Information = pavsubra@in.ibm.com
---uname output---
Linux ubuntu 3.18.0-8-generic #9-Ubuntu SMP Mon Jan 5 22:52:15 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P8
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Install a Ubuntu 15.04 guest VM on Power KVM host on a P8 machine.
Then execute the below command on the same:
root@ubuntu:~# perf trace sleep 1
Segmentation fault (core dumped)
root@ubuntu:~# echo $?
139
root@ubuntu:~# perf trace -v sleep 1
mmap size 67174400B
Problems reading syscall 3 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 11 information
Problems reading syscall 0 information
Problems reading syscall 45 information
Problems reading syscall 45 information
Problems reading syscall 33 information
Problems reading syscall 33 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 33 information
Problems reading syscall 33 information
Problems reading syscall 5 information
Problems reading syscall 5 information
Problems reading syscall 108 information
Problems reading syscall 108 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 6 information
Problems reading syscall 6 information
Problems reading syscall 33 information
Problems reading syscall 33 information
Problems reading syscall 5 information
Problems reading syscall 5 information
Problems reading syscall 3 information
Problems reading syscall 3 information
Problems reading syscall 108 information
Problems reading syscall 108 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 6 information
Problems reading syscall 6 information
Problems reading syscall 91 information
Problems reading syscall 91 information
Problems reading syscall 45 information
Problems reading syscall 45 information
Problems reading syscall 45 information
Problems reading syscall 45 information
Problems reading syscall 5 information
Problems reading syscall 5 information
Problems reading syscall 108 information
Problems reading syscall 108 information
Problems reading syscall 90 information
Problems reading syscall 90 information
Problems reading syscall 6 information
Problems reading syscall 6 information
Problems reading syscall 162 information
Problems reading syscall 162 information
Segmentation fault (core dumped)
Stack trace output:
no
Oops output:
no
Userspace tool common name: /usr/bin/perf
The userspace tool has the following bit modes: 64-bit
System Dump Info:
The system is not configured to capture a system dump.
Userspace rpm: linux-tools-common
Userspace tool obtained from project website: na
*Additional Instructions for pavsubra@in.ibm.com:
-Post a private note with access information to the machine that the bug is occuring on.
-Attach sysctl -a output output to the bug.
-Attach ltrace and strace of userspace application.
== Comment: #3 - SANDHYA VENUGOPALA <vsandhya@in.ibm.com> - 2015-01-13 06:00:18 ==
Segmentation Fault happens intermittently. Execute "perf trace sleep 1" multiple times to ensure there is no segmentation fault on the version you are testing.
This failure is seen on the upstream version(3.19) also. GDB output -
root@ubuntu:~/linux/tools/perf# ./perf trace sleep 1
Segmentation fault (core dumped)
root@ubuntu:~/linux/tools/perf# gdb ./perf core
GNU gdb (Ubuntu 7.8.1-1ubuntu2) 7.8.1
Copyright (C) 2014 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 "powerpc64le-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./perf...done.
[New LWP 24493]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
Core was generated by `./perf trace sleep 1 '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 perf_mmap__read_head (mm=0x3fff95730058) at util/evlist.h:193
193 int head = ACCESS_ONCE(pc->data_head);
(gdb) bt
#0 perf_mmap__read_head (mm=0x3fff95730058) at util/evlist.h:193
#1 perf_evlist__mmap_read (evlist=0x1000f851e70, idx=<optimized out>) at util/evlist.c:638
#2 0x000000001004318c in trace__run (argv=<optimized out>, argc=<optimized out>, trace=0x3fffdca33668) at builtin-trace.c:2123
#3 cmd_trace (argc=<optimized out>, argv=<optimized out>, prefix=<optimized out>) at builtin-trace.c:2601
#4 0x0000000010009328 in run_builtin (p=0x10178210 <commands+504>, argc=3, argv=0x3fffdca36800) at perf.c:341
#5 0x00000000100085c8 in handle_internal_command (argv=0x3fffdca36800, argc=3) at perf.c:400
#6 run_argv (argv=0x3fffdca36220, argcp=0x3fffdca3622c) at perf.c:444
#7 main (argc=3, argv=0x3fffdca36800) at perf.c:559 |
|
2015-06-27 02:28:42 |
Brad Figg |
linux (Ubuntu Vivid): status |
In Progress |
Fix Committed |
|
2015-07-09 04:34:32 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/linux-lts-vivid |
|
2015-07-09 15:15:29 |
Brad Figg |
tags |
architecture-ppc64le bot-comment bugnameltc-120252 kernel-da-key severity-high targetmilestone-inin1504 vivid |
architecture-ppc64le bot-comment bugnameltc-120252 kernel-da-key severity-high targetmilestone-inin1504 verification-needed-vivid vivid |
|
2015-07-13 05:32:34 |
Chris J Arges |
tags |
architecture-ppc64le bot-comment bugnameltc-120252 kernel-da-key severity-high targetmilestone-inin1504 verification-needed-vivid vivid |
architecture-ppc64le bot-comment bugnameltc-120252 kernel-da-key severity-high targetmilestone-inin1504 verification-done-vivid vivid |
|
2015-07-22 15:38:53 |
Launchpad Janitor |
linux (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-07-22 15:38:54 |
Launchpad Janitor |
linux (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-08-11 21:15:08 |
Leann Ogasawara |
linux (Ubuntu): status |
In Progress |
Fix Released |
|