Public bug reported:

Steps:
1. Clone git://kernel.ubuntu.com/ubuntu/autotest-client-tests
2. Untar libhugetlbfs/libhugetlbfs-2.20.tar.gz
3. Run `sudo BUILDTYPE=NATIVEONLY make check` in the extracted 
libhugetlbfs-2.20 directory
4. Hit Ctrl + C to terminate it

>From the output you will see it get stuck:
truncate_above_4GB (1024K: 64): PASS
brk_near_huge (1024K: 64):      brk_near_huge: malloc.c:2427: sysmalloc: 
Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) 
(old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & 
(pagesize - 1)) == 0)' failed.

task-size-overrun (1024K: 64):


>From the syslog you can see brk_near_huge has crashed:
Sep 19 07:28:25 s2lp6g004 rsyslogd-2007: action 'action 10' suspended, next 
retry is Tue Sep 19 07:29:55 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Sep 19 07:28:36 s2lp6g004 AutotestCrashHandler: Application brk_near_huge, PID 
10474 crashed
Sep 19 07:28:36 s2lp6g004 AutotestCrashHandler: Writing core files to 
['/home/ubuntu/autotest/client/results/default/libhugetlbfs/debug/crash.brk_near_huge.10474']
Sep 19 07:28:36 s2lp6g004 AutotestCrashHandler: Could not determine from which 
application core file 
/home/ubuntu/autotest/client/results/default/libhugetlbfs/debug/crash.brk_near_huge.10474/core
 is from

After hitting Ctrl + C to interrupt, kernel trace could be found in syslog:
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325504] report_user_fault: 35 
callbacks suppressed
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325507] User process fault: 
interruption code 0010 ilc:3 in stack_grow_into_huge[12f880000+4000]
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325520] Failing address: 
000003ffe72fe000 TEID: 000003ffe72fe400
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325521] Fault in primary space mode 
while using user ASCE.
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325523] AS:00000000551701c7 
R3:0000000048d88007 S:0000000000000020 
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325527] CPU: 0 PID: 10481 Comm: 
stack_grow_into Tainted: P      D    O    4.13.0-11-generic #12-Ubuntu
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325527] Hardware name: IBM 2964 N63 
400 (KVM/Linux)
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325528] task: 0000000062450000 
task.stack: 0000000062b3c000
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325529] User PSW : 0705300180000000 
000000012f8819a8
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325530]            R:0 T:1 IO:1 EX:1 
Key:0 M:1 W:0 P:1 AS:0 CC:3 PM:0 RI:0 EA:3
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325531] User GPRS: 000002001c51e2f8 
fffffffffffff000 0000000000000000 0000000000000004
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325531]            000003fff72fe5c0 
0000000000000000 0000000000000003 0000000157806000
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325532]            fffffffffff00000 
0000000000100000 000003fff7000000 000003fff72fe520
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325532]            000002001c426000 
0000000000000003 000000012f8819a2 000003ffe72fe518
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325540] User Code: 000000012f881996: 
e548b0a80001      mvghi   168(%r11),1
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325540]            000000012f88199c: 
c0e5fffffc86      brasl   %r14,12f8812a8
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325540]           #000000012f8819a2: 
c2f410000008      slgfi   %r15,268435464
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325540]           >000000012f8819a8: 
e54cf0a00001      mvhi    160(%r15),1
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325540]            000000012f8819ae: 
4110f0a0          la      %r1,160(%r15)
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325540]            000000012f8819b2: 
ec1afff8a065      clgrj   %r1,%r10,10,12f8819a2
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325540]            000000012f8819b8: 
b24f0010          ear     %r1,%a0
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325540]            000000012f8819bc: 
eb110020000d      sllg    %r1,%r1,32
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325549] Last Breaking-Event-Address:
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325552]  [<000002001c7f26e8>] 
0x2001c7f26e8
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325562] Process 10481(stack_grow_into) 
has RLIMIT_CORE set to 1
Sep 19 07:30:02 s2lp6g004 kernel: [11224.325563] Aborting core

Please find attachment for a more detailed syslog and core dump file.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-4.13.0-11-generic 4.13.0-11.12
ProcVersionSignature: Ubuntu 4.13.0-11.12-generic 4.13.1
Uname: Linux 4.13.0-11-generic s390x
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: 
ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.7-0ubuntu1
Architecture: s390x
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not 
found.
CurrentDmesg:
 
Date: Tue Sep 19 07:16:55 2017
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci:
 
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:
 
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C
 SHELL=/bin/bash
ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=d86dc8de-6ac8-4e4b-aba8-92872a209a8c 
crashkernel=196M
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-11-generic N/A
 linux-backports-modules-4.13.0-11-generic  N/A
 linux-firmware                             1.168
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug artful package-from-proposed s390x

** Attachment added: "syslog"
   https://bugs.launchpad.net/bugs/1718107/+attachment/4952628/+files/syslog

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1718107

Title:
  brk_near_huge test will hang on IBM s390x zKVM / zVM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1718107/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to