From xemacs-m  Wed Apr 23 04:56:24 1997
Received: from frege.math.ethz.ch (root@frege-d-math-north-g-west.math.ethz.ch [129.132.145.3])
	by xemacs.org (8.8.5/8.8.5) with SMTP id EAA24587;
	Wed, 23 Apr 1997 04:56:14 -0500 (CDT)
Received: from midget.math.ethz.ch (vroonhof@midget [129.132.145.4]) by frege.math.ethz.ch (8.6.12/Main-STAT-mailer) with ESMTP id LAA10832; Wed, 23 Apr 1997 11:55:14 +0200
Received: (vroonhof@localhost) by midget.math.ethz.ch (8.6.12/D-MATH-client) id LAA08948; Wed, 23 Apr 1997 11:54:46 +0200
Sender: vroonhof@math.ethz.ch
To: xemacs-beta@xemacs.org
Cc: crashes@xemacs.org
Subject: Child process problems again.
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Date: 23 Apr 1997 11:54:46 +0200
Message-ID: <by7mhu2heh.fsf@midget.math.ethz.ch>
Lines: 319
X-Mailer: Gnus v5.4.37/XEmacs 19.15


I hope this is more understandable

THE BUG

XEmacs-version

   19.15p2 (also occured with p1)
   Solaris 2.5.1
   The world compiled in (especially Sparcworks and tooltalk)

Situtation

   User uses AucTeX to LaTeX his files in a XEmacs subprocess

Problem

   XEmacs doesn't notice the subprocess is finished
   Therfore it does not call the process sentinel function

Occurence

   It occurs only after a certain number of TeX runs.
   This number varies from user to user and from machine to machine

Reproducability

   It is hard to predict when, but it will certainly occur after a
   certian number of TeX runs. 

Characterisation

   Extremely Annoying (close to showstopper)

OTHER INFO

Related symtoms

   Subprocess stays <defunct> in process table, i.e. XEmacs hasn't
   wait()'ed

Trace info

   truss says XEmacs gets a SIGCHILD

Debugging results

   If you attach GDB and do a "signal SIGCHILD" _several times_
   then XEmacs will suddenly notice the child has exited and do the
   appropriate things.

CURRENT SUSPECTS

   XEmacs somehow looses SIGCHILD signals

OTHER XEMACS VERSIONS

  We didn't see this with b104. That could also just be while it was
  used less intensively and the problem is hard to reproduce.

  The differnce between 19.15p2 and b104 apart from the version
  number:
        -O2 in stead of -O2
        -Sparcworks (tooltalk) compiled in
        -more graphics libraries compiled in.

INSTALLATION

- You did not tell me what kind of host system you want to configure.
- I will attempt to guess the kind of system this is.
- Looks like this is a sparc-sun-solaris2.5.1
checking for ln -s
checking the configuration name
checking for gcc
checking how to run the C preprocessor
checking for a BSD compatible install
checking for bison
checking for AIX
checking for mach/mach.h
checking for sys/stropts.h
checking for sys/timeb.h
checking for sys/time.h
checking for unistd.h
checking for utime.h
checking for sys/wait.h
checking for libintl.h
checking for locale.h
checking for libgen.h
checking for linux/version.h
checking for ANSI C header files
checking for whether time.h and sys/time.h may both be included
checking for sys_siglist declaration in signal.h or unistd.h
checking for struct utimbuf
checking for return type of signal handlers
checking for struct timeval
checking for struct tm in time.h
checking for tm_zone in struct tm
checking for tzname
checking for lack of working const
checking byte ordering
checking for long file names
checking for -xildoff compiler flag
checking for specified window system
  No window system specified.  Looking for X11.
checking for X include and library files with xmkmf
  Using X11.
examining the machine- and system-dependent files to find out
 - which libraries the lib-src programs will want, and
 - whether the GNU malloc routines are usable.
checking for -ldnet
checking for -lXbsd
checking for -lpthreads
checking for XFree86
checking for -lX11
checking for -lXau
checking for -lDtSvc
checking for -lDnd
checking the version of X11 being used
checking for X11/Xlocale.h
checking for -lm
checking for -lXpm
checking for -lXmu
checking for compface.h
checking for -lcompface
checking for jpeglib.h
checking for -ljpeg
checking for declaration of h_errno in netdb.h
checking for sigsetjmp
checking whether localtime caches TZ
checking whether cross-compiling
checking for whether gettimeofday can't accept two arguments
checking for whether inline functions are supported
checking for working alloca.h
checking for alloca
checking for pid_t in sys/types.h
checking for vfork.h
checking for working vfork
checking for strcoll
checking size of short
checking size of int
checking size of long
checking for acosh
checking for asinh
checking for atanh
checking for cbrt
checking for closedir
checking for dup2
checking for eaccess
checking for fmod
checking for fpathconf
checking for frexp
checking for ftime
checking for gethostname
checking for getpagesize
checking for gettimeofday
checking for getwd
checking for logb
checking for lrand48
checking for matherr
checking for mkdir
checking for mktime
checking for perror
checking for poll
checking for random
checking for realpath
checking for rename
checking for res_init
checking for rint
checking for rmdir
checking for select
checking for setitimer
checking for setpgid
checking for setlocale
checking for setsid
checking for sigblock
checking for sighold
checking for sigprocmask
checking for strcasecmp
checking for strerror
checking for tzset
checking for utimes
checking for waitpid
checking for mmap
checking for socket
checking for netinet/in.h
checking for arpa/inet.h
checking for sun_len member in struct sockaddr_un
checking for dirent.h
checking how to do terminal I/O
checking for termios.h
checking for nlist.h
checking for -lncurses
checking for -ldb
checking for dbopen
checking for -lgdbm
checking for -ldbm


Configured for `sparc-sun-solaris2.5.1'.

  Where should the build process find the source code?    /a/noether/u/scratch/vroonhof/xemacs-19.15
  What installation prefix should install use?		  /u/scratch/xemacs.binkit
  What operating system and machine description files should XEmacs use?
        `s/sol2-5.h' and `m/sparc.h'
  What compiler should XEmacs be built with?              gcc -O2
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/local/X11/include
  Where do we find X Windows libraries?                   /usr/local/X11/lib
  Additional header files:                                /usr/dt/include /u/scratch/vroonhof/libpng-0.89c /u/scratch/vroonhof/jpeg-6a /u/scratch/vroonhof/zlib /u/scratch/vroonhof/compface
  Additional libraries:                                   /usr/dt/lib /u/scratch/vroonhof/libpng-0.89c /u/scratch/vroonhof/jpeg-6a /u/scratch/vroonhof/compface /usr/dt/lib /u/scratch/jvsoft/lib
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for X-Face headers.
  Compiling in support for GIF image conversion.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in both network and native sound support.
  Compiling in support for DBM.
  Compiling in support for ToolTalk.
  Compiling in support for SparcWorks.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Motif dialog boxes.


creating config.status
creating Makefile
creating lib-src/Makefile.in
creating src/Makefile.in
creating lwlib/Makefile.in
creating dynodump/Makefile.in
creating src/config.h
creating src/Makefile
creating lwlib/Makefile
creating lib-src/Makefile
creating dynodump/Makefile

LOCAL SETUP
site-start.el
     (setq xemacs-site-dir "/u/scratch/xemacs.binkit/")
     (setq old-load-path load-path)
; We don't want Gray dull lifes do we? We revert to white as early as possible
     (set-face-background 'default      "white") 
; Also read global info
     (setq Info-directory-list 
	   (append (list (concat xemacs-site-dir "lib/xemacs/info"))  Info-default-directory-list '("/usr/local/info")))
; Welcome to Europe
     (setq sentence-end-double-space nil)
     (setq ps-paper-type 'a4)
     (require 'x-compose) ;; better have LC_TYPE set right! (doesn't work :-()
; AucTeX
     (require 'tex-site)
     (setq-default TeX-master nil) ;; Most users have multiple file projects
     (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) ;; fascistly force feature on poor user
; Extended menu's
     (load "big-menubar")  ;; we do it again
; Superciting
     (autoload 'sc-cite-original     "supercite" "Supercite 3.1" t)
     (autoload 'sc-submit-bug-report "supercite" "Supercite 3.1" t)

; New GNUS news (& mail) reader
     (setq gnus-default-nntp-server "news")
     (setq gnus-group-faq-directory
	   '("/ftp@ftp.uni-paderborn.de:/pub/FAQ/"
             "/ftp@sunsite.auc.dk:/pub/usenet/"
	     "/ftp@src.doc.ic.ac.uk:/usenet/news-FAQS/"
	     "/ftp@ftp.sunet.se:/pub/usenet/"
	     "/ftp@mirrors.aol.com:/pub/rtfm/usenet/"
	     "/ftp@ftp.seas.gwu.edu:/pub/rtfm/"
	     "/ftp@rtfm.mit.edu:/pub/usenet/"
	     "/ftp@nctuccca.edu.tw:/USENET/FAQ/"
	     "/ftp@hwarang.postech.ac.kr:/pub/usenet/"
	     "/ftp@ftp.hk.super.net:/mirror/faqs/"))
;; Essential mail & news variables
; We have a mail domain
     (setq mail-host-address "math.ethz.ch")
     (setq message-user-organization "ETHZ Mathematik")
     (setq gnus-local-organization "ETHZ Mathematik")
     (setq gnus-use-long-file-name t)
;; Do this untill we have installed mime
  (add-hook 'gnus-article-prepare-hook 'gnus-article-de-quoted-unreadable)

;;  (add-hook 'gnus-parse-headers-hook 'gnus-headers-decode-quoted-printable) ;; need at least september for this

;; some fascist user setting to give non-expecting users the full power
;; of gnus
     (setq gnus-button-url 'gnus-netscape-open-url)
     (setq gnus-check-new-newsgroups 'ask-server)
     (setq gnus-save-killed-list t) 
;; and really fascisit
     (setq gnus-use-nocem t)     ;; Needs gnus 5.2 / september
     (setq gnus-summary-make-false-root 'dummy)
     (setq gnus-fetch-old-headers 'some)
     (setq gnus-use-adaptive-scoring t)

; Printing on Solaris also via BSD printing system
     (setq lpr-command "lpr")
;
;  Some facist 19.1 defaults
;
;   (setq-default browse-url-browser-function 'browse-url-netscape)
    (load "jvsound")
    (cond ((device-sound-enabled-p)
	      (load-jv-sounds)))

;          (cond ((getenv "DISPLAY")
;	   (cond ((string-match "^:0" (getenv "DISPLAY"))
;		   (load-jv-sounds)))
;	   )
;   )
;
; prf stuff
(load "prf-autoload")




