all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
To: "Juanma Barranquero" <lekktu@gmail.com>, emacs-devel@gnu.org
Subject: segfault in system-process-attributes on GNU/Linux
Date: Sat, 23 Aug 2008 12:10:11 -0400	[thread overview]
Message-ID: <18608.13923.497720.920805@rgrjr.rgrjr.dyndns.org> (raw)
In-Reply-To: <f7ccd24b0808220335p313aa1d1x667030ef94a8e4b1@mail.gmail.com>

   From: "Juanma Barranquero" <lekktu@gmail.com>
   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.

					-- Bob Rogers
					   http://rgrjr.dyndns.org/

------------------------------------------------------------------------
DISPLAY = :0
TERM = dumb
Breakpoint 1 at 0x810cf0b: file emacs.c, line 417.
Breakpoint 2 at 0x812573c: file sysdep.c, line 1133.
(gdb) r
Starting program: /usr/src/emacs/src/emacs 
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1221383984 (LWP 2242)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221383984 (LWP 2242)]
0x081a2836 in Fsystem_process_attributes (pid=17936) at process.c:7417
(gdb) bt
#0  0x081a2836 in Fsystem_process_attributes (pid=17936) at process.c:7417
#1  0x0816f6d1 in Feval (form=139264877) at eval.c:2373
#2  0x0817013d in Ffuncall (nargs=2, args=0xbfd9d490) at eval.c:3042
#3  0x0819e9ab in Fbyte_code (bytestr=136537083, vector=136537100, maxdepth=40) at bytecode.c:678
#4  0x0816fdd2 in funcall_lambda (fun=136537028, nargs=2, arg_vector=0xbfd9d5c4) at eval.c:3229
#5  0x08170319 in Ffuncall (nargs=3, args=0xbfd9d5c0) at eval.c:3088
#6  0x08171866 in Fapply (nargs=2, args=0xbfd9d620) at eval.c:2530
#7  0x081718a7 in apply1 (fn=142976345, arg=139263053) at eval.c:2794
#8  0x0816c6e2 in Fcall_interactively (function=142976345, record_flag=137763017, keys=137801452) at callint.c:389
#9  0x08170171 in Ffuncall (nargs=4, args=0xbfd9d7a0) at eval.c:3048
#10 0x081703f5 in call3 (fn=137927273, arg1=142976345, arg2=137763017, arg3=137763017) at eval.c:2872
#11 0x08111ee3 in Fcommand_execute (cmd=142976345, record_flag=137763017, keys=137763017, special=137763017) at keyboard.c:10338
#12 0x0811dc0a in command_loop_1 () at keyboard.c:1879
#13 0x0816ed4c in internal_condition_case (bfun=0x811cd19 <command_loop_1>, handlers=137806257, hfun=0x81181d1 <cmd_error>) at eval.c:1511
#14 0x08117772 in command_loop_2 () at keyboard.c:1338
#15 0x0816ee02 in internal_catch (tag=137802233, func=0x811774f <command_loop_2>, arg=137763017) at eval.c:1247
#16 0x08118024 in command_loop () at keyboard.c:1317
#17 0x08118361 in recursive_edit_1 () at keyboard.c:942
#18 0x0811848a in Frecursive_edit () at keyboard.c:1004
#19 0x0810e762 in main (argc=1, argv=0xbfd9def4) at emacs.c:1689

Lisp Backtrace:
"system-process-attributes" (0xbfd9d3d0)
"eval" (0xbfd9d494)
"eval-expression" (0xbfd9d5c4)
"call-interactively" (0xbfd9d7a4)
(gdb) 




  reply	other threads:[~2008-08-23 16:10 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-09 21:13 File Owner and Group ID on Windows Eli Zaretskii
2008-08-21  1:27 ` Juanma Barranquero
2008-08-21  1:35   ` Lennart Borgman (gmail)
2008-08-21  1:56     ` Juanma Barranquero
2008-08-21  5:44   ` Eli Zaretskii
2008-08-21 14:14     ` Juanma Barranquero
2008-08-21 16:37       ` Eli Zaretskii
2008-08-22 10:34         ` Juanma Barranquero
2008-08-22 10:35           ` Juanma Barranquero
2008-08-23 16:10             ` Bob Rogers [this message]
2008-08-23 17:40               ` segfault in system-process-attributes on GNU/Linux Eli Zaretskii
2008-08-23 19:12                 ` Bob Rogers
2008-08-23 20:51                   ` Eli Zaretskii
2008-08-23 18:05               ` Andreas Schwab
2008-08-23 18:17                 ` Eli Zaretskii
2008-08-22 11:17           ` File Owner and Group ID on Windows Eli Zaretskii
2008-08-22 11:29             ` Juanma Barranquero
2008-08-24 20:20           ` Eli Zaretskii
2008-08-24 22:52             ` Juanma Barranquero
2008-08-25  3:07               ` Eli Zaretskii
2008-08-25  3:34                 ` Lennart Borgman (gmail)
2008-08-25 12:26                 ` Juanma Barranquero
2008-08-25 12:48                   ` Lennart Borgman (gmail)
2008-08-25 12:50                     ` Juanma Barranquero
2008-08-25 12:53                       ` Lennart Borgman (gmail)
2008-08-25 15:13                         ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18608.13923.497720.920805@rgrjr.rgrjr.dyndns.org \
    --to=rogers-emacs@rgrjr.dyndns.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.