GNU bug report logs - #36279
26.2.90; (process-attributes nonexistent-pid) segmentation fault

Previous Next

Package: emacs;

Reported by: Xu Chunyang <mail <at> xuchunyang.me>

Date: Tue, 18 Jun 2019 13:27:02 UTC

Severity: normal

Tags: fixed

Found in version 26.2.90

Fixed in version 26.3

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 36279 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: xuchunyang <mail <at> xuchunyang.me>
Cc: 36279 <at> debbugs.gnu.org, npostavs <at> gmail.com
Subject: Re: bug#36279: 26.2.90;
 (process-attributes nonexistent-pid) segmentation fault
Date: Tue, 18 Jun 2019 19:10:08 +0300
> Date: Tue, 18 Jun 2019 22:05:38 +0800
> From: xuchunyang <mail <at> xuchunyang.me>
> Cc: 36279 <at> debbugs.gnu.org
> 
>    3869	  rusage = proc.kp_proc.p_ru;
>    3870	  if (rusage)
>    3871	    {
> -> 3872	      attrs = Fcons (Fcons (Qminflt,  make_fixnum_or_float (rusage->ru_minflt)),
>    3873			     attrs);
>    3874	      attrs = Fcons (Fcons (Qmajflt,  make_fixnum_or_float (rusage->ru_majflt)),
>    3875			     attrs);

So 'rusage' is not a NULL pointer, but it's garbled?




This bug report was last modified 5 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.