From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f199.google.com (mail-io0-f199.google.com [209.85.223.199]) by kanga.kvack.org (Postfix) with ESMTP id C78636B0005 for ; Tue, 31 Jul 2018 18:57:45 -0400 (EDT) Received: by mail-io0-f199.google.com with SMTP id f9-v6so12445577ioh.1 for ; Tue, 31 Jul 2018 15:57:45 -0700 (PDT) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id r9-v6sor6463777jab.101.2018.07.31.15.57.44 for (Google Transport Security); Tue, 31 Jul 2018 15:57:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20180730130134.yvn5tcmoavuxtwt5@kshutemo-mobl1> From: youling 257 Date: Wed, 1 Aug 2018 06:57:23 +0800 Message-ID: Subject: Re: Linux 4.18-rc7 Content-Type: multipart/alternative; boundary="0000000000007c25b00572538159" Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds Cc: Amit Pundir , John Stultz , Hugh Dickins , "Kirill A. Shutemov" , Matthew Wilcox , "Kirill A. Shutemov" , Andrew Morton , Dmitry Vyukov , Oleg Nesterov , Andrea Arcangeli , Greg Kroah-Hartman , linux-mm , Linux Kernel Mailing List , Joel Fernandes , Colin Cross --0000000000007c25b00572538159 Content-Type: text/plain; charset="UTF-8" Build fingerprint: 'Android-x86/android_x86/x86:8.1.0/OPM6.171019.030.B1/cwhuang0618:userdebug/test-keys' Revision: '0' ABI: 'x86' pid: 2899, tid: 2899, name: zygote >>> zygote <<< signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0xec00008 eax 00000000 ebx f0274a40 ecx 000001e0 edx 0ec00008 esi 00000000 edi 0ec00000 xcs 00000023 xds 0000002b xes 0000002b xfs 00000003 xss 0000002b eip f24a4996 ebp ffc4eaa8 esp ffc4ea68 flags 00010202 backtrace: #00 pc 0001a996 /system/lib/libc.so (memset+150) #01 pc 0022b2be /system/lib/libart.so (create_mspace_with_base+222) #02 pc 002b2a05 /system/lib/libart.so (art::gc::space::DlMallocSpace::CreateMspace(void*, unsigned int, unsigned int)+69) #03 pc 002b2637 /system/lib/libart.so (art::gc::space::DlMallocSpace::CreateFromMemMap(art::MemMap*, std::__1::basic_string, std::__1::allocator> const&, unsigned int, unsigned int, unsigned int, unsigned int, bool)+55) #04 pc 0027f6af /system/lib/libart.so (art::gc::Heap::Heap(unsigned int, unsigned int, unsigned int, unsigned int, double, double, unsigned int, unsigned int, std::__1::basic_string, std::__1::allocator> const&, art::InstructionSet, art::gc::CollectorType, art::gc::CollectorType, art::gc::space::LargeObjectSpaceType, unsigned int, unsigned int, unsigned int, bool, unsigned int, unsigned int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, unsig #05 pc 0055a17a /system/lib/libart.so (_ZN3art7Runtime4InitEONS_18RuntimeArgumentMapE+11434) #06 pc 0055e928 /system/lib/libart.so (art::Runtime::Create(std::__1::vector, std::__1::allocator>, void const*>, std::__1::allocator, std::__1::allocator>, void const*>>> const&, bool)+184) 2018-08-01 0:29 GMT+08:00 Linus Torvalds : > On Mon, Jul 30, 2018 at 11:40 PM Amit Pundir > wrote: > > > > This ashmem change ^^ worked too. > > Ok, let's go for that one and hope it's the only one. > > John, can I get a proper commit message and sign-off for that ashmem > change? > > Kirill - you mentioned that somebody reproduced a problem on x86-64 > too. I didn't see that report. Was that some odd x86 Android setup > with Ashmem too, or is there something else pending? > > Linus > --0000000000007c25b00572538159 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Build fingerprint: 'Android-x86/android_x86/x86:8.1.0/= OPM6.171019.030.B1/cwhuang0618:userdebug/test-keys'
Revision: '= 0'
ABI: 'x86'
pid: 2899, tid: 2899, name: z= ygote >>> zygote <<<
signal 7 (SIGBUS), code 2= (BUS_ADRERR), fault addr 0xec00008
=C2=A0 =C2=A0 eax 00000000 e= bx f0274a40 ecx 000001e0 edx 0ec00008
=C2=A0 =C2=A0 esi 0000000= 0 edi 0ec00000
=C2=A0 =C2=A0 xcs 00000023 xds 0000002b xes 000= 0002b xfs 00000003 xss 0000002b
=C2=A0 =C2=A0 eip f24a4996 ebp= ffc4eaa8 esp ffc4ea68 flags 00010202

backtrace:=
=C2=A0 =C2=A0 #00 pc 0001a996 /system/lib/libc.so (memset+150)<= /div>
=C2=A0 =C2=A0 #01 pc 0022b2be /system/lib/libart.so (create_mspa= ce_with_base+222)
=C2=A0 =C2=A0 #02 pc 002b2a05 /system/lib/liba= rt.so (art::gc::space::DlMallocSpace::CreateMspace(void*, unsigned int, uns= igned int)+69)
=C2=A0 =C2=A0 #03 pc 002b2637 /system/lib/libart.= so (art::gc::space::DlMallocSpace::CreateFromMemMap(art::MemMap*, std::__1:= :basic_string<char, std::__1::char_traits<char>, std::__1::allocat= or<char>> const&, unsigned int, unsigned int, unsigned int, un= signed int, bool)+55)
=C2=A0 =C2=A0 #04 pc 0027f6af /system/lib/= libart.so (art::gc::Heap::Heap(unsigned int, unsigned int, unsigned int, un= signed int, double, double, unsigned int, unsigned int, std::__1::basic_str= ing<char, std::__1::char_traits<char>, std::__1::allocator<char= >> const&, art::InstructionSet, art::gc::CollectorType, art::gc::= CollectorType, art::gc::space::LargeObjectSpaceType, unsigned int, unsigned= int, unsigned int, bool, unsigned int, unsigned int, bool, bool, bool, boo= l, bool, bool, bool, bool, bool, bool, bool, unsig #05 pc 0055a17a /sys= tem/lib/libart.so (_ZN3art7Runtime4InitEONS_18RuntimeArgumentMapE+11434)
=C2=A0 =C2=A0 #06 pc 0055e928 /system/lib/libart.so (art::Runtime:= :Create(std::__1::vector<std::__1::pair<std::__1::basic_string<cha= r, std::__1::char_traits<char>, std::__1::allocator<char>>, = void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_s= tring<char, std::__1::char_traits<char>, std::__1::allocator<ch= ar>>, void const*>>> const&, bool)+184)

2018-08-01 0:29 GMT+08= :00 Linus Torvalds <torvalds@linux-foundation.org>:
On Mon, Jul 30, 2018= at 11:40 PM Amit Pundir <amit= .pundir@linaro.org> wrote:
>
> This ashmem change ^^ worked too.

Ok, let's go for that one and hope it's the only one.

John, can I get a proper commit message and sign-off for that ashmem change= ?

Kirill - you mentioned that somebody reproduced a problem on x86-64
too. I didn't see that report. Was that some odd x86 Android setup
with Ashmem too, or is there something else pending?

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0Linus

--0000000000007c25b00572538159--