Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753142AbeACOg3 (ORCPT + 1 other); Wed, 3 Jan 2018 09:36:29 -0500 Received: from mout.web.de ([212.227.15.14]:63128 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752100AbeACOg2 (ORCPT ); Wed, 3 Jan 2018 09:36:28 -0500 From: Markus To: Greg Kroah-Hartman Cc: lkml , Josh Poimboeuf , Ingo Molnar Subject: Re: objtool segfault with ORC unwinder enabled Date: Wed, 03 Jan 2018 15:36:18 +0100 Message-ID: <3912001.hMtDQUfDjd@markus> In-Reply-To: <20180103141401.GC12918@kroah.com> References: <1537667.mbZVOcHbLR@markus> <1954665.Z2ZbY5be2g@markus> <20180103141401.GC12918@kroah.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:3xMey1L3Gav45saNH2hz09/Q1bJMzbizzL3EIkNeafFU9oWr1bd +iy+uz59ZfC4Z1oojbZ5ihc+ewzOabB0WQxNp2bzflJsAF1HZ2T25dSUzYrNpDb1v17TiQ5 Ms6tQESSu2V9s4VlzE0HIm43UbZ8Jv80tjBsAw3/3zQCrlbmZUk2QhXSMKu01YEHNHbqPqW GFNHsVycUnVdOE9+GJXhQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:RMkheblnrOY=:soBUfp+b1OEJvrCgJ4LGvi NJq1nHGoPQ1LPLMWt7c11dYaqxfRdQ1PMun8N8xP8UW/sy0jzT8xDUMEOx6Hs2M2MynoxCfTO bC6kCEADz08CmYk5Ftvmd8TSGZhkifC37ajcSpauJItcYcWNF+ckH9WE4ROep/X5s4IOaqz/n /01nuirdOYEzodb186twbqBEfLrinwtzx01tBPvFLmHH0AoGCate/Cy2O0ZMPTHCeH7KoPwTG p7YDH5owscZ1QJ20JbNCncZm3rc0+FHUhN4RQ+hao1tvEBX7QUqfFre6hxEV/saRqao8bslyy uF5aUh1acmpgq55iIyJv4y0cxhRhumBQ3oKt9HAA/h+qLCWA4dDnfiPzGe/uSQYmZ2PvHqYT7 nD6p2SyoM9Z9xFv1BGg9D6Ta3cj0pp87hByQ53IrNR2hQM8ITvrBNRXp97E3LS88RP3a14bDu HBEV+rQbfgxmL7CQ25LIFwNlmuVlZMI4ekJR0rzADw8G96MMRgoBL0H3QYPMMCFk0okFGGPD/ hKcZMGPIWLgE653ciBQMzqfbtFurx+k40brjik7gA05SbTmJNiwaFsfxLXZzQmzL4zhBY4KlC gD+ShJ5MXKDX4JfkdwKW+plvvWdadJXwWEqJElpKtiFT5EctVP3lI+dEvEC6kMY0sDZE6Gpiq 4AndtftIDkSpwqTi7fIc12fqdxYprToZy2YUOEmcDQXw1cTW3w5MGTIQdBNEVex4E8xE08aC0 /gFE3COKtfn6OnKu120PZMT93dmZlu+k6w60kEHR3utAVtrz3QNWFW9Ax1Xv+C7n2Ow1NneFn f0GRm+LX1plTzb6ah1Pp8+3NC2Gxvv3BYn9cpSFADSkOOR4yrA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 03, 2018 15:14:01 CET Greg Kroah-Hartman wrote: > On Wed, Jan 03, 2018 at 01:22:07PM +0100, Markus wrote: > > On Wed, Jan 03, 2018 at 12:19:41 CET Greg Kroah-Hartman wrote: > > > On Wed, Jan 03, 2018 at 11:49:08AM +0100, Markus wrote: > > > > Hello! > > > > > > > > ORC unwinder is enabled in stable for wider testing but still at least > > > > one > > > > bug is open: > > > > https://bugzilla.kernel.org/show_bug.cgi?id=197035 > > > > > > Random web links on mailing lists don't help much, please put the > > > information here in the email. > > > > Its not a random web link. Its the official kernel.org bugtracker. But > > nobody seems to be looking at it. > > Not all subsystems use bugzilla.kernel.org, sorry. Email is the > preferred way for almost all subsystems. > > > > > objtool will segfault because a NULL pointer is dereferenced. > > > > > > And how are you reproducing this? > > > > Just building the kernel with ORC enabled. > > (At least for me. Using framepointers compiles, enabling ORC again breaks > > it.) gcc 6.4.0 (In bug report others were tested as well.) > > elfutils 0.170 > > What else may be interesting? > > Have you tried gcc 7? No I have no gcc 7 installed, yet. (In the bug report gcc 8.0.0 and gcc 5.4.0 were mentioned.) > What distro is this? Hopefully not hardened Gentoo? :) Just a normal gentoo. > > > > Is a NULL pointer sym valid? > > > > If a NULL pointer is invalid, it has to be checked why it is sometimes > > > > NULL. > > > > > > What .config is triggering this problem? > > > > See attachment. > > > > > And does this show up on 4.14.11, and 4.15-rc6? > > > > Both: yes. > > > > /tools/objtool/objtool orc generate --no-fp "arch/x86/kernel/irq.o" > > > > => segfault. > > Ugh, I can't duplicate here :( How about the previously attached irq.o? BR, Markus