emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segfault in system-process-attributes on GNU/Linux


From: Bob Rogers
Subject: segfault in system-process-attributes on GNU/Linux
Date: Sat, 23 Aug 2008 12:10:11 -0400

   From: "Juanma Barranquero" <address@hidden>
   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 via email to

[Prev in Thread] Current Thread [Next in Thread]