Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-26 Thread Petr Tesarik
On Fri, 26 Jan 2018 11:47:20 +0800 Cao jin wrote: > FYI: I just files a bug to gcc: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84052 Well, I also asked my GCC colleague yesterday, and he believes it is not a bug in the compiler itself, but rather in the randstruct GCC plugin. In other wor

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-25 Thread Cao jin
FYI: I just files a bug to gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84052 -- Sincerely, Cao jin On 01/25/2018 05:35 PM, Petr Tesarik wrote: > On Thu, 25 Jan 2018 16:37:01 +0800 > Cao jin wrote: > >> On 01/24/2018 11:23 PM, Dave Anderson wrote: >>> >>> >>> - Original Message -

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-25 Thread Hatayama, Daisuke
> -Original Message- > From: crash-utility-boun...@redhat.com > [mailto:crash-utility-boun...@redhat.com] On Behalf Of Dave Anderson > Sent: Thursday, January 25, 2018 12:23 AM > To: Cao, Jin/曹 晋 > Cc: crash-utility@redhat.com > Subject: Re: [Crash-utility] Using

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-25 Thread Cao jin
On 01/25/2018 05:35 PM, Petr Tesarik wrote: > On Thu, 25 Jan 2018 16:37:01 +0800 > Cao jin wrote: > >> On 01/24/2018 11:23 PM, Dave Anderson wrote: >>> >>> >>> - Original Message - On 01/23/2018 11:19 PM, Dave Anderson wrote: > > > - Original Message -

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-25 Thread Petr Tesarik
On Thu, 25 Jan 2018 16:37:01 +0800 Cao jin wrote: > On 01/24/2018 11:23 PM, Dave Anderson wrote: > > > > > > - Original Message - > >> > >> > >> On 01/23/2018 11:19 PM, Dave Anderson wrote: > >>> > >>> > >>> - Original Message - > Hi Dave, > >     Recently I

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-25 Thread Cao jin
On 01/24/2018 11:23 PM, Dave Anderson wrote: > > > - Original Message - >> >> >> On 01/23/2018 11:19 PM, Dave Anderson wrote: >>> >>> >>> - Original Message - Hi Dave,     Recently I was trying crash tool with kdump dumpfile & structure layout randomized kern

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-24 Thread Dave Anderson
- Original Message - > ... > The 1st error is from reading "init_uts_ns"(randomized) value in > kernel_init, so kt->kernel_version is wrong, then results invalid > virtual addresses in "case POST_GDB:" of x86_64_init, the symptom of > this error is segment fault results from infinite fun

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-24 Thread Dave Anderson
- Original Message - > > > On 01/23/2018 11:19 PM, Dave Anderson wrote: > > > > > > - Original Message - > >> Hi Dave, > >> > >>     Recently I was trying crash tool with kdump dumpfile & structure > >> layout randomized kernel[*](), and it fails without any surprise. After >

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-23 Thread Cao jin
On 01/23/2018 11:19 PM, Dave Anderson wrote: > > > - Original Message - >> Hi Dave, >> >>     Recently I was trying crash tool with kdump dumpfile & structure >> layout randomized kernel[*](), and it fails without any surprise. After >> looking into the different errors crash reports, I

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-23 Thread Cao jin
On 01/23/2018 11:19 PM, Dave Anderson wrote: > > > - Original Message - >> Hi Dave, >> >>     Recently I was trying crash tool with kdump dumpfile & structure >> layout randomized kernel[*](), and it fails without any surprise. After >> looking into the different errors crash reports, I

Re: [Crash-utility] Using crash with structure layout randomized kernel

2018-01-23 Thread Dave Anderson
- Original Message - > Hi Dave, > >     Recently I was trying crash tool with kdump dumpfile & structure > layout randomized kernel[*](), and it fails without any surprise. After > looking into the different errors crash reports, I can confirm it is a > result from randomized structure l

[Crash-utility] Using crash with structure layout randomized kernel

2018-01-23 Thread Cao jin
Hi Dave,     Recently I was trying crash tool with kdump dumpfile & structure layout randomized kernel[*](), and it fails without any surprise. After looking into the different errors crash reports, I can confirm it is a result from randomized structure layout. So my questions is, do you ever con