From: Bronek Kozicki <brok@incorrekt.com>
To: vcaputo@pengaru.com, linux-kernel@vger.kernel.org, tj@kernel.org
Cc: cgroups@vger.kernel.org
Subject: Re: PROBLEM: NULL pointer dereference in kernel 4.14.6
Date: Mon, 18 Dec 2017 19:56:17 +0000 [thread overview]
Message-ID: <95d82ae1-fe4c-4eee-8e94-fa0df3e25532@incorrekt.com> (raw)
In-Reply-To: <20171217232448.yfaxxew2ijaay7iu@shells.gnugeneration.com>
On 17/12/2017 23:24, vcaputo@pengaru.com wrote:
> On Sun, Dec 17, 2017 at 05:49:44PM +0000, Bronek Kozicki wrote:
>> I just upgraded to 4.14.7 and tried to reproduce this error, this time under strace. As you can see this happens when systemctl tries to read a specific entry under /sys/fs . In case this matters, the entry is for a small virtual machine running under qemu/kvm and managed by libvirt.
>>
>> open("/sys/fs/cgroup/unified/machine.slice", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
>> fstat(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
>> getdents(5, /* 12 entries */, 32768) = 464
>> openat(AT_FDCWD, "/sys/fs/cgroup/unified/machine.slice/machine-qemu\\x2d1\\x2dkartuzy\\x2dspice.scope/cgroup.procs", O_RDONLY|O_CLOEXEC) = 8
>> fstat(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
>> read(8, <unfinished ...>) = ?
>> +++ killed by SIGKILL +++
>> [1] 12078 killed strace -- systemctl status
>>
>>
>
> This recently came through lkml, may be related:
> https://marc.info/?l=linux-kernel&m=151320108922415&w=2
thank you, it certainly seems related. Is there some debugging option I could enable, or patch I could apply, which would make the point of data corruption easier to find? I'm ok taking untested patches, if that helps finding the location of the bug.
B.
next prev parent reply other threads:[~2017-12-18 19:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-17 12:14 Bronek Kozicki
2017-12-17 13:29 ` Bronek Kozicki
2017-12-17 17:49 ` Bronek Kozicki
2017-12-17 18:25 ` Randy Dunlap
2017-12-17 18:30 ` Bronek Kozicki
2017-12-17 18:31 ` Randy Dunlap
2017-12-17 18:48 ` Bronek Kozicki
2017-12-17 23:24 ` vcaputo
2017-12-18 19:56 ` Bronek Kozicki [this message]
2017-12-19 13:42 ` Tejun Heo
2017-12-20 15:14 ` Tejun Heo
2017-12-20 18:04 ` Bronek Kozicki
2017-12-18 20:17 George Amanakis
2017-12-19 22:37 ` Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=95d82ae1-fe4c-4eee-8e94-fa0df3e25532@incorrekt.com \
--to=brok@incorrekt.com \
--cc=cgroups@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
--cc=vcaputo@pengaru.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®