From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#36279: 26.2.90; (process-attributes nonexistent-pid) segmentation fault Date: Wed, 19 Jun 2019 10:01:22 +0200 Message-ID: References: <87zhmfvx44.fsf@gmail.com> <42c23bd8-57e3-4503-a6cf-d38aec89edd0@www.fastmail.com> <3593bb18-c70f-4759-bf34-a245cf1ddf9b@www.fastmail.com> <83lfxyss8m.fsf@gnu.org> <83k1disr88.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="31035"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) Cc: 36279@debbugs.gnu.org, mail@xuchunyang.me, npostavs@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 19 10:03:32 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdVZ5-0007mu-IC for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2019 10:03:31 +0200 Original-Received: from localhost ([::1]:35720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdVZ2-0000hZ-Vs for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2019 04:03:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38393) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdVXl-0000cO-D1 for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 04:02:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdVXg-0003Y4-PS for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 04:02:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60656) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdVXe-0003VL-D8 for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 04:02:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdVXe-0001Ch-Aa for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2019 04:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jun 2019 08:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36279 X-GNU-PR-Package: emacs Original-Received: via spool by 36279-submit@debbugs.gnu.org id=B36279.15609312904592 (code B ref 36279); Wed, 19 Jun 2019 08:02:02 +0000 Original-Received: (at 36279) by debbugs.gnu.org; 19 Jun 2019 08:01:30 +0000 Original-Received: from localhost ([127.0.0.1]:45967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdVX8-0001Bz-7N for submit@debbugs.gnu.org; Wed, 19 Jun 2019 04:01:30 -0400 Original-Received: from mx2.suse.de ([195.135.220.15]:50234 helo=mx1.suse.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdVX6-0001Bm-Tv for 36279@debbugs.gnu.org; Wed, 19 Jun 2019 04:01:29 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 25596AF56; Wed, 19 Jun 2019 08:01:23 +0000 (UTC) X-Yow: FIRST, I'm covering you with OLIVE OIL and PRUNE WHIP!! In-Reply-To: (Robert Pluim's message of "Wed, 19 Jun 2019 09:06:53 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160829 Archived-At: On Jun 19 2019, Robert Pluim wrote: > From a70ac9f644660a16fa871a9f6933c1344ffae083 Mon Sep 17 00:00:00 2001 > From: Robert Pluim > Date: Wed, 19 Jun 2019 08:52:50 +0200 > Subject: [PATCH] Check length returned by sysctl > To: emacs-devel@gnu.org > > sysctl sometimes returns successfully even when it returns no data, > such as when querying non-existent processes, which can cause crashes. I thinks that's not a sometimes, but how it is documented to work. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."