unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#726: 23.0.60; OSX: Complete OS crash
@ 2008-08-15 16:58 Markus Triska
  2008-08-15 19:41 ` Stefan Monnier
       [not found] ` <mailman.16850.1218830853.18990.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Triska @ 2008-08-15 16:58 UTC (permalink / raw)
  To: emacs-pretest-bug

Let open7.el consist of the form:

   (let ((n 0))
     (while t
       (setq n (1+ n))
       (message "iteration: %s" n)
       (delete-process (start-process "bc" nil "bc"))))

When I do:

   $ emacs -Q --script open7.el

The whole OS crashes within about 500 iterations, and a gray box is
displayed stating that I must restart the computer. A shell script
that continuously starts and kills bc runs for long without problem:

   while true
   do
       bc &
       killall -9 bc
   done


In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
 of 2008-08-15 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
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: en.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#726: 23.0.60; OSX: Complete OS crash
  2008-08-15 16:58 bug#726: 23.0.60; OSX: Complete OS crash Markus Triska
@ 2008-08-15 19:41 ` Stefan Monnier
       [not found] ` <mailman.16850.1218830853.18990.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2008-08-15 19:41 UTC (permalink / raw)
  To: Markus Triska; +Cc: emacs-pretest-bug, 726

> The whole OS crashes within about 500 iterations, and a gray box is
> displayed stating that I must restart the computer. A shell script
> that continuously starts and kills bc runs for long without problem:

Does it die because of run-away processes or memory exhaustion?
If not, it's an OS bug.


        Stefan








^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#726: 23.0.60; OSX: Complete OS crash
       [not found] ` <mailman.16850.1218830853.18990.bug-gnu-emacs@gnu.org>
@ 2008-08-15 21:36   ` Markus Triska
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Triska @ 2008-08-15 21:36 UTC (permalink / raw)
  To: gnu-emacs-bug

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Does it die because of run-away processes or memory exhaustion?

Most certainly not, since I have seen crashes within only 150
iterations. Note that only one subprocess is run at any time. When I do
not delete the subprocesses, there can be more than 1000 of them. I will
try to trace it down further. So far, when I slow down the program to
observe it more closely, the problem disappears. Also, I found that
today's Emacs 22.2.90 works for a long time without producing a crash on
the same program and system, while I can produce a crash with 23.0.60
every time in a few seconds.







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-15 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-15 16:58 bug#726: 23.0.60; OSX: Complete OS crash Markus Triska
2008-08-15 19:41 ` Stefan Monnier
     [not found] ` <mailman.16850.1218830853.18990.bug-gnu-emacs@gnu.org>
2008-08-15 21:36   ` Markus Triska

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).