From nobody Wed Jan 12 22:59:58 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B54FE194EB27 for ; Wed, 12 Jan 2022 23:00:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-8.consmr.mail.gq1.yahoo.com (sonic307-8.consmr.mail.gq1.yahoo.com [98.137.64.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JZ31P0yHJz3krp for ; Wed, 12 Jan 2022 23:00:09 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642028402; bh=x09OgQ7rOHyXMB4YJ6PiFiloEYkKKgYeK/PolYm4Qy8=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=YF4eAglVYtxjVavcLMh8d5KFZUb34pGDBf2UGZjcuOUEYeJtfkCnn87uj2p6KQqS/6A9ds/QaBnK1CmtLoopdooER2rpmJ1QIgJ8XG6qrqsCuFWL+oZ/Do8qe7CKLvQrQSJGzL3oiwSbMjXqfgHc71gJSwNakDE23KTr7DO0BtAcXQ3xs3QxoGR6iEZ2VgmK8vLVl8lu9pV0J67eJnGjINq2CyYDyHyIjj4A8b7FTpeKRuuKEfk8HK5IBlzrAhvE1NS+ApzS1/6Na4yHUnBxlvoqp9uxkqqoLul4Kvv0sK0TUtlBXoWMCE2kppj6LMXHL3577pHbrYtAtZZwvn1qDw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642028402; bh=eyodVFbdNhL9hhRpVIwHOETqoAFuWphvwuRto6tbitG=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=lfRXrmjQB0jb16PrZXe1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61sAcAYO8Ps5FEz2Qt5k66.LgZ70iv1jDYCJcAVq94F4W0Lmrs5SUNSIp9j58G b9tHOyJIrQUmoRTYnCI3CxDcxkYNXkPxIw_5UWxOIKkoSc_nlQIavINwBGU4xQ5oViYsub8LLq0t U8.ZukZ2Q7.a6Jyc.1WB6rihL.go26Yn2h1iLCXHaLaKMrAaul9NxK7UAYoDF05l639lhnjPbi4q .VbL476Ib1B3oVAYjXWcrs4NB4D849EydsY_vUaoyqiLwNcdY6iNZk0oAZfbek_82HiClJiznLWT nB7tJQJdyGeE_jLzeD4jvOQOeqls_jtBo.TaSJ7xHQ54a6lcuRlz5BdJWwxVmebqXWIqtgY2KBaj cKOnGTSyr7gJsU2EWHkT4hMYNe3Qg3hiwPyILldbc3vkRrSCdFFMeHpzTPaTIrkIFqocc_GFVMRu E09rBl1TwznWMxrjLGNlwZg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Wed, 12 Jan 2022 23:00:02 +0000 Received: by kubenode507.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 750f70c3f19754a14b87f2fc77dfc291; Wed, 12 Jan 2022 23:00:00 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: The kyua in ASAN-built-world reports: the 65 __asan_report_{load4|store8|load8}_noabort examples Message-Id: <604B4A79-EF86-49A9-9AF0-13716EE8D7EB@yahoo.com> Date: Wed, 12 Jan 2022 14:59:58 -0800 To: freebsd-current X-Mailer: Apple Mail (2.3654.120.0.1.13) References: <604B4A79-EF86-49A9-9AF0-13716EE8D7EB.ref@yahoo.com> X-Rspamd-Queue-Id: 4JZ31P0yHJz3krp X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=YF4eAglV; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.32:from]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.32:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-ThisMailContainsUnwantedMimeParts: N # kyua report --verbose | grep _noabort=20 #7 0x1111227 in __asan_report_load4_noabort = /usr/main-src/contrib/llvm-project/compiler-rt/lib/asan/asan_rtl.cpp:122:1= #7 0x111163a in __asan_report_store8_noabort = /usr/main-src/contrib/llvm-project/compiler-rt/lib/asan/asan_rtl.cpp:128:1= . . . #7 0x10ce357 in __asan_report_load8_noabort = /usr/main-src/contrib/llvm-project/compiler-rt/lib/asan/asan_rtl.cpp:123:1= . . . (The others are examples of the same 3 routines. In fact there is only that one _load4_ example in the list. The rest are _load8_ or _store8_ examples.) But when I look, I find that all of these fail to actually report the load* or store* information, instead running into another problem while trying to do that. It is this other problem that ends up being reported. It is the same problem for all of them. Picking an example: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D AddressSanitizer: CHECK failed: asan_thread.cpp:371 "((ptr[0] =3D=3D = kCurrentStackFrameMagic)) !=3D (0)" (0x0, 0x0) (tid=3D102427) #0 0x1112b31 in __asan::CheckUnwind() = /usr/main-src/contrib/llvm-project/compiler-rt/lib/asan/asan_rtl.cpp:67:3 #1 0x112e00b in __sanitizer::CheckFailed(char const*, int, char = const*, unsigned long long, unsigned long long) = /usr/main-src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/saniti= zer_termin ation.cpp:86:5 #2 0x11153c1 in = __asan::AsanThread::GetStackFrameAccessByAddr(unsigned long, = __asan::AsanThread::StackFrameAccess*) = /usr/main-src/contrib/llvm-project/compiler-rt/lib/asan/asan_thread.cpp #3 0x10bc5a3 in __asan::GetStackAddressInformation(unsigned long, = unsigned long, __asan::StackAddressDescription*) = /usr/main-src/contrib/llvm-project/compiler-rt/lib/asan/asan_descriptions.= cpp:202 :11 #4 0x10bc5a3 in = __asan::AddressDescription::AddressDescription(unsigned long, unsigned = long, bool) = /usr/main-src/contrib/llvm-project/compiler-rt/lib/asan/asan_descriptions.= cpp:454:21 #5 0x10be09e in __asan::ErrorGeneric::ErrorGeneric(unsigned int, = unsigned long, unsigned long, unsigned long, unsigned long, bool, = unsigned long) /usr/main-src/contrib/llvm-project/compiler-rt/lib /asan/asan_errors.cpp:390:7 #6 0x11104fc in __asan::ReportGenericError(unsigned long, unsigned = long, unsigned long, unsigned long, bool, unsigned long, unsigned int, = bool) /usr/main-src/contrib/llvm-project/compiler-rt/lib/a san/asan_report.cpp:475:16 #7 0x1111227 in __asan_report_load4_noabort = /usr/main-src/contrib/llvm-project/compiler-rt/lib/asan/asan_rtl.cpp:122:1= . . . In each case, __asan::AsanThread::GetStackFrameAccessByAddr attempts to = CHECK ptr[0] =3D=3D kCurrentStackFrameMagic and the CHECK fails --so that is = what ends up being reported. My first guess would be that the load* and store* reports are for misaligned stack accesses. But it is just a guess from my lack of managing to think of anything else it would be checking where the only context-usage apparently involved is: load or store with a size in Bytes. =3D=3D=3D Mark Millard marklmi at yahoo.com