Subject: bug#12308: 24.2; (process-attributes <busy-pid-in-cpu>) crashes emacs on Solaris with fatal error 11

From: M K <[email-masked]>
Date: Wed, 29 Aug 2012 15:27:24 -0500

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

1. Type emacs -Q <RET>.
2. Type M-x proced <RET>
3. Observe emacs frame disappear, printing "Fatal error(11)" and
"Segmentation Fault (core dumped)" in the terminal window.
4. Reproduce, with Step 1. as follows: Type emacs -Q -nw <RET>,
observe the same result.
5. Reproduce, with Step 2. as follows: In *scratch* buffer, type
 (dolist (pid (list-system-processes)) (print (process-attributes pid)))
 C-j; observe the same crash.
6. Fail to Reproduce, with Step 2 as follows:  In *scratch* buffer, type
 (dolist (pid (list-system-processes)) (process-attributes pid));
 observe emacs echo "nil" and survive.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/home/myuser/util/share/emacs/24.2/etc/DEBUG.

Answer: Gdb is not installed on this machine.

In GNU Emacs 24.2.1 (sparc-sun-solaris2.10, X toolkit, Xaw3d scroll bars)
 of 2012-08-29 on mysolaris
Windowing system distributor `Citrix Systems Inc', version 11.0.60221
Configured using:
 `configure '--prefix=/home/myuser/util' '--without-png''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x <up> r e p o <tab> r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
goto-history-element: Beginning of history; no preceding item
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils help-mode easymenu view time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer loaddefs button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dynamic-setting x-toolkit x multi-tty emacs)