From nobody Mon Nov 14 20:53:53 2022 X-Original-To: freebsd-arm@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 4NB1kf68XQz4dL18 for ; Mon, 14 Nov 2022 20:54:02 +0000 (UTC) (envelope-from SRS0=xB1X=3O=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NB1kd4L2Cz3Qh8; Mon, 14 Nov 2022 20:54:01 +0000 (UTC) (envelope-from SRS0=xB1X=3O=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=Hu9+Cve0; spf=pass (mx1.freebsd.org: domain of "SRS0=xB1X=3O=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=xB1X=3O=klop.ws=ronald-lists@realworks.nl"; dmarc=pass (policy=quarantine) header.from=klop.ws Date: Mon, 14 Nov 2022 21:53:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1668459234; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=aVBE4Rd/+cVvTigJ1j4ihtYXKhqxsTtA8Bz85/YHyzs=; b=Hu9+Cve0KABV5f9ezLJl07zYVB/q3TySlt+TeSohdMuaBsrKwLtTnjiQGdsWqqAI9LA2gv fIidaEvBHi4G3A+pwqoVCjAyEMKako7/3GOR1igwwpv+86Hl8p5mIzvFaH69U58l+ZVcdI 1rAhWFWVEiOzLR+QvPdb/4JnlKuZpgLJa5YDfOSDJT1tA9vmAAAlALiRyhvwhQMm9CbKdJ 4FHbmTA+ayQlorV1OMzVHh0RQOs9WxawDD39Qrz+uHVgFKubxMS5yGbGmKBeKm4N2nrKoK czwCMnQ0BHjT6X9/Niyg+aTbjgVo7lXuFhhF9ejABUhKzGKpUtye8m0BWMqzJQ== From: Ronald Klop To: freebsd-arm@FreeBSD.org, Andrew Turner Message-ID: <1331707040.259440.1668459233836@localhost> Subject: lsof crashes in Arm Optimized Routines List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_259439_111495440.1668459233759" X-Mailer: Realworks (631.42) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Result: default: False [-1.20 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=xB1X=3O=klop.ws=ronald-lists@realworks.nl]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@FreeBSD.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=xB1X=3O=klop.ws=ronald-lists@realworks.nl] X-Rspamd-Queue-Id: 4NB1kd4L2Cz3Qh8 X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N ------=_Part_259439_111495440.1668459233759 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267760 : Segmentation fault in lsof. Program received signal SIGSEGV, Segmentation fault. Invalid permissions for mapped object. memcpy () at /home/ronald/dev/freebsd/src/contrib/arm-optimized-routines/string/aarch64/memcpy.S:175 175 stp D_l, D_h, [dst, 64]! I also remembered this change: https://cgit.freebsd.org/src/log/contrib/arm-optimized-routines?showmsg=1 about Arm Optimized Routines. Could this be related? What can I do to help debug this? Regards, Ronald. ------=_Part_259439_111495440.1668459233759 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267760 : Segmentation fault in lsof.
Program received signal SIGSEGV, Segmentation fault.                                                                              
Invalid permissions for mapped object.                                                                                            
memcpy () at /home/ronald/dev/freebsd/src/contrib/arm-optimized-routines/string/aarch64/memcpy.S:175                              
175             stp     D_l, D_h, [dst, 64]!

I also remembered this change: https://cgit.freebsd.org/src/log/contrib/arm-optimized-routines?showmsg=1 about Arm Optimized Routines.

Could this be related? What can I do to help debug this?

Regards,

Ronald.
  ------=_Part_259439_111495440.1668459233759--