From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: segfault in system-process-attributes on GNU/Linux Date: Sat, 23 Aug 2008 20:40:51 +0300 Message-ID: References: <18608.13923.497720.920805@rgrjr.rgrjr.dyndns.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1219513270 1300 80.91.229.12 (23 Aug 2008 17:41:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Aug 2008 17:41:10 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Bob Rogers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 23 19:42:03 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWx7f-0002PX-Bi for ged-emacs-devel@m.gmane.org; Sat, 23 Aug 2008 19:41:59 +0200 Original-Received: from localhost ([127.0.0.1]:34385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWx6h-0008D2-Js for ged-emacs-devel@m.gmane.org; Sat, 23 Aug 2008 13:40:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWx6d-0008B0-90 for emacs-devel@gnu.org; Sat, 23 Aug 2008 13:40:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWx6b-0008Al-T0 for emacs-devel@gnu.org; Sat, 23 Aug 2008 13:40:55 -0400 Original-Received: from [199.232.76.173] (port=47399 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWx6b-0008Ai-Ol for emacs-devel@gnu.org; Sat, 23 Aug 2008 13:40:53 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:35699) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWx6b-0007yT-Kv for emacs-devel@gnu.org; Sat, 23 Aug 2008 13:40:53 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K62000LGEGY4ZS1@i_mtaout4.012.net.il> for emacs-devel@gnu.org; Sat, 23 Aug 2008 20:41:22 +0300 (IDT) In-reply-to: <18608.13923.497720.920805@rgrjr.rgrjr.dyndns.org> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102876 Archived-At: > Date: Sat, 23 Aug 2008 12:10:11 -0400 > From: Bob Rogers > Cc: > > From: "Juanma Barranquero" > Date: Fri, 22 Aug 2008 12:35:54 +0200 > > (assq 'euid (system-process-attributes (emacs-pid))) => (euid . 1006) > > I mean. > > Juanma > > Interesting. When I evaluate: > > (system-process-attributes (emacs-pid)) > > on my GNU/Linux system (openSUSE 10.2, kernel 2.6.18.2) using emacs > updated from trunk a few minutes ago, I get the segfault shown below. I cannot reproduce this on a GNU/Linux machine that identifies itself thusly: Linux fencepost 2.6.16.29-xen #1 SMP Wed Dec 6 07:32:36 EST 2006 x86_64 GNU/Linux Can you debug this? The place where it crashes: 0x081a2836 in Fsystem_process_attributes (pid=17936) at process.c:7417 is this (assuming you use a recent CVS): if (isspace (c) || c == '\\') I wonder how it can crash. But then optimized builds tend to lie about line numbers.